feat: adjust payment page (#31)
* feat: add installment no label * feat: update types * refactor: add i18n * refactor: view receipt * refactor: add type * refactor: add dateFormatTh * fixup! refactor: add i18n * fixup! refactor: add dateFormatTh * refactor: use dateFormatJS in monthDisplay * refactor: handle year th-TH * ลบ log * refactor: handle color view mod
This commit is contained in:
parent
e273ad1015
commit
0986200910
9 changed files with 201 additions and 92 deletions
|
|
@ -6,7 +6,7 @@ export type Invoice = {
|
|||
|
||||
amount: number;
|
||||
|
||||
productServiceList: QuotationFull['productServiceList'];
|
||||
installements: QuotationFull['paySplit'];
|
||||
|
||||
quotation: Quotation;
|
||||
|
||||
|
|
@ -18,8 +18,6 @@ export type Invoice = {
|
|||
export type InvoicePayload = {
|
||||
quotationId: string;
|
||||
amount: number;
|
||||
// NOTE: For individual list that will be include in the quotation
|
||||
productServiceListId?: string[];
|
||||
// NOTE: Will be pulled from quotation
|
||||
installmentNo?: number[];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue