refactor: edit type quotation
This commit is contained in:
parent
4a6a97a413
commit
fd51b9abec
2 changed files with 27 additions and 8 deletions
|
|
@ -153,7 +153,6 @@ type ServiceRelation = {
|
|||
|
||||
export type Quotation = {
|
||||
_count: { worker: number };
|
||||
|
||||
id: string;
|
||||
finalPrice: number;
|
||||
vat: number;
|
||||
|
|
@ -189,7 +188,6 @@ export type Quotation = {
|
|||
|
||||
export type QuotationFull = {
|
||||
_count: { worker: number };
|
||||
|
||||
worker: {
|
||||
id: string;
|
||||
quotationId: string;
|
||||
|
|
@ -254,7 +252,7 @@ export type QuotationPayload = {
|
|||
customerBranchId: string;
|
||||
urgent: boolean;
|
||||
worker: EmployeeWorker[];
|
||||
workerCount: number;
|
||||
_count: { worker: number };
|
||||
payBillDate?: Date | null;
|
||||
paySplit: { no: number; date: string | Date; amount: number }[];
|
||||
paySplitCount?: number | null; // int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue