Commit graph

3513 commits

Author SHA1 Message Date
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
Methapon2001
3e7aead548 fix: remove unused 2024-12-12 11:54:42 +07:00
Methapon2001
4f180360df fix: regression first user branch not selected 2024-12-12 10:42:51 +07:00
Thanaphon Frappet
93804499f8 refactor: condition rules 2024-12-12 10:09:25 +07:00
puriphatt
3b34fe2300 fix: i18n สั่งแล้วรอดำเนินการ 2024-12-12 09:33:40 +07:00
puriphatt
6193ac45ca refactor: 03 => table employee no data label 2024-12-12 09:12:08 +07:00
Thanaphon Frappet
c48e3e3657 refactor: handle date can is null 2024-12-11 15:35:20 +07:00
Thanaphon Frappet
04187c0594 refactor: edit condition show telephon 2024-12-11 15:24:07 +07:00
Thanaphon Frappet
f57e2a3ba5 refactor: handle Date can is null 2024-12-11 15:00:02 +07:00
Thanaphon Frappet
c7852c7782 fix: incomplete information 2024-12-11 14:59:36 +07:00
Thanaphon Frappet
6edee8829d refactor: edit condition role 2024-12-11 14:06:41 +07:00
puriphatt
3b30e9a736 refactor: customer => display no data condition 2024-12-11 13:52:23 +07:00
Methapon2001
6f9e693c58 fix: select same image result in image not change 2024-12-11 13:28:49 +07:00
Methapon2001
0bd5b3dcb1 fix: select same image result in image not change 2024-12-11 13:26:06 +07:00
Thanaphon Frappet
ca7713c88e refactor:handle sub branch 2024-12-11 12:06:04 +07:00
Methapon2001
e95078e75e fix: selected first branch wrong 2024-12-11 09:48:11 +07:00
Thanaphon Frappet
4fcf39adb7 fix: code missing 2024-12-10 16:52:39 +07:00
Thanaphon Frappet
39509fa138 refactor: handle current branch admin 2024-12-10 16:35:44 +07:00
Thanaphon Frappet
de8df46aef refactor: check role 2024-12-10 16:03:30 +07:00
puriphatt
a5dd047ee5 fix: customer => warning 2024-12-10 15:55:01 +07:00
Methapon2001
682d6cdae8 feat: scope select user to active branch only 2024-12-10 15:54:01 +07:00
Thanaphon Frappet
db12f4f75e refactor: chech role 2024-12-10 15:29:10 +07:00