refactor(firstleg): remove customer scope from trucking
This commit is contained in:
@@ -114,14 +114,12 @@ export function truckAppointmentFieldGaps(record) {
|
||||
return gaps(record, {
|
||||
id: isPositiveId,
|
||||
appointmentNo: isNonBlank,
|
||||
oceanBookingId: (value) => value == null || isPositiveId(value),
|
||||
containerBookingId: (value) => value == null || isPositiveId(value),
|
||||
oceanBookingId: isPositiveId,
|
||||
containerBookingId: isPositiveId,
|
||||
loadingPlanId: (value) => value == null || isPositiveId(value),
|
||||
warehouseId: (value) => value == null || isPositiveId(value),
|
||||
plannedLoadingAt: isIsoDateTime,
|
||||
status: isNonBlank,
|
||||
customerId: isPositiveId,
|
||||
customerName: isNonBlank,
|
||||
carrierId: isPositiveId,
|
||||
carrierName: isNonBlank,
|
||||
attachmentCount: isNonNegativeNumber,
|
||||
|
||||
Reference in New Issue
Block a user