Commit graph

293 commits

Author SHA1 Message Date
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
1a6a19574d chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-03-12 16:38:40 +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
b32bfee49e chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
2025-03-10 15:14:32 +07:00
Methapon2001
140cb59ebb feat: add property management endpoint 2025-03-10 15:12:30 +07:00
Methapon2001
3803c3378a chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-05 17:19:06 +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
b190f93ec3 chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-05 14:09:41 +07:00
Methapon2001
1f2a063974 feat: add request cancel field 2025-03-05 11:25:43 +07:00
Methapon2001
c21ef1448b chore: migration
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-05 11:17:27 +07:00
Methapon2001
f0db968b20 feat: add permission query to noti 2025-03-05 11:17:27 +07:00
Methapon2001
979af5b672 chore: migration 2025-02-24 11:28:18 +07:00
Methapon2001
470921c0df feat: set credit note status default to waiting 2025-02-24 11:28:15 +07:00
Methapon2001
806a905d40 chore: migration 2025-02-24 11:28:01 +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
58e95db5a8 chore: migrations 2025-02-10 10:04:11 +07:00
Methapon2001
cfc531d312 feat: institution status 2025-02-10 10:03:32 +07:00
Methapon2001
24e379fbf4 chore: migration 2025-01-27 11:51:55 +07:00
Methapon2001
8535924d53 feat: add separate calc vat field 2025-01-27 11:51:55 +07:00
Methapon2001
7ae7f47c94 chore: migration 2025-01-24 09:49:45 +07:00
Methapon2001
7ab1a94782 feat: add urgent task order field 2025-01-24 09:49:45 +07:00
Methapon2001
666c0ccdcd chore: migration 2025-01-23 14:13:40 +07:00
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