Commit graph

3534 commits

Author SHA1 Message Date
Methapon2001
2e5f1313a5 feat: add api param active only for employee 2024-12-18 17:24:01 +07:00
Methapon2001
6c370f4020 fix: customer branch id not send as api param 2024-12-18 17:23:34 +07:00
Methapon2001
0aeb812143 feat: add filter active only customer
This close #143
2024-12-18 16:33:15 +07:00
puriphatt
5baa9429c4 fix: product => remove tooltip & ellipsis 2024-12-18 14:34:57 +07:00
Thanaphon Frappet
ed6a0cee3d refactor: handle status 2024-12-18 11:49:26 +07:00
Thanaphon Frappet
fa9b59680f cleanup: 2024-12-18 10:57:05 +07:00
Thanaphon Frappet
dee626bbb9 fix: edit name emit 2024-12-18 10:51:57 +07:00
Thanaphon Frappet
44fdfc2364 refactor: view and view example receipt 2024-12-18 10:49:46 +07:00
Thanaphon Frappet
f5566f81e6 refactor: add new btn view and example 2024-12-18 10:06:09 +07:00
Thanaphon Frappet
b3d15434f6 cleanup: 2024-12-18 10:02:40 +07:00
Thanaphon Frappet
201ddfdcfa feat: function api get flow account of payment 2024-12-18 10:00:51 +07:00
Thanaphon Frappet
e8cd7e2df8 refactor: edit type payment add id and invoice 2024-12-18 10:00:03 +07:00
Thanaphon Frappet
7a591de6f3 feat add type payment flow account 2024-12-18 09:59:41 +07:00
Methapon2001
75e36663c2 chore: clean datetime function 2024-12-18 09:15:21 +07:00
Methapon2001
f9f0d1d313 refactor: use locale format from moment 2024-12-18 09:15:06 +07:00
Methapon2001
a7158a7511 docs: add function docs 2024-12-18 08:58:29 +07:00
Methapon2001
cd27514c33 refactor: use default locale instead of en-gb 2024-12-18 08:55:04 +07:00
Methapon2001
414b57acbd perf: make use of computed and use same var 2024-12-18 08:51:46 +07:00
Methapon2001
ec04c19e31 chore: cleanup 2024-12-17 15:48:48 +07:00
Methapon2001
d8062c9174 refactor: use switch case for better readability 2024-12-17 15:01:00 +07:00
Methapon2001
ed423cfaf7 refactor: prevent error 2024-12-17 14:57:50 +07:00
Methapon2001
ca38cfaec0 perf: add fallback without waiting for error 2024-12-17 14:39:02 +07:00
Methapon2001
69dd4d67d7 chore: cleanup 2024-12-17 14:39:02 +07:00
Methapon2001
c40743255c fix: wrong condition 2024-12-17 14:39:02 +07:00
Methapon2001
7184c68c83 feat: add key for better perf 2024-12-17 14:39:02 +07:00
Thanaphon Frappet
8c89d32e77 refactor: handle grid inactive 2024-12-17 14:36:50 +07:00
Methapon Metanipat
4528836f17
feat: quotation add worker after accepted (#140)
* feat: add dialog structure

* feat: add select functionality

* chore: clear unused

* feat: pass selectable product into dialog

* feat: add table

* feat: implement select worker and product

* feat: send disabled worker into component

* feat: add event emitted after submit

* chore: cleanup

* feat: add store

* feat: dialogquotationbtn

* feat: import worker from file and select them all

* feat: add title

* feat: add import button

* feat: i18n

* feat: lazy load person card image

* refactor: change import button color

* feat: add import worker button

* chore: cleanup

* chore: clean

* chore: clean

* feat: post quotation add worker appear on expired

* fix: type

* fix: only proceed when import has at least one

* feat: check more condition

* feat: fetch data from api

* fix: worker not update

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: nwpptrs <jay02499@gmail.com>
2024-12-17 14:22:22 +07:00
Methapon2001
79d132f49e feat: only show active only when select flow 2024-12-17 13:44:50 +07:00
Thanaphon Frappet
2debf3b6e9 refactor: edit ui 2024-12-17 13:20:19 +07:00
Thanaphon Frappet
88f8d99baa refactor: add upload file acceptance 2024-12-17 13:16:16 +07:00
Thanaphon Frappet
a367612d20 refactor: add i18n 2024-12-17 13:16:16 +07:00
Methapon2001
7d5a5bc9a5 feat: add dropdown component (currently not use) 2024-12-17 11:42:49 +07:00
Methapon2001
f896715c68 fix: ellipsis not dynamic length 2024-12-17 11:42:49 +07:00
Methapon2001
446983753c feat: align verticle when have slot 2024-12-17 11:42:49 +07:00
Methapon2001
865c82044d fix: make button inline instead 2024-12-17 11:42:49 +07:00
Methapon2001
36f4dc2fbb feat: make prefix id optional 2024-12-17 11:42:49 +07:00
Methapon2001
8c5361ca74 fix: wrong button class name 2024-12-17 11:42:49 +07:00
Methapon2001
6a4ad4ac48 feat: add creatable menu when no options 2024-12-16 17:22:39 +07:00
Methapon2001
e0d24b49cb fix: price not match with original price by .01
This will calculate quantity later when no discount is set.
However when discount is set there may be some number that can introduce
+-0.01
2024-12-16 16:56:06 +07:00
Methapon2001
5afe625290 refactor: date time util function default 2024-12-16 16:27:49 +07:00
Methapon2001
a7d43cd755 feat: add i18n 2024-12-16 16:27:49 +07:00
Methapon2001
c9dd6b9f0e feat: add next button 2024-12-16 16:27:49 +07:00
Methapon2001
ecd527737e fix: static path 2024-12-16 15:43:52 +07:00
puriphatt
a60944a187 refactor: quotation => hide final discount 2024-12-16 11:08:44 +07:00
puriphatt
be9606f5f3 fix: quotation form banner opacity 2024-12-16 11:03:56 +07:00
puriphatt
60e5578d89 feat: quotation => banner 2024-12-16 10:54:12 +07:00
Methapon2001
13149724c6 feat: disable create new if not select branch 2024-12-12 12:09:28 +07:00
Thanaphon Frappet
ae5412da5f refactor: edit code 2024-12-12 12:09:02 +07:00
Thanaphon Frappet
2ac03f6dee refactor: send creatable disabled text 2024-12-12 12:06:59 +07:00
Thanaphon Frappet
af3aa005a3 refactor: send creatable disabled 2024-12-12 12:05:33 +07:00