Commit graph

27 commits

Author SHA1 Message Date
Methapon Metanipat
3a8bb7a82d fix: customer code should not have company code 2024-09-16 16:36:02 +07:00
Methapon Metanipat
06d4647462 fix: relation 2024-09-16 15:10:37 +07:00
Methapon Metanipat
1b82bb616f refactor: combine payload 2024-09-16 14:37:03 +07:00
Methapon Metanipat
ad422c48aa fix: wrong payload 2024-09-16 14:20:06 +07:00
Methapon Metanipat
2ae0824fa9 Revert "refactor: combine payload"
This reverts commit c7b5f91d31.
2024-09-16 14:14:53 +07:00
Methapon Metanipat
13f8b34d7e Revert "refactor: make field optional"
This reverts commit b583c23bd1.
2024-09-16 14:14:51 +07:00
Methapon Metanipat
b583c23bd1 refactor: make field optional 2024-09-16 14:05:14 +07:00
Methapon Metanipat
c7b5f91d31 refactor: combine payload 2024-09-16 13:51:35 +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
2f85dab0a3 feat: add fields customer 2024-09-12 15:08:07 +07:00
Methapon Metanipat
155962b996 refactor: use helper function 2024-09-12 10:39:58 +07:00
Methapon Metanipat
c755650fed fix: missing selected image field 2024-09-10 15:45:58 +07:00
Methapon Metanipat
06919a0205 refactor: use helper function instead for easier fix 2024-09-10 13:23:03 +07:00
Methapon Metanipat
ed832148fc feat: upload and select multiple image 2024-09-10 09:56:46 +07:00
Methapon Metanipat
5a50ab209d fix: error when registered branch is null 2024-09-10 09:53:05 +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
71a8a25cda fix: customer edit not consider related branch perm 2024-09-09 09:42:09 +07:00
Methapon Metanipat
6926d9367c feat: customer permission 2024-09-09 09:10:41 +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
1c04e475b6 feat: control list view by role 2024-09-05 16:14:03 +07:00
Methapon Metanipat
2af4e750b0 refactor: organize file 2024-09-05 09:21:39 +07:00
Renamed from src/controllers/customer-controller.ts (Browse further)