Commit graph

1220 commits

Author SHA1 Message Date
Methapon2001
614da2e452 chore: migration 2024-12-27 09:31:49 +07:00
Methapon2001
50c8163aeb refactor: update constraints 2024-12-27 09:31:45 +07:00
Methapon2001
86d21e4a23 fix: do not create if not select any product 2024-12-27 09:05:53 +07:00
Methapon2001
5ca704f5ce feat: update quatation status if add worker after complete 2024-12-27 08:49:26 +07:00
Methapon2001
077f0da74c feat: replace in progress with pending for user task endpoint 2024-12-26 16:32:25 +07:00
Methapon2001
f91a4ade1e feat: update completed also cover ended 2024-12-26 12:08:00 +07:00
Methapon2001
813d1d9faa fix: update quotation status not trigger in request list 2024-12-26 11:29:59 +07:00
Methapon2001
3e57d514c5 refactor: update permission 2024-12-26 11:14:57 +07:00
Methapon2001
2889ea3521 feat: add cancel individual product in request work 2024-12-26 11:06:59 +07:00
Methapon2001
d2f068b341 fix: not return 2024-12-26 10:44:47 +07:00
Methapon2001
8032906a2d refactor: wrap inside transaction 2024-12-26 10:34:28 +07:00
Methapon2001
f7c84e21f7 chore: migration 2024-12-26 10:28:22 +07:00
Methapon2001
f433875a7d feat: add messenger by area setting to workflow 2024-12-26 10:28:17 +07:00
Methapon2001
ff858aaf50 fix: check if body contains customer branch 2024-12-26 10:23:05 +07:00
Methapon2001
5aa5e55f99 feat: add filter responsible only 2024-12-26 10:19:38 +07:00
Methapon2001
7b92d6a59a fix: wrong order 2024-12-26 10:18:22 +07:00
Methapon2001
37fac3934c fix: make permission covered company 2024-12-26 10:10:12 +07:00
Methapon2001
0c79a92fc4 fix: make permission check from quotation reg branch instead 2024-12-26 10:00:40 +07:00
Methapon2001
dfdeba7530 feat: auto update to validate status 2024-12-25 16:58:42 +07:00
Methapon2001
6002b6b1a7 fix: cannot remove user 2024-12-25 16:51:52 +07:00
Methapon2001
185e76b7e9 feat: also include task if any is complete 2024-12-25 16:19:14 +07:00
Methapon2001
8690b4d82a feat: also handle when input 0 installments 2024-12-25 15:43:21 +07:00
Methapon2001
9bc6ba2d49 fix: only change status of pending task only 2024-12-25 15:37:18 +07:00
Methapon2001
23541a12bf feat: also update quotation if completed or cancel 2024-12-25 14:44:39 +07:00
Methapon2001
5e26e38e0b feat: add code to query string 2024-12-25 10:41:48 +07:00
Methapon2001
f2c1e84490 chore: migration 2024-12-24 18:11:44 +07:00
Methapon2001
111adbb076 feat: add task product record 2024-12-24 18:11:40 +07:00
Methapon2001
33e77e33b5 Revert "feat: add discount to task order"
This reverts commit d1af389c72.
2024-12-24 17:59:03 +07:00
Methapon2001
d1af389c72 feat: add discount to task order 2024-12-24 17:52:23 +07:00
Methapon2001
65e8a2fdc0 feat: return responsible person 2024-12-24 17:34:19 +07:00
Methapon2001
de29f64aaf refactor: wrap in transaction 2024-12-24 16:04:54 +07:00
Methapon2001
f8abb7503b fix: status not update 2024-12-24 16:03:43 +07:00
Methapon2001
5b28f1e501 fix: step count missing on update 2024-12-24 16:01:05 +07:00
Methapon2001
159dc57d8b fix: status not update 2024-12-24 15:48:48 +07:00
Methapon2001
983984fb4b fix: workflow id was excluded 2024-12-24 15:38:19 +07:00
Methapon2001
af268a79ed feat: include registered branch as relation 2024-12-24 13:40:27 +07:00
Methapon2001
aecf52fdc9 refactor: update to receipt only instead of set 2024-12-24 10:11:11 +07:00
Methapon2001
ce51b8cc0f refactor: update status more accurate 2024-12-23 18:06:01 +07:00
Methapon2001
d12834d7d7 fix: get redo if not complete only 2024-12-23 18:05:35 +07:00
Methapon2001
3b128d3c93 feat: update request work redo to in progress on submit 2024-12-23 17:23:19 +07:00
Methapon2001
e5ac580456 feat: active only product group param 2024-12-23 10:59:07 +07:00
Methapon2001
369d0f4696 feat: check if request data is completed 2024-12-23 09:34:30 +07:00
Methapon2001
37a9dd2677 feat: check if request data is complete 2024-12-20 18:04:34 +07:00
Methapon2001
ad551bdf10 refactor: update shared cond to the same as product
Currently this is not used anywhere in the project.
2024-12-20 17:24:26 +07:00
Methapon2001
6625326f46 feat: make service and product active 2024-12-20 14:33:14 +07:00
Methapon Metanipat
f673f2c953
feat: credit note (#8)
* feat: add db table and structure

* chore: migration

* createCreditNote

* add check conditions quotationId before create credit note and add fn delete data

* feat: add query list of credit note

* feat: add get stats of credit ntoe

* update

* feat: add get by id

* add permission

* delete console log

* chore: cleanup

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: Kanjana <taii.kanjana@gmail.com>
2024-12-20 14:22:55 +07:00
Methapon2001
b5cdb24228 fix: wrong condition 2024-12-20 13:42:47 +07:00
Methapon2001
c399cd26df fix: make it check for status 2024-12-20 13:15:30 +07:00
Methapon2001
abf20e0fb1 feat: add invoice stats endpoint 2024-12-20 11:59:55 +07:00
Methapon2001
5309581e14 feat: also return user task relation 2024-12-20 11:30:34 +07:00