refactor: add type invoice id

This commit is contained in:
Thanaphon Frappet 2024-11-27 09:20:24 +07:00
parent 60c2745627
commit e7cb52d482

View file

@ -357,7 +357,13 @@ export type QuotationPayload = {
_count: { worker: number };
discount?: number;
payBillDate?: Date | null;
paySplit: { no: number; amount: number; name?: string; invoice?: boolean }[];
paySplit: {
no: number;
amount: number;
name?: string;
invoice?: boolean;
invoiceId?: string;
}[];
paySplitCount?: number | null; // int
payCondition:
| 'Full'