Commit graph

53 commits

Author SHA1 Message Date
HAM
7e7b8025c9 refactor: change to id
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
2025-09-17 12:58:14 +07:00
HAM
e5a3d948a5 fix: missing query
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-09-17 12:39:10 +07:00
HAM
0d78ce4db3 feat: filter businessType, province, district, subDistrict for customer and customer-export endpoint 2025-09-17 12:37:41 +07:00
Methapon2001
f487a9169c fix: prevent line user id and otp exposes 2025-09-10 11:44:22 +07:00
Methapon2001
ab8fd2ca43 feat: export customer and employee as csv 2025-09-10 11:44:22 +07:00
Methapon2001
6c350b12ce fix: prisma client error
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-15 15:17:53 +07:00
Methapon2001
1f34ea7ecb feat: include business relation
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-11 11:13:18 +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
842d81026e feat: allow anybody to edit customer data if can manage 2025-07-08 17:04:35 +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
1b9c71ef6c feat: add active branch only for customer 2024-12-06 18:12:40 +07:00
Methapon Metanipat
8d2d0ee6cc fix: change role from account to accountant 2024-11-13 10:24:44 +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
ddc5a9a037 feat: search customer now cover customer name 2024-10-24 09:53:36 +07:00
Methapon Metanipat
09dbac1aa2 feat(customer-image): add head endpoint 2024-10-22 11:02:10 +07:00
Methapon Metanipat
fc5279b855 fix: delete error 2024-10-17 14:45:42 +07:00
Methapon Metanipat
e0c00d4aad feat: add conditional query for customer 2024-10-11 15:48:49 +07:00
Methapon Metanipat
19f4a58df4 feat: handle running no on delete customer 2024-10-09 10:22:59 +07:00
Methapon Metanipat
4de0e1da87 refactor: throw common error with util function instead 2024-10-03 09:41:47 +07:00
Methapon Metanipat
2151123897 refactor: remove role from allow cross branch 2024-09-25 14:29:27 +07:00
Methapon Metanipat
18963f666d feat: prevent from change company 2024-09-23 18:14:33 +07:00
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