mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 00:38:11 +00:00
increase JSON body size limit, update awaiting shipment endpoint handling, and enhance contract document editor UI
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user