fix: add missing field

This commit is contained in:
Methapon2001 2024-04-24 10:02:37 +07:00
parent 1e8ef2114c
commit a5d59c6e8b
2 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@ export type CustomerBranchCreate = {
legalPersonNo: string;
taxNo: string;
taxNo: string | null;
name: string;
nameEN: string;
addressEN: string;
@ -44,8 +44,6 @@ export type CustomerBranchCreate = {
zipCode: string;
email: string;
telephoneNo: string;
longitude: string;
latitude: string;
registerName: string;
registerDate: Date;
@ -53,7 +51,9 @@ export type CustomerBranchCreate = {
employmentOffice: string;
bussinessType: string;
bussinessTypeEN: string;
jobPosition: string;
jobPositionEN: string;
jobDescription: string;
saleEmployee: string;
payDate: string;
@ -71,7 +71,7 @@ export type CustomerBranchUpdate = {
legalPersonNo?: string;
taxNo?: string;
taxNo?: string | null;
name?: string;
nameEN?: string;
addressEN?: string;
@ -79,8 +79,6 @@ export type CustomerBranchUpdate = {
zipCode?: string;
email?: string;
telephoneNo?: string;
longitude?: string;
latitude?: string;
registerName?: string;
registerDate?: Date;
@ -88,7 +86,9 @@ export type CustomerBranchUpdate = {
employmentOffice?: string;
bussinessType?: string;
bussinessTypeEN?: string;
jobPosition?: string;
jobPositionEN?: string;
jobDescription?: string;
saleEmployee?: string;
payDate?: string;

View file

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