Commit graph

27 commits

Author SHA1 Message Date
Methapon Metanipat
b2b0d15efd feat: add filter registeredBranch 2024-10-02 16:03:49 +07:00
Methapon Metanipat
3ee1f5ed0f fix: update sort 2024-09-26 11:54:59 +07:00
Methapon Metanipat
e4064a0695 fix: delete customer branch hq now also delete parent 2024-09-25 16:34:43 +07:00
Methapon Metanipat
2151123897 refactor: remove role from allow cross branch 2024-09-25 14:29:27 +07:00
Methapon Metanipat
7b296ec904 chore: update tag 2024-09-17 09:03:08 +07:00
Methapon Metanipat
96b18f1049 fix: update payload 2024-09-16 17:34:34 +07:00
Methapon Metanipat
472db99c50 feat: file upload customer branch 2024-09-16 17:20:51 +07:00
Methapon Metanipat
3a8bb7a82d fix: customer code should not have company code 2024-09-16 16:36:02 +07:00
Methapon Metanipat
1b82bb616f refactor: combine payload 2024-09-16 14:37:03 +07:00
Methapon Metanipat
46c79d50ce fix: missing field 2024-09-16 13:31:47 +07:00
Methapon Metanipat
86888ed512 refactor!: customer (employer) fields 2024-09-16 11:03:34 +07:00
Methapon Metanipat
4dee7bfe71 refactor: customer structure 2024-09-13 13:27:12 +07:00
Methapon Metanipat
a7cafd25d0 feat: add address fields 2024-09-11 15:06:27 +07:00
Methapon Metanipat
114f008934 refactor: where conditions 2024-09-10 13:01:43 +07:00
Methapon Metanipat
213ec28565 refactor: only query if have 2024-09-09 14:59:15 +07:00
Methapon Metanipat
d394549566 feat: reuse function 2024-09-09 14:51:17 +07:00
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)