Commit graph

147 commits

Author SHA1 Message Date
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
Kanjana
8d25dda326 feat: change where sellerId
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-07-07 13:50:28 +07:00
Kanjana
e0be1f6ab5 feat: add sellerId in quotation
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-04 14:40:46 +07:00
Methapon2001
2b255ff355 feat: do not allow sale to delete data
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-04 13:31:04 +07:00
Methapon2001
ced55b9518 feat: allow sale to manage 2025-07-04 13:31:04 +07:00
Methapon2001
1e0f97cdef feat(perm): allow anyone to edit owned data
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-03 16:20:23 +07:00
Methapon2001
5c7db2afc6 feat(perm): update api quotation perm
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-03 14:41:38 +07:00
Methapon2001
68025aad08 feat(perm): update api account related permission
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
2025-07-03 14:33:17 +07:00
Methapon2001
f1a774f3bc fix: nullable
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
2025-04-28 16:07:13 +07:00
Kanjana
7fe0512a2f add troubleshooting controller and field otherNationality
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-04-25 11:59:46 +07:00
Methapon2001
7bd1f57c32 feat: change employee name requirement 2025-04-22 09:47: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
1091b93805 fix: typo
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-26 14:35:55 +07:00
Methapon2001
5fc4bbab6e fix: detect not work due to floating point
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-26 14:30:05 +07:00
Methapon2001
f88b25a52a feat: add more notification
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
2025-03-26 14:01:28 +07:00
Methapon2001
c2b4602290 fix: wrong noti group
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-25 14:20:45 +07:00
Methapon2001
2beaf6d26c feat: filter date
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-06 11:47:51 +07:00
Methapon2001
f583448e5f feat: add thai text to notification 2025-03-05 15:18:13 +07:00
Methapon2001
17b92b4012 feat: notify request, task update 2025-03-05 15:18:13 +07:00
Methapon2001
2697b4f6e0 feat: notify quotation status change 2025-03-05 15:17:56 +07:00
Methapon2001
e1c2768167 fix: wrong coniditon 2025-02-24 16:45:38 +07:00
Methapon2001
f5537b590b feat: paramter to include debit note if query for cancel 2025-02-24 13:57:50 +07:00
Methapon2001
8709a7dcc8 feat: only query specific status for debit note 2025-02-20 11:20:55 +07:00
Methapon2001
8d27fdfae0 fix: wrong canceled count 2025-02-19 15:15:15 +07:00
Methapon2001
a9cf88d6d4 fix: query condition for get canceled work 2025-02-19 15:09:05 +07:00
Methapon2001
0e65284b5c feat: add query param to quotation 2025-01-30 16:45:25 +07:00
Methapon2001
891d9a86d2 fix: wrong vat 2025-01-30 14:51:48 +07:00
Methapon2001
11a6918e96 fix: error 2025-01-29 10:50:13 +07:00
Methapon2001
01d517cc27 feat: add new employee while add worker after accepted 2025-01-27 14:29:37 +07:00
Methapon2001
8535924d53 feat: add separate calc vat field 2025-01-27 11:51:55 +07:00
Methapon2001
a1b78e117e refactor: store value of product that excluded vat instead 2025-01-24 10:01:32 +07:00
Methapon2001
74d2d49135 fix: price 2025-01-23 11:51:56 +07:00
Methapon2001
1d33a15b12 fix: wrong calc vat 2025-01-23 11:31:36 +07:00
Methapon2001
bb0d14ce92 fix: .01 wrong price 2025-01-23 10:21:10 +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
a416f7d04e refactor: use # instead of private 2025-01-10 10:20:33 +07:00
Methapon2001
5cf5e079fb fix: wrong model error message thrown 2025-01-10 10:20:33 +07:00
Methapon2001
659fb325b1 feat: add canceled work count to quotation 2025-01-08 16:13:38 +07:00
Methapon2001
09313cf2ba feat: add param for include relation 2025-01-07 16:46:06 +07:00
Methapon2001
a4ba0e032f fix: price not accurate after recalc vat 2025-01-06 09:32:42 +07:00
Methapon2001
f4bbfbbc08 feat: filter out if add new employee have no desired product 2024-12-27 09:57:50 +07:00
Methapon2001
5ca704f5ce feat: update quatation status if add worker after complete 2024-12-27 08:49:26 +07:00
Methapon2001
ff858aaf50 fix: check if body contains customer branch 2024-12-26 10:23:05 +07:00
Methapon2001
37fac3934c fix: make permission covered company 2024-12-26 10:10:12 +07:00
Methapon2001
5e26e38e0b feat: add code to query string 2024-12-25 10:41:48 +07:00
Methapon2001
6625326f46 feat: make service and product active 2024-12-20 14:33:14 +07:00
Methapon2001
b1a1a83051 fix: also take duplicate worker into account 2024-12-17 13:24:38 +07:00
Methapon2001
c913b92cd9 fix: use more than only 2024-12-17 13:16:15 +07:00
Methapon2001
dc32f77a2c fix: do not throw error if send empty array 2024-12-17 10:18:45 +07:00