ccs-digitalmarketplace-frameworks 5.1.35 → 5.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/frameworks/g-cloud-15/questions/additional-lot-questions/carbonReduction.yml +4 -4
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan1000000.yml +3 -1
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan250000.yml +3 -1
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan2500000.yml +3 -1
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan500000.yml +3 -1
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan5000000.yml +3 -1
- package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesOver5000000.yml +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,7 @@ Question keys
|
|
|
63
63
|
* `max_value` integer, sets the maximum value for number questions (default 100)
|
|
64
64
|
* `integer_only` boolean, when `true` makes the number question accept only integer values instead of numbers
|
|
65
65
|
* `format` sets JSON schema 'format' property for text questions (eg `email`, `uri`)
|
|
66
|
+
* `max_decimal_places` sets a limit to the number of decimal places allowed if `integer_only` is not set to `true`
|
|
66
67
|
* `number_of_items` sets the maximum number of items
|
|
67
68
|
* for list questions, the add button becomes "Add another (N remaining)", and the default is 10
|
|
68
69
|
* for checkboxes and checkbox tree questions, by default any number can be checked, but this sets a maximum number
|
|
@@ -2,7 +2,7 @@ name: Trading less than 12 months
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
question: >
|
|
5
|
-
<p class="govuk-body">Public procurement of contracts with an annual contract value of £5 million and
|
|
5
|
+
<p class="govuk-body">Public procurement of contracts with an annual contract value of £5 million and
|
|
6
6
|
above should take into account suppliers' carbon reduction plans (CRP) and commitment to Net Zero by 2050. This Policy is set out in detail in <a class="govuk-link" href="https://www.gov.uk/government/publications/ppn-006-taking-account-of-carbon-reduction-plans-in-the-procurement-of-major-government-contracts" target="_blank">PPN 006 (opens in new tab)</a>.
|
|
7
7
|
</p>
|
|
8
8
|
|
|
@@ -86,9 +86,9 @@ question: >
|
|
|
86
86
|
</li>
|
|
87
87
|
</ul>
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
<p class="govuk-label--m">
|
|
91
|
-
Have you been trading for less than 12 months
|
|
91
|
+
Have you been trading for less than 12 months?
|
|
92
92
|
</p>
|
|
93
93
|
|
|
94
94
|
depends:
|
|
@@ -115,4 +115,4 @@ followup:
|
|
|
115
115
|
|
|
116
116
|
validations:
|
|
117
117
|
- name: answer_required
|
|
118
|
-
message: You must select an option
|
|
118
|
+
message: You must select an option
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan1000000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan250000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan2500000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan500000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesLessThan5000000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|
package/frameworks/g-cloud-15/questions/lot-pricing-questions/discountPercentagesOver5000000.yml
CHANGED
|
@@ -13,10 +13,12 @@ unit_position: "after"
|
|
|
13
13
|
limits:
|
|
14
14
|
min_value: 0
|
|
15
15
|
max_value: 100
|
|
16
|
-
|
|
16
|
+
max_decimal_places: 2
|
|
17
17
|
|
|
18
18
|
validations:
|
|
19
19
|
- name: answer_required
|
|
20
20
|
message: You must provide a percentage discount between 0 and 100
|
|
21
21
|
- name: not_a_number
|
|
22
22
|
message: You must provide a percentage discount between 0 and 100
|
|
23
|
+
- name: exceeded_allowed_decimal_places
|
|
24
|
+
message: The percentage must have a maximum of 2 decimal places
|