dynamic contract templates and companyId on bookings

This commit is contained in:
marshal
2026-06-04 16:57:07 +03:00
parent 8fea963ddb
commit 810bbc1168

View File

@@ -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;