mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
add GL operations for customs risk assignment, duty advising, and incident reporting
This commit is contained in:
@@ -262,4 +262,17 @@ export const contractsService = {
|
||||
const { data } = await client.get(C.BOOKING_MILESTONES(bookingId));
|
||||
return data.data ?? data;
|
||||
},
|
||||
|
||||
/** Customer uploads the duty/tax payment slip (doc-triggers DUTY_TAX_PAID). */
|
||||
uploadDutySlip: async (
|
||||
bookingId: string,
|
||||
file: File,
|
||||
): Promise<{ milestoneCompleted: boolean }> => {
|
||||
const form = new FormData();
|
||||
form.append("duty_tax_receipt", file);
|
||||
const { data } = await client.post(C.BOOKING_DUTY_SLIP(bookingId), form, {
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
});
|
||||
return data.data ?? data;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user