chore: update type

This commit is contained in:
Methapon Metanipat 2024-10-04 11:54:01 +07:00
parent 2ce41bf9af
commit 76e7617d95

View file

@ -160,7 +160,6 @@ export type Quotation = {
totalDiscount: number;
totalPrice: number;
urgent: boolean;
workerCount: number;
payBillDate: string | Date;
paySplitCount: number;
paySplit: {
@ -189,6 +188,8 @@ export type Quotation = {
};
export type QuotationFull = {
_count: { worker: number };
worker: {
id: string;
quotationId: string;
@ -217,7 +218,6 @@ export type QuotationFull = {
totalDiscount: number;
totalPrice: number;
urgent: boolean;
workerCount: number;
payBillDate: string | Date | null;
paySplitCount: number | null;
paySplit: { no: number; date: string | Date; amount: number }[];