Commit graph

157 commits

Author SHA1 Message Date
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
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
Thanaphon Frappet
c6190bbedc refactor: add prefix id 2024-11-19 10:53:30 +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
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
Thanaphon Frappet
983f48f7e2 refactor: switch mode and color 2024-11-08 10:42:27 +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
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
4fa0159c02 refactor: fetch status 2024-11-01 18:02:32 +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
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
5058f3cbaf refactor: push indicator to right 2024-10-31 15:01:16 +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
Thanaphon Frappet
52cf5345a0 refactor: handle color 2024-10-30 14:11:12 +07:00
Thanaphon Frappet
caa3e59777 refactor: delete log 2024-10-30 11:55:43 +07:00
Thanaphon Frappet
be018ec48d refactor: handle peview mod 2024-10-30 11:54:49 +07:00
Thanaphon Frappet
57f0e39821 refactor: handle btn save 2024-10-30 10:31:14 +07:00
Thanaphon Frappet
db67ccd05c refactor: update status 2024-10-30 10:24:24 +07:00
Methapon Metanipat
7ea8a618fa refactor: project structure (1) 2024-10-30 09:34:46 +07:00
Methapon Metanipat
c43a909fcc refactor: file name 2024-10-30 08:59:20 +07:00
Thanaphon Frappet
f4d225985a refactor: add page invoice 2024-10-29 18:02:20 +07:00
Thanaphon Frappet
aedd65edfc refactor: edit table paySplit 2024-10-29 11:56:07 +07:00
Thanaphon Frappet
7ef44227b9 refactor: add table paySplit 2024-10-29 11:06:13 +07:00
Methapon Metanipat
38d63ea0b8 feat: hide expire when condition met 2024-10-29 10:47:59 +07:00
Methapon Metanipat
640aac51e2 feat: also get installment no from preset data 2024-10-29 10:42:34 +07:00
Methapon Metanipat
da8dc33b15 refactor: remove date from installments 2024-10-29 09:57:11 +07:00