Commit graph

369 commits

Author SHA1 Message Date
Thanaphon Frappet
e902bcce8d refactor: handle btn installment 2024-11-27 10:46:20 +07:00
Thanaphon Frappet
60c2745627 fix: value pay split change 2024-11-27 09:19:42 +07:00
Methapon Metanipat
d333b6fc37 fix: error passport 2024-11-26 16:51:17 +07:00
puriphatt
e383d21c62 fix: quotation => upload additional readonly condition 2024-11-26 16:00:18 +07:00
puriphatt
2e825e373f fix: quotation => upload additional file 2024-11-26 15:37:50 +07:00
Thanaphon Frappet
ac5ef47432 refactor: handle btn uploadfile 2024-11-26 14:52:02 +07:00
Thanaphon Frappet
0dec580311 refactor: handle invoice id 2024-11-26 14:01:09 +07:00
Thanaphon Frappet
c6a299bc1b fix: array positions do not match 2024-11-26 13:29:58 +07:00
Thanaphon Frappet
c25d1b80ab refactor: handle selectedinstallment is null 2024-11-26 11:46:51 +07:00
puriphatt
1b37bc21a1 fix: reset quotation split and split count 2024-11-26 10:42:23 +07:00
Methapon Metanipat
db0e43ddbb feat: adjust color on dark mode 2024-11-26 09:56:55 +07:00
Methapon Metanipat
0e48837eca feat: enable edit even if it is expired 2024-11-26 09:36:16 +07:00
Methapon Metanipat
a0b9afb806 fix: dark mode color 2024-11-26 09:03:24 +07:00
Thanaphon Frappet
0eaa36b204 cleanup: log 2024-11-25 15:57:21 +07:00
Thanaphon Frappet
8ae7e88659 refactor: handle upload file 2024-11-25 15:50:55 +07:00
Methapon Metanipat
a1f691b399 fix: error option store 2024-11-25 14:58:12 +07:00
puriphatt
9105dcf7fe refactor: quotation card badge color & constant 2024-11-22 16:46:05 +07:00
puriphatt
e3341d13be refactor: body section bordered & overflow 2024-11-21 12:46:52 +07:00
Methapon Metanipat
b0136bba4d
refactor: global shared state and function (#79)
* refactor: expose i18n instance

* feat: add global app utility function

* refactor: use global utility function

* refactor: avoid undefined when use outside vue

refactor: avoid undefined when use outside vue

* refactor: remove dup code and use util

* refactor: auto fetch option when use store
2024-11-21 11:55:44 +07:00
Methapon Metanipat
f6645b0a86
refactor: change stats card icon for each status (#78)
* refactor: change stats card icon for each status

* refactor: change stats color
2024-11-19 15:57:26 +07:00
Thanaphon Frappet
c6190bbedc refactor: add prefix id 2024-11-19 10:53:30 +07:00
Methapon Metanipat
0c8e314c8b refactor: use page size component 2024-11-18 10:07:41 +07:00
puriphatt
5414c014f9 fix: quotation/agencies => header select col 2024-11-14 18:02:44 +07:00
Methapon Metanipat
43ec668dce fix: wrong get invoice list 2024-11-14 11:46:00 +07:00
Thanaphon Frappet
7d71f0498f refactor: edit btn 2024-11-13 17:12:43 +07:00
Thanaphon Frappet
f479e6e016 refactor: handle expire date is null 2024-11-13 15:11:39 +07:00
Thanaphon Frappet
91586b8e92 refactor: by value 2024-11-13 14:58:41 +07:00
Methapon Metanipat
202e8c2e6f
feat: import worker with multiple criteria (#72)
* feat: add i18n import from file

* fix: background color

* feat: add import worker component

* feat: support newer passport

* refactor: update validator

* fix: wrong endpoint

* refactor: change to display passport

* feat: add component and state

* fix: wrong validator

* refactor: add i18n

* refactor: add slont top-append

* refactor: use v-model

* refactor: impurt workder

* fix: criteria

* refactor: add customer branch id

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-11-13 11:53:25 +07:00
Thanaphon Frappet
22f19ca8cc refactor: handle put attachment 2024-11-12 16:02:41 +07:00
Methapon Metanipat
4bd5d11e01 fix: prevent redirect from keycloak login when enter page 2024-11-12 12:02:22 +07:00
Methapon Metanipat
d414685fe7
refactor: api select value (#69)
* feat: add file

* fix: wrong type

* feat: select customer component

* fixup! feat: select customer component

* fix: char case

* refactor: fn alias

* chore: add space

* feat: accept fetch parameter

* refactor: naming

* feat: add emit event create

* fix: add suffix to add text

* feat: add before options slot for select input comp

* fix: error when label not found

* fix: value type

* feat: add required param

* fix: wording

* refactor: fix customer

* feat: use new select component

* chore: add note

* feat: add decoration for select with creatable

* feat: emit event

* feat: close popup on click

* feat: adjust alignment

* feat: add readonly params

* feat: add select branch option

* feat: use new select component

* feat: add disabled params

* feat: adjust internal search and select

* refactor: props type

* feat: use new select component

* feat: add lib for select component

* refactor: use factory function instead

* refactor: merge two lines of code

* refactor: move watch inside

* refactor: fix value not in list check

* chore: cleanup

* fix: remove test page size

* chore: remove unused

* feat: use new select component

* fix: typo

* fix: error

* refactor: extract type

* refactor: change ref var to normal var

* refactor: force overwrite params to prevent error on render

* feat: add clearable parameter

* feat: make clearable
2024-11-12 11:56:14 +07:00
Thanaphon Frappet
2e1e82b2bc refactor: by value visa 2024-11-12 09:06:26 +07:00
Thanaphon Frappet
9c75aa9a45 refactor: by value passport 2024-11-11 15:43:15 +07:00
Net
ce3d809bd9
feat: form ocr (#56)
* refactor: add i18n

* refactor: add id in type employee visa

* refactor: edit layout ui visa

* refactor: add menu visa

* refactor: add type visa

* refactor: by value visa

* refactor: add workerType in option

* refactor: add index visa

* feat: submit add  delete and assign value

* feat: use submitVisa

* fix: col not working

* refactor: handle mrz and remark can is null

* refactor: add i18n

* refactor: add option workerStatus

* refactor: edit layout input

* refactor: menu set sub true

* refactor: add visa at dialog add

* refactor: handle index visa

* refactor: add i18n

* refactor: add input entryCount and issueCountry

* refactor: add input entryCout and issueCountry
2024-11-11 09:39:43 +07:00
Methapon Metanipat
c3269e28b8 feat: disable past date from due date 2024-11-08 15:16:17 +07:00
Thanaphon Frappet
9f7b4340eb refactor: edit btn preview 2024-11-08 14:40:26 +07:00
Methapon Metanipat
1bbf521740 fix: create button only show in first tab only 2024-11-08 14:34:13 +07:00
puriphatt
28b48e6c6f refactor: quotation table width & clear warning 2024-11-08 10:55:58 +07:00
Thanaphon Frappet
983f48f7e2 refactor: switch mode and color 2024-11-08 10:42:27 +07:00
Methapon Metanipat
f0639f342a fix: overflow animation cut 2024-11-07 18:14:38 +07:00
Thanaphon Frappet
55f6a5f84e refactor: add table 2024-11-07 17:53:45 +07:00
Thanaphon Frappet
3608f8d0fe refactor: set colum quotation 2024-11-07 17:53:45 +07:00
Methapon Metanipat
f41fc7656c feat: show quotation / invoice code on enter 2024-11-07 15:32:57 +07:00
Thanaphon Frappet
850782a44d refactor: handle title i18n 2024-11-07 15:12:56 +07:00
Methapon Metanipat
036f8c2891 feat: change tab on enter with query string 2024-11-07 14:57:45 +07:00
Methapon Metanipat
921b6c6106 refactor: routing 2024-11-07 14:55:16 +07:00
Thanaphon Frappet
941dea1a08 refactor: edit tab 2024-11-07 14:23:55 +07:00
Thanaphon Frappet
a2de3f2ffa refactor: edit value page 2024-11-07 14:23:30 +07:00
Methapon Metanipat
87194ca606 feat: change locale to th-TH (sort date-month-year) 2024-11-07 12:45:28 +07:00
Methapon Metanipat
82fc9dd908 feat: adjust display date format 2024-11-07 11:54:40 +07:00