Commit graph

320 commits

Author SHA1 Message Date
Methapon2001
105b6d62c8 feat: add task order remark 2025-01-23 14:12:15 +07:00
Methapon2001
847f586707 chore: migration 2025-01-22 13:32:19 +07:00
Methapon2001
e6ec573997 feat: add ready status to request data 2025-01-22 13:32:04 +07:00
Methapon Metanipat
67651eb213
feat: debit note (#9)
* fix: filter not work

* feat: add debit note flag to quotation

* feat: add debit note structure

* refactor: change name to debit

* refactor(quotation): only query quotation not debit note

* feat: delete debit note

* feat: get debit note by id

* chore: add import

* feat: debit note stats

* feat: get debit note list

* chore: add comment

* refactor: add debit note filter to invoice

* chore: migration

* refactor: change attachment endpoint to explicit declare

* add createDebitNote

* feat: add quotation relation to get endpoint

* fix: wrong query

* fix data to create

* feat: include debit note in relation

* feat: handle delete file on delete data

* feat: check if quotation exists

* feat: add update payload

* refactor: merge variable

* feat: add update endpoint debit note

* fix: quotation is not flagged as debit note

* feat: add worker into debit note

* feat: add update debit note with worker

* fix: missing remark field

* feat: auto invoice

This commit automatically create debit note invoice and payment data.
Debit note does not required to create invoice and do not have
installments.

* feat: set default get invoice param to only quotation

* refactor: debit note param in payment/invoice

* fixup! refactor: debit note param in payment/invoice

* fix: product does not have any worker

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: Kanjana <taii.kanjana@gmail.com>
2025-01-21 10:51:30 +07:00
Methapon2001
129c3d5737 chore: migration 2025-01-14 09:46:53 +07:00
Methapon2001
7f19b22dbb feat: add remark 2025-01-14 09:46:49 +07:00
Methapon2001
c95b20da8f chore: migration 2025-01-13 14:02:21 +07:00
Methapon2001
bc6863517c feat: add payback date 2025-01-13 13:57:51 +07:00
Methapon2001
6a86dfd9ad chore: migration 2025-01-09 17:04:21 +07:00
Methapon2001
af20c3fab2 feat: add payback status in database 2025-01-09 17:03:43 +07:00
Methapon2001
3e16486d72 chore: migration 2025-01-09 13:37:07 +07:00
Methapon2001
66212b3b2d feat: add more field for data store 2025-01-09 13:37:01 +07:00
Methapon2001
d50bcd3ed7 chore: migration 2025-01-08 14:50:58 +07:00
Methapon2001
7e3ec0db42 feat: add accepted and submitted date to user task 2025-01-08 14:50:18 +07:00
Methapon2001
2536394fb2 chore: migration 2025-01-08 11:26:18 +07:00
Methapon2001
ed84137aae feat: add restart user task status 2025-01-08 11:26:15 +07:00
Methapon2001
13d20f5eaa chore: migration 2025-01-08 11:24:25 +07:00
Methapon2001
641a3562b4 feat: add restart task status 2025-01-08 11:24:00 +07:00
Methapon2001
5bb0adb51b chore: migration 2025-01-07 15:56:38 +07:00
Methapon2001
8c65ad4eea feat: add metadata to credit note 2025-01-07 15:56:18 +07:00
Methapon2001
2654633f9c chore: migration 2025-01-07 09:39:47 +07:00
Methapon2001
b9b6745bb6 feat: add code gen to credit note 2025-01-07 09:39:21 +07:00
Methapon2001
f4ded1692d chore: migration 2025-01-06 15:00:39 +07:00
Methapon2001
53453e37db refactor: store credit note value in database 2025-01-06 14:59:59 +07:00
Methapon2001
027bb49c2a chore: migration 2025-01-06 11:55:41 +07:00
Methapon2001
4af2a2c174 refactor: add credit note status to table 2025-01-06 11:53:16 +07:00
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
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
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
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
c8f7059df7 chore: migration 2024-12-11 14:44:14 +07:00
Methapon2001
49ae93e7c0 feat: add user task table 2024-12-11 14:44:09 +07:00
Methapon2001
65d42577d4 chore: migration 2024-12-11 12:05:50 +07:00
Methapon2001
7d2e5c5933 Revert "refactor: add redo status variant"
This reverts commit 00e09166be.
2024-12-11 11:42:31 +07:00
Methapon2001
eddc634bd1 feat: add failed data fields 2024-12-11 11:42:21 +07:00
Methapon2001
d75d134abf chore: migration 2024-12-11 10:33:21 +07:00
Methapon2001
00e09166be refactor: add redo status variant 2024-12-11 10:28:55 +07:00
Methapon2001
7cbe5f3397 chore: migration 2024-12-11 09:56:42 +07:00
Methapon2001
3eb339bb21 feat: add more status 2024-12-11 09:56:38 +07:00
Methapon2001
dd1b762cf1 chore: migration 2024-12-11 09:04:52 +07:00
Methapon2001
e4f982eecb refactor: make field optional 2024-12-11 09:04:48 +07:00
Methapon2001
8c42eade65 chore: migration 2024-12-10 15:04:07 +07:00
Methapon2001
effe43b445 feat: add flow account record id for data mapping 2024-12-10 14:58:14 +07:00
Methapon2001
f3f27e8f87 chore: migration 2024-12-10 10:04:02 +07:00
Methapon2001
46a16cf697 feat: update task relation 2024-12-10 10:03:51 +07:00