Commit graph

236 commits

Author SHA1 Message Date
Methapon2001
236ee48eab feat: foreign address 2025-07-16 09:38:30 +07:00
Kanjana
a61bd8c83e chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-09 15:21:00 +07:00
Kanjana
859a1e3def chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-07-04 14:08:54 +07:00
Methapon2001
1a33080ac8 fix: relation constraint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-06-30 16:13:57 +07:00
Kanjana
897ef335b4 add notification expireDate passport, visa
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-05-14 09:28:57 +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
ffb1ce2d40 feat: allow multiple import nationality for user 2025-04-24 17:55:18 +07:00
Kanjana
109494c6d7 add responsibleGroup in step 2025-04-24 11:40:02 +07:00
Methapon2001
7bd1f57c32 feat: change employee name requirement 2025-04-22 09:47:17 +07:00
Kanjana
f98371132a add startDate endDate in instition and receipt , codeProductRecieve in taskOrder 2025-04-21 11:07:06 +07:00
Kanjana
a06d5514fc updata user add employmentOffice
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-04-11 11:28:24 +07:00
Kanjana
2307a275f5 change name requestData 2025-04-08 09:27:48 +07:00
Kanjana
709c21082a fix bug in user, employee, institution,requestList 2025-04-08 09:27:48 +07:00
Kanjana
af4093d439 add router updata-messenger add update defaultMessengerId
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-04-03 18:00:21 +07:00
Methapon2001
b64cd5d1a6 feat: add reject request cancel endpoint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
2025-03-12 16:37:13 +07:00
Methapon2001
140cb59ebb feat: add property management endpoint 2025-03-10 15:12:30 +07:00
Methapon2001
9bf534adce feat: add delete notification
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
2025-03-05 17:18:42 +07:00
Methapon2001
1f2a063974 feat: add request cancel field 2025-03-05 11:25:43 +07:00
Methapon2001
f0db968b20 feat: add permission query to noti 2025-03-05 11:17:27 +07:00
Methapon2001
470921c0df feat: set credit note status default to waiting 2025-02-24 11:28:15 +07:00
Methapon2001
230eae5c89 feat: add waiting status 2025-02-24 11:26:43 +07:00
Methapon Metanipat
12bf2182dc
feat: line (#13)
* add wedhook line

* text message

* add router get employee, request, quotation

* move code

* do not crash application when not set line token

This feature is opt-in

* dot not crash when not set line client id

Main auth method is keycloak

* change dotenv

* fix: wrong env

* refactor: change to get instead of post

* refactor: remove body for employee get endpoint

* feat: add work relation include

* feat: include customer relation in employee

* feat: add line file controller

* add detail flex message and get date requestWork

* chore: update deps lock

* fix: error line token

* fix: redirect head instead if response with body

* feat: add response relation

* fix: route casing

* add userId in customerBranch verifyOTP

* delete consile log

* add is registered endpoint placeholder

* feat: quotation list

* fix: wrong endpoint name

* feat: include relation in get by id request data

* add where userId line

* refactor: adjust parameter for liff app

* delete code

* refactor: remove post quotation endpoint

* refactor: add where userId line for quotation

* feat: add pending only parameter

* refactor: more condition for inProgressOnly

* refactor: update condition

* feat: add line quotation attachment endpoint

* feat: include product in request work line endpoint

* refactor: pending only now cover more condition

* feat: include invoice with payment relation

* chore: update api docs tag

* chore: clean

* feat: check for registered user

* fix: wrong file location

* feat: add email client for sending an otp

* chore: move some deps to dev deps

* add otpCode otpExpires

* add send-otp and verify-otp

---------

Co-authored-by: Kanjana <kanjana@chamomind.com>
Co-authored-by: chamomind <chamomind@localhost>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
Methapon2001
cfc531d312 feat: institution status 2025-02-10 10:03:32 +07:00
Methapon2001
8535924d53 feat: add separate calc vat field 2025-01-27 11:51:55 +07:00
Methapon2001
7ab1a94782 feat: add urgent task order field 2025-01-24 09:49:45 +07:00
Methapon2001
105b6d62c8 feat: add task order remark 2025-01-23 14:12:15 +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
7f19b22dbb feat: add remark 2025-01-14 09:46:49 +07:00
Methapon2001
bc6863517c feat: add payback date 2025-01-13 13:57:51 +07:00
Methapon2001
af20c3fab2 feat: add payback status in database 2025-01-09 17:03:43 +07:00
Methapon2001
66212b3b2d feat: add more field for data store 2025-01-09 13:37:01 +07:00
Methapon2001
7e3ec0db42 feat: add accepted and submitted date to user task 2025-01-08 14:50:18 +07:00
Methapon2001
ed84137aae feat: add restart user task status 2025-01-08 11:26:15 +07:00
Methapon2001
641a3562b4 feat: add restart task status 2025-01-08 11:24:00 +07:00
Methapon2001
8c65ad4eea feat: add metadata to credit note 2025-01-07 15:56:18 +07:00
Methapon2001
b9b6745bb6 feat: add code gen to credit note 2025-01-07 09:39:21 +07:00
Methapon2001
53453e37db refactor: store credit note value in database 2025-01-06 14:59:59 +07:00
Methapon2001
4af2a2c174 refactor: add credit note status to table 2025-01-06 11:53:16 +07:00
Methapon2001
50c8163aeb refactor: update constraints 2024-12-27 09:31:45 +07:00
Methapon2001
f433875a7d feat: add messenger by area setting to workflow 2024-12-26 10:28:17 +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
49ae93e7c0 feat: add user task table 2024-12-11 14:44:09 +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
00e09166be refactor: add redo status variant 2024-12-11 10:28:55 +07:00
Methapon2001
3eb339bb21 feat: add more status 2024-12-11 09:56:38 +07:00