refactor: add registeredBranchId

This commit is contained in:
Thanaphon Frappet 2024-10-15 17:15:51 +07:00
parent 2fe37da69f
commit 6828a42a45

View file

@ -200,6 +200,8 @@ export type Quotation = {
statusOrder: number;
status: Status;
registeredBranchId: string;
customerBranchId: string;
customerBranch: CustomerBranchRelation;
@ -261,6 +263,7 @@ export type QuotationFull = {
status: Status;
customerBranchId: string;
registeredBranchId: string;
createdByUserId: string;
createdAt: string | Date;
@ -282,6 +285,8 @@ export type QuotationPayload = {
service?: ServiceRelation | null;
}[];
customerBranchId: string;
registeredBranchId: string;
registeredBranch: { id: string; name: string };
urgent: boolean;
worker: EmployeeWorker[];
_count: { worker: number };