refactor: add name field for custom insallment type
This commit is contained in:
parent
2558122a6b
commit
a1a3032775
1 changed files with 3 additions and 1 deletions
|
|
@ -207,6 +207,7 @@ export type Quotation = {
|
||||||
no: number;
|
no: number;
|
||||||
invoiceId: string;
|
invoiceId: string;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
name?: string;
|
||||||
}[];
|
}[];
|
||||||
payCondition:
|
payCondition:
|
||||||
| 'Full'
|
| 'Full'
|
||||||
|
|
@ -290,6 +291,7 @@ export type QuotationFull = {
|
||||||
paySplit: {
|
paySplit: {
|
||||||
no: number;
|
no: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
name?: string;
|
||||||
invoice: Invoice;
|
invoice: Invoice;
|
||||||
invoiceId: string;
|
invoiceId: string;
|
||||||
}[];
|
}[];
|
||||||
|
|
@ -352,7 +354,7 @@ export type QuotationPayload = {
|
||||||
_count: { worker: number };
|
_count: { worker: number };
|
||||||
discount?: number;
|
discount?: number;
|
||||||
payBillDate?: Date | null;
|
payBillDate?: Date | null;
|
||||||
paySplit: { no: number; amount: number; invoice?: boolean }[];
|
paySplit: { no: number; amount: number; name?: string; invoice?: boolean }[];
|
||||||
paySplitCount?: number | null; // int
|
paySplitCount?: number | null; // int
|
||||||
payCondition:
|
payCondition:
|
||||||
| 'Full'
|
| 'Full'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue