Commit graph

1362 commits

Author SHA1 Message Date
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
e34ba9a239 chore: update deps and api docs config 2025-02-20 10:44:28 +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
32eb58c524 chore: change openapi layout to classic 2025-02-20 09:25:06 +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
Methapon2001
ee33c7abb3 fix: wrong positition store 2025-02-18 15:38:54 +07:00
Methapon2001
0ac81ce743 fix: status order not update when enable / disable 2025-02-18 13:46:39 +07:00
Methapon2001
3af6701ff0 fix: institution not order correctly 2025-02-18 13:37:57 +07:00
Methapon2001
a0d3c89395 fix: wrong status code 2025-02-17 16:45:43 +07:00
Methapon2001
f26de4f639 fix: installments validate failed on update no payload 2025-02-17 10:02:58 +07:00
Methapon2001
23baff94de feat: add filter status institution 2025-02-10 11:45:14 +07:00
Methapon2001
596e336233 fix: wrong type used 2025-02-10 10:07:53 +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
fdd48fb670 feat: throw error when used institution 2025-02-10 09:54:22 +07:00
Methapon2001
e9a345fc24 chore: update to node 23 2025-02-03 16:07:02 +07:00
Methapon2001
533265f59c chore: update deps 2025-02-03 16:03:56 +07:00
Methapon2001
d1a36c238e fix: corepack error 2025-02-03 15:56:58 +07:00
Methapon2001
fc114ace51 fix: paging not take effect receipt 2025-02-03 15:50:28 +07:00
Methapon2001
d869adc82d fix: paging not take effect 2025-02-03 11:31:39 +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
717966796e fix: ordering 2025-01-29 14:51:03 +07:00
Methapon2001
11a6918e96 fix: error 2025-01-29 10:50:13 +07:00
Methapon2001
d5678c537f feat: conditional include step status 2025-01-29 10:47:18 +07:00
Methapon2001
524a493149 fix: get actual price from final price instead 2025-01-29 09:52:53 +07:00
Methapon2001
06c54780d3 Merge branch 'develop' 2025-01-27 14:29:43 +07:00
Methapon2001
01d517cc27 feat: add new employee while add worker after accepted 2025-01-27 14:29:37 +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
3b60582e66 Merge branch 'develop' 2025-01-24 13:45:17 +07:00
Methapon2001
f18c5cd444 feat: add order to task order 2025-01-24 10:04:20 +07:00
Methapon2001
a1b78e117e refactor: store value of product that excluded vat instead 2025-01-24 10:01:32 +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
8358c71945 refactor: response not found instead 2025-01-24 09:25:51 +07:00
Methapon2001
bf204c926d feat: push urgent to latest 2025-01-24 09:15:10 +07:00
Methapon2001
fd8a932e95 Merge branch 'develop' 2025-01-23 16:14:53 +07:00
Methapon2001
e6e38cfe93 feat: handle delete 2025-01-23 16:14:38 +07:00
Methapon2001
e539c29dd8 Merge branch 'develop' 2025-01-23 16:09:48 +07:00
Methapon2001
ee18dd60ff feat: return more relation 2025-01-23 16:09:44 +07:00
Methapon2001
a88d8228b1 Merge branch 'develop' 2025-01-23 15:51:15 +07:00
Methapon2001
a02832b59c feat: handle ready task 2025-01-23 15:51:06 +07:00
Methapon2001
26c1985773 Merge branch 'develop' 2025-01-23 14:56:06 +07:00
Methapon2001
75651daa52 feat: response more data 2025-01-23 14:55:43 +07:00
Methapon2001
2ba9630174 Merge branch 'develop' 2025-01-23 14:19:16 +07:00