Commit graph

346 commits

Author SHA1 Message Date
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
Methapon Metanipat
786a68d3f8 feat: add link back to quotation main page on click icon 2024-11-07 10:47:24 +07:00
Thanaphon Frappet
42d4063e69 refactor: add btn form 2024-11-06 17:39:02 +07:00
Thanaphon Frappet
eb6164f0a3 refactor: handle dialog add quotation reset value after 2024-11-05 16:52:58 +07:00
Thanaphon Frappet
4fa0159c02 refactor: fetch status 2024-11-01 18:02:32 +07:00
puriphatt
72fa68462e fix: quotation card status display and i18n 2024-11-01 17:54:27 +07:00
puriphatt
44f27bf2ea fix: get quotation attachment on edit mode 2024-11-01 17:35:36 +07:00
Methapon Metanipat
0ef389c69b
feat: quotation attachment (#49)
* fix: i18n

* fix: 18n

* feat: file upload component

* feat: quotation attachment

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
2024-11-01 17:18:24 +07:00
Methapon Metanipat
7817f8bd40
feat: custom worker count (#46)
* feat: add worker max type

* feat: add default worker max

* refactor: support adjustable worker max

* refactor: bind worker max to form data
2024-11-01 14:34:03 +07:00
Thanaphon Frappet
30edcda058 fix worker double data 2024-11-01 11:18:25 +07:00
puriphatt
57f1d6665f fix: hide btn on pay condition full & status pending 2024-11-01 11:12:43 +07:00
Methapon Metanipat
1325f79bc2 fix: wrong status 2024-11-01 10:55:20 +07:00
Thanaphon Frappet
88d0e1df14 refactor: show total pay split 2024-11-01 10:50:39 +07:00
Thanaphon Frappet
2264686a34 refactor: handle title mode paview 2024-11-01 10:12:09 +07:00
Thanaphon Frappet
241c20356f refactor: by view define props 2024-11-01 10:12:09 +07:00
Methapon Metanipat
9a7fa89f93
feat: add active effect for quotation status box (#44) 2024-11-01 09:56:32 +07:00
Thanaphon Frappet
0dc15e34bb refactro: handle Receipt 2024-11-01 09:12:27 +07:00
Methapon Metanipat
e068304923
feat: receipt view (#41)
* refactor: handle show form  receipt

* refactor: fetch receipt

* fix: i18n

* refactor: quotation receipt components

* refactor: by data Receipt

* refactor: delete  btn peview

* fix: wrong view condition

* rfactor: send Queery quotationId

* refactor: edit condition view

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
Co-authored-by: puriphatt <puriphat@frappet.com>
2024-11-01 09:06:06 +07:00
Methapon Metanipat
a9c9467643
fix: payment (#36)
* refactor: remove pay all checkbox

* fix: select status

* refactor: add i18n

* refactor: add dialog

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-10-31 15:27:55 +07:00
Methapon Metanipat
5058f3cbaf refactor: push indicator to right 2024-10-31 15:01:16 +07:00
Methapon Metanipat
4afcda0bf2 feat: add installment name input for custom installments 2024-10-31 13:49:46 +07:00
Methapon Metanipat
71e400a809 refactor: add installment name for custom installment 2024-10-31 13:49:46 +07:00
puriphatt
317aadb0f7 fix: quotation custom split 2024-10-31 13:49:46 +07:00
Net
0986200910
feat: adjust payment page (#31)
* feat: add installment no label

* feat: update types

* refactor: add i18n

* refactor: view receipt

* refactor: add type

* refactor: add dateFormatTh

* fixup! refactor: add i18n

* fixup! refactor: add dateFormatTh

* refactor: use dateFormatJS in monthDisplay

* refactor: handle year th-TH

* ลบ log

* refactor: handle color view mod
2024-10-31 10:00:35 +07:00