[C28-33][@ant] feat(expense): per-позиционная механика оплаты — operation_code удалён из proposal/createexp/createpgexp, ledger2-код выводится из item.mechanics при payexp; в одном СЗ смешиваются аванс и прямая оплата; UI — селект способа на каждой позиции
This commit is contained in:
@@ -935,9 +935,7 @@ export interface ICreatepgexp {
|
||||
coopname: IName
|
||||
expense_hash: IChecksum256
|
||||
creator: IName
|
||||
/** Ledger2-код операции расхода: `o.exp.blgadv` (аванс) либо `o.exp.blgdir` (прямая оплата). */
|
||||
operation_code: IName
|
||||
/** Позиции СЗ-расхода (Expense.IItem из шасси). */
|
||||
/** Позиции СЗ-расхода (Expense.IItem из шасси); механика оплаты — per-item (mechanics: ADVANCE | DIRECT). */
|
||||
items: IExpenseProposalItem[]
|
||||
description: string
|
||||
statement: IDocument2
|
||||
|
||||
@@ -72,7 +72,6 @@ export interface ICreateexp {
|
||||
coopname: IName
|
||||
username: IName
|
||||
proposal_hash: IChecksum256
|
||||
operation_code: IName
|
||||
source_wallet: IName
|
||||
items: IItem[]
|
||||
callback: ICallbackHandler
|
||||
@@ -163,7 +162,6 @@ export interface IProposal {
|
||||
id: IUint64
|
||||
proposal_hash: IChecksum256
|
||||
username: IName
|
||||
operation_code: IName
|
||||
source_wallet: IName
|
||||
/** ProposalStatus (CREATED=0, AUTHORIZED=1, PARTIALLY_PAID=2, REPORT_SUBMITTED=3, CLOSED=4, DECLINED=5). */
|
||||
status: IUint8
|
||||
|
||||
Reference in New Issue
Block a user