Commit graph

1073 commits

Author SHA1 Message Date
Methapon2001
f0db968b20 feat: add permission query to noti 2025-03-05 11:17:27 +07:00
Methapon2001
53c0c0fce9 refactor: response result 2025-03-05 11:17:27 +07:00
Methapon2001
34af1f9dcd feat: read by user
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-05 10:49:08 +07:00
Methapon Metanipat
ae252acbb8 feat: add get notification single notification
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
2025-03-05 10:48:30 +07:00
Methapon Metanipat
549410e9e3 feat: add delete notification 2025-03-05 10:48:30 +07:00
Methapon Metanipat
b4b7d633d1 feat: add query notification 2025-03-05 10:48:30 +07:00
Methapon2001
2502b7c68f fix: scope permission
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 10s
2025-03-05 08:49:27 +07:00
Methapon2001
5c58953820 feat: add payment stats by month
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-04 18:12:07 +07:00
Methapon2001
5d78166047 feat: allow filter profit range
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-04 16:34:15 +07:00
Methapon2001
9bd24b5a83 feat: calc profit endpoint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
2025-03-04 16:10:06 +07:00
Methapon2001
b4df1a5d4e feat: profit report
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-04 15:19:44 +07:00
Methapon2001
54dba11dc4 chore: add tsoa tag
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
2025-03-04 14:37:13 +07:00
Methapon2001
e92870602d feat: add total order of product to report
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
2025-03-04 14:15:26 +07:00
Methapon2001
3b29f56100 fix: order
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
2025-03-04 13:50:23 +07:00
Methapon2001
9fb4a7a88c feat: sale stats
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-04 13:42:10 +07:00
Methapon2001
e9889a1682 fix: order 2025-03-04 13:42:01 +07:00
Methapon2001
b36b6f9f07 feat: filter date 2025-03-04 11:46:11 +07:00
Methapon2001
ffa8095dcc fix: report not scope registered branch
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
2025-03-04 11:43:28 +07:00
Methapon2001
c004c516c6 feat: stats endpoints
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
2025-03-04 11:41:10 +07:00
Kanjana
d40bd5eb8c
feat: support bulk action on put request work step (#15)
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 8s
* add updateRequestWorkDataStepStatus

* change updateRequestWorkDataStepStatus

* change position updateRequestWorkDataStepStatus
2025-02-27 15:57:00 +07:00
Methapon2001
bf9dac8d46 fix: empty array cause result to be zero
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 10s
2025-02-27 09:10:23 +07:00
Methapon2001
e2023ab0ed chore: clean unused 2025-02-27 09:10:23 +07:00
Methapon2001
afa2808a0c refactor: query parameter 2025-02-27 09:10:23 +07:00
Methapon2001
6f1969c829 fix: line user not registered for all customer branch 2025-02-27 09:10:23 +07:00
Methapon2001
45482c3a1b fix: typos and ignore some false typos 2025-02-27 09:10:23 +07:00
Methapon2001
ae37e7c955 chore: change name 2025-02-27 09:10:23 +07:00
Methapon2001
e1c2768167 fix: wrong coniditon 2025-02-24 16:45:38 +07:00
Methapon2001
473a13e5dc fix: wrong condition 2025-02-24 15:34:22 +07:00
Methapon2001
6d4f598fe0 fix: status not change 2025-02-24 14:04:57 +07:00
Methapon2001
f5537b590b feat: paramter to include debit note if query for cancel 2025-02-24 13:57:50 +07:00
Methapon2001
87d9f39290 fix: wrongn condition 2025-02-24 13:41:51 +07:00
Methapon2001
2e38ea22d5 feat!: skip accepted status to payment pending 2025-02-24 13:41:26 +07:00
Methapon2001
b45753da2a feat: prevent reaccept debit note 2025-02-24 11:58:16 +07:00
Methapon2001
feffe6d52f feat: add accept endpoint debit note 2025-02-24 11:39:08 +07:00
Methapon2001
da8cca2ee4 feat: disallow accepted credit note from delete 2025-02-24 11:30:51 +07:00
Methapon2001
230eae5c89 feat: add waiting status 2025-02-24 11:26:43 +07:00
Methapon2001
c4d45a137d feat: include quotation for debit note 2025-02-24 11:06:34 +07:00
Methapon2001
9a4c97c109 feat: remove default status after created 2025-02-24 10:59:09 +07:00
Methapon2001
9b02bf4e4c fix: ordering 2025-02-24 09:48:22 +07:00
Methapon2001
2da138939c refactor: change verify input as frontend cannot detect type 2025-02-21 10:06:00 +07:00
Methapon2001
d2d4036bcd feat: throw error invalid otp instead of ok 2025-02-21 09:23:49 +07:00
Methapon2001
776004b5be feat: auto detect secure port for email transport 2025-02-20 16:23:51 +07:00
Methapon2001
da59f11bcc chore: cleanup env and type case 2025-02-20 16:16:51 +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
8709a7dcc8 feat: only query specific status for debit note 2025-02-20 11:20:55 +07:00
Methapon2001
f914849431 feat: support search code credit note 2025-02-20 10:08:02 +07:00
Methapon2001
3fb12a5763 fix: wrong bad request condition 2025-02-20 09:35:36 +07:00
Methapon2001
fe3096db69 feat: group stats credit card by status 2025-02-19 16:20:37 +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