diff --git a/src/components/BackOffice/Components/NewSORCode/__snapshots__/index.test.js.snap b/src/components/BackOffice/Components/NewSORCode/__snapshots__/index.test.js.snap index 55bfd6f05..677bd5c5b 100644 --- a/src/components/BackOffice/Components/NewSORCode/__snapshots__/index.test.js.snap +++ b/src/components/BackOffice/Components/NewSORCode/__snapshots__/index.test.js.snap @@ -56,7 +56,7 @@ exports[`NewSORCode component should render the component 1`] = ` min="0" name="sor-code-cost-input" placeholder="Example: 10.47" - step="0.1" + step="0.01" type="number" value="25.5" /> diff --git a/src/components/BackOffice/Components/NewSORCode/index.js b/src/components/BackOffice/Components/NewSORCode/index.js index 3ab4f0906..81f65e8cb 100644 --- a/src/components/BackOffice/Components/NewSORCode/index.js +++ b/src/components/BackOffice/Components/NewSORCode/index.js @@ -38,7 +38,7 @@ const NewSORCode = ({ value={sorCode.cost} type="number" min={0} - step={0.1} + step={0.01} onChange={(e) => handleSORCodeFieldChange(e, sorCode.id, 'cost')} error={errors?.cost && { message: 'Please enter cost value' }} /> diff --git a/src/components/ContractsDashboard/Contract/__snapshots__/ContractListItems.test.js.snap b/src/components/ContractsDashboard/Contract/__snapshots__/ContractListItems.test.js.snap index bb9467fa9..c5a5f0698 100644 --- a/src/components/ContractsDashboard/Contract/__snapshots__/ContractListItems.test.js.snap +++ b/src/components/ContractsDashboard/Contract/__snapshots__/ContractListItems.test.js.snap @@ -77,7 +77,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035
@@ -115,7 +115,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035 @@ -153,7 +153,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035 @@ -191,7 +191,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035 @@ -229,7 +229,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035 @@ -267,7 +267,7 @@ exports[`Contractors list items component should render active contracts with re - 9 Jan 2026 + 9 Jan 2035 diff --git a/src/components/ContractsDashboard/Contractor/__snapshots__/ContractorView.test.js.snap b/src/components/ContractsDashboard/Contractor/__snapshots__/ContractorView.test.js.snap index e807217b9..c4d272305 100644 --- a/src/components/ContractsDashboard/Contractor/__snapshots__/ContractorView.test.js.snap +++ b/src/components/ContractsDashboard/Contractor/__snapshots__/ContractorView.test.js.snap @@ -93,7 +93,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -131,7 +131,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -169,7 +169,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -207,7 +207,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -245,7 +245,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -283,7 +283,7 @@ exports[`Contracts dashboard component should render component with sor code con - 9 Jan 2026 + 9 Jan 2035 @@ -639,7 +639,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 @@ -677,7 +677,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 @@ -715,7 +715,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 @@ -753,7 +753,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 @@ -791,7 +791,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 @@ -829,7 +829,7 @@ exports[`Contracts dashboard component should render the component without displ - 9 Jan 2026 + 9 Jan 2035 diff --git a/src/components/ContractsDashboard/mockContractsData.js b/src/components/ContractsDashboard/mockContractsData.js index 3dfc2dcbb..d8a70a0d6 100644 --- a/src/components/ContractsDashboard/mockContractsData.js +++ b/src/components/ContractsDashboard/mockContractsData.js @@ -246,7 +246,7 @@ export const mockActiveContracts = [ }, { contractReference: '127-127-1277', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2023-09-15T23:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -257,7 +257,7 @@ export const mockActiveContracts = [ { contractReference: '128-128-1288', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2024-01-04T00:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -267,7 +267,7 @@ export const mockActiveContracts = [ }, { contractReference: '129-129-1299', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2024-08-01T00:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -277,7 +277,7 @@ export const mockActiveContracts = [ }, { contractReference: '130-130-1300', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2024-08-01T00:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -287,7 +287,7 @@ export const mockActiveContracts = [ }, { contractReference: '131-131-1311', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2022-09-18T23:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -297,7 +297,7 @@ export const mockActiveContracts = [ }, { contractReference: '132-132-1322', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2024-03-26T00:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', @@ -383,7 +383,7 @@ export const mockSorCodeContracts = [ }, { contractReference: '132-132-1322', - terminationDate: '2026-01-09T15:38:48.061Z', + terminationDate: '2035-01-09T15:38:48.061Z', effectiveDate: '2024-03-26T00:00:00Z', contractorReference: 'SYC', contractorName: 'Sycous Limited', diff --git a/src/components/Property/RaiseWorkOrder/__snapshots__/RaiseWorkOrderForm.test.js.snap b/src/components/Property/RaiseWorkOrder/__snapshots__/RaiseWorkOrderForm.test.js.snap index fba4bba96..b1c5ceb21 100644 --- a/src/components/Property/RaiseWorkOrder/__snapshots__/RaiseWorkOrderForm.test.js.snap +++ b/src/components/Property/RaiseWorkOrder/__snapshots__/RaiseWorkOrderForm.test.js.snap @@ -1332,4 +1332,4 @@ exports[`RaiseWorkOrderForm component should render without possibility to choos -`; +`; \ No newline at end of file