add GL operations for customs risk assignment, duty advising, and incident reporting

This commit is contained in:
Marshal
2026-06-28 16:09:45 +00:00
parent 7c744352d1
commit e1d54746c2
31 changed files with 1879 additions and 29 deletions

View File

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