Skip to content

Commit 1692389

Browse files
committed
feat(pages): list record_finance_review in the contract header
A custom record page replaces the default header, so a declared action is reachable from the record only once the page names it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017nzWFRUo2U7evMkPdVniAn
1 parent f569529 commit 1692389

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/pages/contract_detail.page.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ export const ContractDetailPage: Page = {
115115
* header, so an action not named here is unreachable from the record —
116116
* MEASURED: `start_renewal` was declared, translated and wired to its flow
117117
* and still had no button on the contract page until it was named here.
118+
* `record_finance_review` (记录财务审查) is the same: declared on the
119+
* object, reachable only once listed here.
118120
*/
119121
header: {
120122
type: 'page:header',
@@ -131,6 +133,10 @@ export const ContractDetailPage: Page = {
131133
'activate_contract',
132134
'terminate_contract',
133135
'start_renewal',
136+
// Finance's own review while the contract is in review or in
137+
// approval (issue #190, ruling D). Not a status write: it files the
138+
// caller's finance-stage review and leaves the contract as it is.
139+
'record_finance_review',
134140
],
135141
},
136142
},

0 commit comments

Comments
 (0)