feat: add missing field

This commit is contained in:
Methapon2001 2024-04-23 18:09:08 +07:00
parent 21aeacfaf3
commit 7627b51a25
4 changed files with 79 additions and 22 deletions

View file

@ -31,6 +31,7 @@ export type CustomerCreate = {
customerType: CustomerType;
customerName: string;
customerNameEN: string;
taxNo?: string;
customerBranch?: Omit<CustomerBranchCreate, "customerId">[];
};
@ -39,6 +40,7 @@ export type CustomerUpdate = {
customerType?: CustomerType;
customerName?: string;
customerNameEN?: string;
taxNo?: string;
customerBranch?: (Omit<CustomerBranchUpdate, "customerId"> & { id: string })[];
};