diff --git a/src/controllers/customer-branch-controller.ts b/src/controllers/customer-branch-controller.ts index 06682e0..ce26649 100644 --- a/src/controllers/customer-branch-controller.ts +++ b/src/controllers/customer-branch-controller.ts @@ -32,7 +32,6 @@ function imageLocation(id: string) { type CustomerBranchCreate = { customerId: string; - code: string; status?: Status; branchNo: string; @@ -56,13 +55,11 @@ type CustomerBranchCreate = { subDistrictId?: string | null; districtId?: string | null; provinceId?: string | null; - headOfficeId?: string | null; }; type CustomerBranchUpdate = { customerId?: string; - code?: string; status?: "ACTIVE" | "INACTIVE"; branchNo?: string; @@ -86,7 +83,6 @@ type CustomerBranchUpdate = { subDistrictId?: string | null; districtId?: string | null; provinceId?: string | null; - headOfficeId?: string | null; }; @Route("api/customer-branch")