[C28-33][@ant] fix(expense): proposal_hash в meta документа 2010 — приведено к канону 2011 (поле в Action/Model cooptypes + Base-meta DTO + JSONSchema шаблона + фабрика кладёт в combinedData + фронт передаёт при генерации); раньше proposal_hash был только в signed-DTO → подписанный документ не проходил валидацию «Field proposal_hash not provided»
This commit is contained in:
@@ -24,6 +24,7 @@ export interface IExpenseProposalHeader {
|
||||
}
|
||||
|
||||
export interface Action extends IGenerate {
|
||||
proposal_hash: string
|
||||
proposal: IExpenseProposalHeader
|
||||
items: IExpenseItem[]
|
||||
}
|
||||
@@ -35,6 +36,7 @@ export interface Model {
|
||||
coop: ICooperativeData
|
||||
user: ICommonUser
|
||||
vars: IVars
|
||||
proposal_hash: string
|
||||
proposal: IExpenseProposalHeader
|
||||
items: IExpenseItem[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user