Commit graph

20 commits

Author SHA1 Message Date
Methapon2001
b5fb9d3408 chore: restructure 2024-04-05 11:31:33 +07:00
Methapon2001
4d8ea943a9 feat: status input on created and update 2024-04-05 10:44:13 +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
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
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
ad4861b04c feat: add user stat for each branch 2024-04-03 17:33:19 +07:00
Methapon2001
7f934454a9 chore: change devMessage on error 2024-04-03 16:26:39 +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
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