mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 01:18:18 +00:00
Warehouse and customer truck edit and KG to Tons
This commit is contained in:
@@ -23,6 +23,15 @@ export const customerTrucksService = {
|
||||
return data.data ?? data;
|
||||
},
|
||||
|
||||
update: async (
|
||||
bookingId: string,
|
||||
assignmentId: string,
|
||||
payload: Freight.AddCustomerTruckPayload,
|
||||
): Promise<Freight.ICustomerTruck[]> => {
|
||||
const { data } = await client.patch(B.CUSTOMER_TRUCK(bookingId, assignmentId), payload);
|
||||
return data.data ?? data;
|
||||
},
|
||||
|
||||
remove: async (
|
||||
bookingId: string,
|
||||
assignmentId: string,
|
||||
|
||||
Reference in New Issue
Block a user