Commit graph

187 commits

Author SHA1 Message Date
Methapon2001
c40743255c fix: wrong condition 2024-12-17 14:39:02 +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
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
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
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
puriphatt
1b4c06b182
fix/refactor: quotation installment (#121)
* refactor/feat: i18n

* chore: clean log

* refactor: type

* refactor: installment and product table state relation

* refactor: handle split custom

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-12-06 11:01:52 +07:00
puriphatt
bb8d007b2d refactor: quotation step responsive 2024-12-04 15:42:09 +07:00
Thanaphon Frappet
127d8c0ebc fix: worker missing 2024-12-02 17:47:53 +07:00
Thanaphon Frappet
d0eaafb9d8 refactor: delete document receive point 2024-12-02 17:00:07 +07:00
Thanaphon Frappet
d6c0d8da92 refactor: delete docment receive point 2024-11-29 10:17:36 +07:00
Thanaphon Frappet
5d5621882e fix: value no update 2024-11-28 14:50:22 +07:00
puriphatt
7b3b506d2e fix: quotation remark readonly 2024-11-27 15:52:04 +07:00
puriphatt
af2c42ce5f fix: quotation remark readonly 2024-11-27 15:15:25 +07:00
Methapon2001
25e6585359 fix: wrong preview condition 2024-11-27 15:11:09 +07:00
puriphatt
91ecf7cf8f refactor: quotation remark toggle 2024-11-27 15:02:35 +07:00
Methapon2001
435d2ce4c8 feat: add preview template text 2024-11-27 14:27:02 +07:00
puriphatt
9eca449031 refactor: q-editor 2024-11-27 13:55:59 +07:00
Thanaphon Frappet
389052830a refactor: handle reset value 2024-11-27 11:49:33 +07:00
Thanaphon Frappet
ebc9c3e773 refactor: handle upload file 2024-11-27 11:21:02 +07:00
Thanaphon Frappet
e902bcce8d refactor: handle btn installment 2024-11-27 10:46:20 +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
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
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