Commit graph

37 commits

Author SHA1 Message Date
Methapon2001
36e00ce935 chore: move file 2024-04-05 10:42:16 +07:00
Methapon2001
767127cec9 fix: update status once used and must not delete 2024-04-05 10:38:29 +07:00
Methapon2001
24c85b728c feat: filter by branch type (head/sub) and relation 2024-04-05 09:39:44 +07:00
Methapon2001
57d2c575bc refactor: change from required to not required 2024-04-04 16:08:22 +07:00
Methapon2001
cd76812997 refactor: remove suffix from field
This field does not indicate that it is specific to TH but any locale
2024-04-04 15:57:27 +07:00
Methapon2001
79f844adee fix: delete branch from user wrong body 2024-04-04 15:50:30 +07:00
Methapon2001
d3e535374c fix: remove parent relation
Looks unnecessary. Doesn't seems to get used.
2024-04-04 11:09:59 +07:00
Methapon2001
a86b01bc3e feat: update status when delete user or branch
This must be handle accordingly when new model has relation when these model.
2024-04-04 11:07:09 +07:00
Methapon2001
88f84256cf fix: image not on delete data 2024-04-04 11:02:01 +07:00
Methapon2001
ad4861b04c feat: add user stat for each branch 2024-04-03 17:33:19 +07:00
Methapon2001
8336310e69 feat: check if user in in used 2024-04-03 16:26:52 +07:00
Methapon2001
7f934454a9 chore: change devMessage on error 2024-04-03 16:26:39 +07:00
Methapon2001
aca05c9650 feat: user endpoints (crud, many-to-many branch) 2024-04-03 15:34:36 +07:00
Methapon2001
b1b93f0e34 fix: missing qr code image url on get 2024-04-03 12:49:42 +07:00
Methapon2001
e7568fa06f fix: update condition and response relation 2024-04-03 12:49:20 +07:00
Methapon2001
7ba77907d3 refactor: change method 2024-04-03 10:54:46 +07:00
Methapon2001
075d40876e fix: create branch head office condition when not send 2024-04-03 10:51:40 +07:00
Methapon2001
2197ee4104 refactor: set status to 201 on create data 2024-04-02 15:42:53 +07:00
Methapon2001
94d77e494c refactor: add devMessage to error 2024-04-02 15:32:17 +07:00
Methapon2001
d7b7a6ebee feat: get branch endpoint 2024-04-02 15:25:28 +07:00
Methapon2001
63de7b3e52 feat: edit branch endpoint 2024-04-02 15:21:19 +07:00
Methapon2001
e58141b864 fix: missing type 2024-04-02 14:08:07 +07:00
Methapon2001
1cea8830d6 refactor: use same function to get img location 2024-04-02 14:01:59 +07:00
Methapon2001
712a0952dd feat: delete branch contact endpoint 2024-04-02 13:56:40 +07:00
Methapon2001
5aded1d215 feat: create branch contact endpoint 2024-04-02 13:55:54 +07:00
Methapon2001
aa182a314e feat: branch contact controller 2024-04-02 13:54:49 +07:00
Methapon2001
44bf228081 feat: include relation response when create and delete 2024-04-02 13:18:59 +07:00
Methapon2001
72f9f5fe84 feat: edit branch endpoint 2024-04-02 11:52:55 +07:00
Methapon2001
c841fa84ed feat: create branch endpoint 2024-04-02 11:19:12 +07:00
Methapon2001
95463dfe7c feat: add type for create and update endpoint 2024-04-02 10:47:36 +07:00
Methapon2001
9938dba0e1 feat: delete branch endpoint 2024-04-02 10:45:37 +07:00
Methapon2001
59a79a3374 feat: get branch endpoint 2024-04-02 09:29:20 +07:00
Methapon2001
3a53397745 feat: add branch controller 2024-04-02 09:28:36 +07:00
Methapon2001
e633adc67d Merge branch 'feat/address-endpoints' into dev 2024-04-02 09:26:52 +07:00
Methapon2001
d58046502c feat: add province, district, sub-district endpoint 2024-04-02 09:26:42 +07:00
Methapon2001
7a291fb3be feat: keycloak user and role management 2024-04-02 09:25:44 +07:00
Methapon2001
8cd9cb5901 chore: small code adjustment 2024-04-01 13:36:06 +07:00