increase JSON body size limit, update awaiting shipment endpoint handling, and enhance contract document editor UI

This commit is contained in:
Marshal
2026-07-28 06:16:56 +00:00
parent f40a079420
commit 8319aad5c3
7 changed files with 101 additions and 127 deletions

View File

@@ -53,17 +53,9 @@ export function useContractClearanceQueue(enabled = true) {
});
}
/**
* GL worklist: executed customs contracts still waiting for their shipment
* instance to be opened (clearance itself lives on the booking).
*/
export function useAwaitingShipmentContracts(enabled = true) {
return useQuery({
queryKey: QUERY_KEYS.CONTRACTS.clearanceQueue("AWAITING_SHIPMENT"),
queryFn: () => contractsService.getAwaitingShipmentContracts(),
enabled,
});
}
// The awaiting-shipment worklist hook was removed with the clearance hub's
// "Start shipment" dialog — nothing calls GET /contracts/awaiting-shipment any
// more. The endpoint still exists server-side if the worklist comes back.
export function useContractClearanceHistory(enabled = true) {
return useQuery({