Skip to content

Commit b390c47

Browse files
authored
Merge pull request #666 from Crown-Commercial-Service/development
DEV to UAT
2 parents 55ce5f5 + 9737d61 commit b390c47

File tree

2,952 files changed

+114881
-236950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,952 files changed

+114881
-236950
lines changed

public/search-api/frameworks.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ function get_upcoming_deals()
122122
$underwayFrameworks = [];
123123
$awardedFrameworks = [];
124124
$dynamicFrameworks = [];
125+
$marketFrameworks = [];
125126

126127

127128
foreach ($frameworks as $framework) {
@@ -154,6 +155,11 @@ function get_upcoming_deals()
154155
if ($framework->getStatus() === 'Live' && $framework->getTerms() === 'DPS') {
155156
$dynamicFrameworks[] = $framework->toArray();
156157
}
158+
159+
if ($framework->getStatus() === 'Live' && $framework->getRegulationType() === 'Dynamic Market') {
160+
$marketFrameworks[] = $framework->toArray();
161+
}
162+
157163
}
158164
}
159165

@@ -163,7 +169,8 @@ function get_upcoming_deals()
163169
$plannedFrameworks,
164170
$underwayFrameworks,
165171
$awardedFrameworks,
166-
$dynamicFrameworks
172+
$dynamicFrameworks,
173+
$marketFrameworks
167174
);
168175

169176
return $upcomingAgreements;

public/wp-content/plugins/ccs-salesforce/includes/wp-rest-api/CustomUpcomingDealsApi.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,22 @@ public function get_upcoming_deals()
8484
endwhile;
8585
endif;
8686

87+
$table5 = [];
88+
if (have_rows('table_5', 'option')):
89+
while (have_rows('table_5', 'option')): the_row();
90+
$table5['title'] = get_sub_field('title');
91+
$table5['caption'] = get_sub_field('caption');
92+
endwhile;
93+
endif;
94+
8795
return [
8896
'upcomingDealsInfo' => $upcomingDealsInfo,
8997
'table_0' => $table0,
9098
'table_1' => $table1,
9199
'table_2' => $table2,
92100
'table_3' => $table3,
93101
'table_4' => $table4,
102+
'table_5' => $table5,
94103
];
95104
}
96105

public/wp-content/plugins/publishpress/CONTRIBUTING.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

public/wp-content/plugins/publishpress/common/css/pressshack-admin.css

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @package PublishPress
33
* @author PublishPress
44
*
5-
* Copyright (c) 2018 PublishPress
5+
* Copyright (c) 2022 PublishPress
66
*
77
* ------------------------------------------------------------------------------
88
* Based on Edit Flow
@@ -147,25 +147,6 @@
147147
border-style: solid;
148148
}
149149

150-
.pressshack-admin-wrapper .button-primary {
151-
background-color: #FFB300;
152-
border-color: #C58C07;
153-
color: #754D26;
154-
}
155-
156-
.pressshack-admin-wrapper .button-primary:hover,
157-
.pressshack-admin-wrapper .button-primary:active,
158-
.pressshack-admin-wrapper .button-primary:focus {
159-
background-color: #F3AC04;
160-
border-color: #C58C07;
161-
color: #333;
162-
outline: none;
163-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
164-
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
165-
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
166-
-o-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
167-
}
168-
169150
.pressshack-admin-wrapper .button:not(.notice-dismiss):hover,
170151
.pressshack-admin-wrapper .button:not(.notice-dismiss):active,
171152
.pressshack-admin-wrapper .button:not(.notice-dismiss):focus {

0 commit comments

Comments
 (0)