Implement intercity document handling and rejection notes for contracts

This commit is contained in:
Marshal
2026-07-21 10:15:18 +00:00
parent 603537a20b
commit ceb32e0a80
16 changed files with 287 additions and 23 deletions

View File

@@ -654,6 +654,18 @@ export interface IContract extends BaseEntity {
* exactly what to fix before resubmitting.
*/
latestChangeRequestNote?: string | null;
/**
* Body of the latest REJECTION review note (detail response only, when
* status is REJECTED). Shows staff and customer why the contract was
* rejected.
*/
latestRejectionNote?: string | null;
/**
* Body of the latest send-back STAFF_NOTE (detail response only, while the
* contract is PENDING_APPROVAL and no step has acted since the send-back).
* Tells the returned-to approver why the chain came back to them.
*/
latestSendBackNote?: string | null;
clearanceStatus: ContractClearanceStatus;
clearanceCycleNumber: number;
/**