Commit graph

51 commits

Author SHA1 Message Date
Methapon2001
f487a9169c fix: prevent line user id and otp exposes 2025-09-10 11:44:22 +07:00
Methapon2001
df38eebbcc fix: permission
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-08-22 09:33:49 +07:00
Kanjana
15e0e34a47 feat: change listAllowed
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-09 17:26:49 +07:00
Kanjana
73fea9d9ed feat: add businessType
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-09 16:12:13 +07:00
Kanjana
50fca4d540 feat: remove customerName add reportDate
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-09 16:02:45 +07:00
Methapon2001
8fb28ec3ab fix: perm
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-09 11:40:39 +07:00
Methapon2001
ced55b9518 feat: allow sale to manage 2025-07-04 13:31:04 +07:00
Methapon2001
fa95fe46a5 feat(perm): update api customer/employee perm 2025-07-03 14:33:17 +07:00
Kanjana
0aba9f9865 search startDate and endDate 2025-04-17 13:41:22 +07:00
Kanjana
743fde5493 add mode: "insensitive" 2025-04-09 11:54:52 +07:00
Methapon2001
ee33c7abb3 fix: wrong positition store 2025-02-18 15:38:54 +07:00
Methapon2001
db3bdfb25d fix: active regis branch only not work 2024-12-18 16:29:48 +07:00
Methapon2001
78e39ae16e feat: add active branch only for customer branch 2024-12-06 18:15:24 +07:00
Methapon Metanipat
8d2d0ee6cc fix: change role from account to accountant 2024-11-13 10:24:44 +07:00
Methapon Metanipat
16ffc551b4 fix: wrong variable used 2024-10-28 13:00:40 +07:00
Methapon Metanipat
e76292fe38 feat: add relation for agent 2024-10-28 10:51:51 +07:00
Methapon Metanipat
3cbc157028 feat: search customer now cover more field 2024-10-25 12:02:02 +07:00
Methapon Metanipat
af463ee509 refactor: don't include condition if no query 2024-10-24 17:49:10 +07:00
Methapon Metanipat
d5ab07bacb refactor: upload now return presigned url instead of redirect
This will prevent from payload upload to API Server first and then
upload to MinIO which cause upload to be happens twice.
2024-10-24 09:56:37 +07:00
Methapon Metanipat
ab71a7ee20 feat(file): add head endpoint 2024-10-22 10:43:20 +07:00
Methapon Metanipat
e7c29d20e0 feat: add query param 2024-10-17 17:12:39 +07:00
Methapon Metanipat
fdc72a7caf feat: add conditional company scope query 2024-10-11 16:04:56 +07:00
Methapon Metanipat
4de0e1da87 refactor: throw common error with util function instead 2024-10-03 09:41:47 +07:00
Methapon Metanipat
68f9dc203e fix: system role not get filtered 2024-10-02 16:13:54 +07:00
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