fix the booking and contract
Build & Push / Pipeline Tests (push) Failing after 1m31s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 55s
Test / API Unit Tests (push) Successful in 1m8s
Test / Homepage Unit Tests (push) Successful in 47s
Test / Carplace Unit Tests (push) Successful in 44s
Test / Admin Unit Tests (push) Successful in 43s
Test / Dashboard Unit Tests (push) Failing after 46s
Test / API Integration Tests (push) Successful in 1m7s

This commit is contained in:
root
2026-07-27 23:04:26 -04:00
parent 8046a1d447
commit 5649ab02c7
40 changed files with 1699 additions and 1066 deletions
@@ -61,6 +61,8 @@ export function createInitialDraft(): ReservationDraft {
payment: {
depositAmount: '0',
paymentMode: 'CASH',
spareWheel: false,
radioCd: false,
notes: '',
},
additionalDrivers: [],
@@ -75,7 +77,7 @@ export type ReservationDraftAction =
| { type: 'updateIdentity'; field: keyof ReservationDraft['identity']; value: string }
| { type: 'updateLicense'; field: keyof ReservationDraft['license']; value: any }
| { type: 'updateRental'; field: keyof ReservationDraft['rental']; value: string }
| { type: 'updatePayment'; field: keyof ReservationDraft['payment']; value: string }
| { type: 'updatePayment'; field: keyof ReservationDraft['payment']; value: string | boolean }
| { type: 'addAdditionalDriver' }
| { type: 'removeAdditionalDriver'; id: string }
| { type: 'updateAdditionalDriver'; id: string; field: keyof AdditionalDriverDraft; value: any }