mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 06:40:57 +00:00
Merge pull request #503 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
This commit is contained in:
@@ -185,6 +185,16 @@ export const contractsService = {
|
||||
requiredRole,
|
||||
}),
|
||||
|
||||
rejectStep: ({
|
||||
id,
|
||||
stepId,
|
||||
reason,
|
||||
}: {
|
||||
id: string;
|
||||
stepId: string;
|
||||
reason: string;
|
||||
}) => postContract<Freight.IContract>(C.REJECT_STEP(id, stepId), { reason }),
|
||||
|
||||
// ── Contract document ──
|
||||
generateContract: (id: string) =>
|
||||
postContract<Freight.IContract>(C.CONTRACT_GENERATE(id)),
|
||||
|
||||
Reference in New Issue
Block a user