feat: add businessType
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Kanjana 2025-07-09 16:12:13 +07:00
parent 50fca4d540
commit 73fea9d9ed

View file

@ -246,6 +246,7 @@ export class CustomerBranchController extends Controller {
createdBy: true,
updatedBy: true,
_count: true,
businessType: true,
},
where,
take: pageSize,
@ -268,6 +269,7 @@ export class CustomerBranchController extends Controller {
subDistrict: true,
createdBy: true,
updatedBy: true,
businessType: true,
},
where: { id: branchId },
});
@ -429,6 +431,7 @@ export class CustomerBranchController extends Controller {
subDistrict: true,
createdBy: true,
updatedBy: true,
businessType: true,
},
data: {
...rest,
@ -471,6 +474,7 @@ export class CustomerBranchController extends Controller {
},
},
},
businessType: true,
},
});
@ -533,6 +537,7 @@ export class CustomerBranchController extends Controller {
subDistrict: true,
createdBy: true,
updatedBy: true,
businessType: true,
},
data: {
...rest,
@ -561,6 +566,7 @@ export class CustomerBranchController extends Controller {
},
},
},
businessType: true,
},
});
@ -613,6 +619,7 @@ export class CustomerBranchFileController extends Controller {
},
},
},
businessType: true,
},
});
if (!data) throw notFoundError("Customer Branch");