fix : correction de l'enregistrement des pesées sur l'admin

This commit is contained in:
2026-02-25 10:30:41 +01:00
parent 586f122e3b
commit 141f174d0a
4 changed files with 134 additions and 190 deletions

View File

@@ -44,6 +44,8 @@ export interface WeightEntryData {
export interface WeightFormData {
id: number
weight: number
weighedAt : string
dsd: number
type: 'gross' | 'tare'
}
@@ -80,6 +82,7 @@ export type ReceptionFormData = {
carrierId: string
driverId: string
vehicleId: string
weight?: ReceptionFormWeight | null
}
export type ReceptionFormWeight = {