Commit graph

11 commits

Author SHA1 Message Date
Methapon Metanipat
cbdb4c0e7a refactor: use factory function for perm check 2024-09-09 14:40:18 +07:00
Methapon Metanipat
ed2b3a5a41 feat: allow sale to manage self branch 2024-09-09 11:13:53 +07:00
Methapon Metanipat
1385e37f8f fix: condition 2024-09-06 14:54:31 +07:00
Methapon Metanipat
48254ceec0 feat: re-add head of sale to be able to manage endpoints 2024-09-06 11:58:28 +07:00
Methapon Metanipat
dec2722670 feat: remove some roles from manage some endpoints 2024-09-06 11:47:07 +07:00
Methapon Metanipat
195c889881 feat: double check permission customer branch 2024-09-06 08:31:27 +07:00
Methapon Metanipat
e44f563e35 fix: wrong condition check 2024-09-05 16:14:11 +07:00
Methapon Metanipat
1c04e475b6 feat: control list view by role 2024-09-05 16:14:03 +07:00
Methapon Metanipat
4946e3900d feat: customer branch permission 2024-09-05 15:06:23 +07:00
Methapon Metanipat
ef735bd9d7 feat: query also search for passport number 2024-09-05 10:34:07 +07:00
Methapon Metanipat
2af4e750b0 refactor: organize file 2024-09-05 09:21:39 +07:00
Renamed from src/controllers/customer-branch-controller.ts (Browse further)