Merge pull request #967 from Tria-plc/freight_feature/usermanagement

Freight feature/usermanagement
This commit is contained in:
marshal
2026-07-26 22:20:01 +03:00
committed by GitHub
21 changed files with 418 additions and 129 deletions

View File

@@ -203,10 +203,12 @@ export const contractsService = {
id: string,
validityDays: number,
documentSnapshot?: Freight.IContractDocumentSnapshot,
window?: { validFrom?: string; validUntil?: string },
) =>
postContract<Freight.IContract>(C.STAFF_ACCEPT(id), {
validityDays,
documentSnapshot,
...window,
}),
/** The editable per-contract document draft (snapshot or live template). */