mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
dynamic contract templates and companyId on bookings
This commit is contained in:
@@ -10,6 +10,7 @@ export function assertFreightShape(input: BookingFreightShapeInput): void {
|
||||
`freightType is required and must be one of: ${FREIGHT_TYPES.join(', ')}`,
|
||||
);
|
||||
}
|
||||
//
|
||||
|
||||
const containers = input.containers ?? [];
|
||||
const hasContainers = containers.length > 0;
|
||||
|
||||
Reference in New Issue
Block a user