Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/BackOffice/Components/NewSORCode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -115,7 +115,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -153,7 +153,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -191,7 +191,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -267,7 +267,7 @@ exports[`Contractors list items component should render active contracts with re
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -131,7 +131,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -169,7 +169,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -207,7 +207,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -245,7 +245,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -283,7 +283,7 @@ exports[`Contracts dashboard component should render component with sor code con
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -639,7 +639,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -677,7 +677,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -715,7 +715,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -753,7 +753,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -791,7 +791,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down Expand Up @@ -829,7 +829,7 @@ exports[`Contracts dashboard component should render the component without displ
<span
style="font-weight: 600;"
>
9 Jan 2026
9 Jan 2035
</span>
</p>
</div>
Expand Down
14 changes: 7 additions & 7 deletions src/components/ContractsDashboard/mockContractsData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1332,4 +1332,4 @@ exports[`RaiseWorkOrderForm component should render without possibility to choos
</div>
</div>
</DocumentFragment>
`;
`;
Loading