feat(pl): optional escort selection on transport arrange
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3dc71788d4
commit
ca3062b0e2
10 files changed
+339
-10
No files matched your search
@@ -99,6 +99,7 @@ export interface BuildArrangePayloadInput {
|
||||
plan: Plan
|
||||
vehicleId: string
|
||||
driverId: string
|
||||
escortId: string
|
||||
carrierId: string
|
||||
loadForm: PlanLoadForm
|
||||
deliveryForms: PlanDeliveryForm[]
|
||||
@@ -128,6 +129,7 @@ export function buildArrangePayloadFromPlanForm(input: BuildArrangePayloadInput)
|
||||
return {
|
||||
vehicleId: input.vehicleId,
|
||||
driverId: input.driverId || undefined,
|
||||
escortId: input.escortId || undefined,
|
||||
carrierId: input.carrierId || undefined,
|
||||
pickupAddress: input.loadForm.address || undefined,
|
||||
pickupLng: input.loadForm.lng,
|
||||
|
||||
Reference in new issue
Block a user