Commit graph

230 commits

Author SHA1 Message Date
nwpptrs
71ccf65f9d refactor: handleDate 2024-12-04 15:42:33 +07:00
Thanaphon Frappet
9ddb22426b refactor: btn sort hide 2024-12-02 10:00:41 +07:00
Thanaphon Frappet
0d72c5eee6 refactor: handle input rules 2024-11-29 13:57:19 +07:00
Thanaphon Frappet
9fa735c529 refactor: handle name trim 2024-11-29 13:33:07 +07:00
Methapon Metanipat
ac1f034bfa fix: color in dark mode 2024-11-27 09:50:05 +07:00
Methapon Metanipat
972f6ba13e
feat: menu request list (#75)
* feat: i18n

* feat: request list

* refactor: hide stat transition on app.scss

* feat: request list i18n

* feat: request list => constants and main page

* feat: add store

* feat: add fetch data

* feat: add utilities fn

* feat: add store function / types

* refactor: request list type

* refactor: request list constants

* refactor: quotation card => add customData and badge color props

* feat: avatar group components

* feat: request list group

* refactor: request list => remove tab, add table data

* feat: send search query

* feat: add parameter

* refactor: remove unused function

* fix: rename component lits to list

* feat: show stats from api

* chore: cleanup

* refactor: make it type safe

* refactor: accept rotate flow id as parameter

* feat: use page size component

* feat: add component, data display & expansion product

* feat: i18n

* refactor: constants and request list table

* refactor: type code, createdAt, updatedAt

* refactor: utils function changThemeMode

* feat: request list => view page

* refactor: use type instead of infer from value

* fix: function getEmployeeName att type

* refactor: fetch work list

* refactor: loop work list

* feat: add i18n duty

* feat: add form issue component

* feat: add form issue section

* fix: store error

* refactor: edit by value

* refactor: accept basic info from outside instead

* feat: add status filter support on fetch

* refactor: remove delete button

* refactor: wording

* feat/fix: request list i18n & constant

* feat: document type

* feat/refactor: request list => document expansion

* refactor: doc expansion use FormGroupHead

* refactor: fetch data based on id from route param

* refactor: text area disable

* feat: properties expansion display (mocking)

* refactor: add document at product relation

* refactor: edit get value product

* feat: get workflow step to show on top

* refactor: add type

* refactor: add get attachment

* refactor: add view attachment

* refactor: edit file name

* refactor: define props get hide icon

* refactor: edit align row

* refactor: by value table document

* refactor: by value row table

* feat: add independent ocr dialog

* chore: clean up

* refactor: accept more props and small adjustment

* fix: error withDefault call

* feat: accept default metadata when open

* fix: typo

* feat: add override hook when finish ocr

* feat: reset state on open

* feat: detect reader result is actually string

* fix: variable name conflict

* feat: properties to input component

* feat: properties input in properties expansion

* feat: properties expansion data (temporary)

* refactor: add i18n status work

* refactor: edit type work status and add step status

* refactor: add edit status work

* refactor: edit step work

* refactor: properties data type

* refactor: filter selected product & specific properties

* feat: add emit event

* refactor: change variable name for better understanding

* refactor: hide step that no properties

* refactor: work status type to validate

* feat: work status color

* refactor: key for filename

* refactor: close expansion when change step

* refactor: responsive meta data

* refactor: product expansion responsive

* fix: dark mode step text color

* fix: document expansion table no data label

* refactor: main page body bordered and overflow hidden

* refactor: use utils function instead

* refactor: add process

* refactor: by value  name

* refactor: add upload file

* refactor: upload file

* refactor: by value

* fix: option worker type

* refactor: fetchRequestAttachment after edit

* fix: metadata display

* refactor: add class full-height

* refactor: edit type

* refactor: fetch file

* refactor: by value visa

* refactor: request list attributes type

* fix: properties to input props (placeholder, readonly, disable)

* feat: request list properties function

* fix: error when no workflow

* docs: update comment to fix indent

* refactor: step type (attributes)

* refactor: add attributes payload on editStatusRequestWork function

* feat/refactor: functional form expansion/filter worklist

* refactor: set attributes properties after submit

* refactor: add request work ready status

* feat: request list => form employee component

* feat/refactor: form expansion select user/layout

* fix: properties readonly

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-11-22 18:02:03 +07:00
Thanaphon Frappet
1e15dcc856 refactor: add id 2024-11-21 09:48:46 +07:00
Thanaphon Frappet
3036ca1070 refactor: add id 2024-11-20 17:35:45 +07:00
Thanaphon Frappet
4515f93933 refactor: edit layout 2024-11-18 10:07:41 +07:00
Thanaphon Frappet
fcb4c4a5f8 refactor: edit border of visa 2024-11-14 14:01:15 +07:00
Methapon Metanipat
5134617ae2 feat: computed and disable issue / expire date 2024-11-13 15:26:31 +07:00
Thanaphon Frappet
d2a434a3a3 refactor: edit condition 2024-11-13 13:58:21 +07:00
Thanaphon Frappet
481d9d4e9e refactor: handle the value of being crushed 2024-11-13 11:46:43 +07:00
Thanaphon Frappet
55aacaac1e fix: table value missing 2024-11-13 10:33:37 +07:00
Thanaphon Frappet
90c8b1732a refactor: by value passport and visa 2024-11-13 10:13:00 +07:00
Thanaphon Frappet
cf15595fb9 refactor: edit layout 2024-11-12 10:40:11 +07:00
Thanaphon Frappet
8004f4fa2f refactor: edit layout work 2024-11-12 10:25:17 +07:00
Thanaphon Frappet
207e5ddcf4 refactor: edit layout checkup 2024-11-12 09:29:19 +07:00
Thanaphon Frappet
3527d29427 refactor: edit layout visa 2024-11-12 09:03:46 +07:00
Thanaphon Frappet
bb4164779e refactor: edit layout form in ocr 2024-11-11 15:43:15 +07:00
Thanaphon Frappet
82d28cc3aa refactor: edit type passpor 2024-11-11 14:59:08 +07:00
Methapon Metanipat
0b696032c1 fix: disable autocomplete for select with input 2024-11-11 10:57:11 +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
9f27012cb1 refactor: hide btn action 2024-11-01 11:27:47 +07:00
Methapon Metanipat
05c1c07384
feat: add employee under employer (#35)
* refactor: btn add in table

* refactor: Emits addEmployee

* fix: visa can is null

* refactor: update data

* fix: number not update

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-10-31 17:43:56 +07:00
Methapon Metanipat
ab08036962 fix: typo 2024-10-30 09:04:55 +07:00
Methapon Metanipat
5be3a05bc4 fix: typo 2024-10-29 11:53:08 +07:00
Thanaphon Frappet
809d3e5b33 refactor: handle data is null 2024-10-29 09:16:18 +07:00
Thanaphon Frappet
c9035cd878 refactor: switch nameEN 2024-10-29 09:07:01 +07:00
Thanaphon Frappet
ff3cb87f98 refactor: edit column 2024-10-29 09:06:05 +07:00
Thanaphon Frappet
0672b67cbf refactor: show namePrefix 2024-10-28 19:56:41 +07:00
Thanaphon Frappet
d072ed015a refactor: handle nrcNO not required 2024-10-28 19:55:39 +07:00
Thanaphon Frappet
b1904a4d99 refactor: use i18n 2024-10-25 16:48:10 +07:00
Thanaphon Frappet
03d0916f26 refactor: move function to utile 2024-10-25 16:48:10 +07:00
puriphatt
55a443521f fix: employee customerBranch display (registerName) 2024-10-21 15:02:37 +07:00
Thanaphon Frappet
ebd2ff6057 refactor: edit conditions show full name 2024-10-17 11:49:40 +07:00
Thanaphon Frappet
2b0587c116 refactor: handle gender and prefixName 2024-10-15 14:50:48 +07:00
Methapon Metanipat
1fb2606885 fix: scoped css 2024-10-15 10:24:16 +07:00
Thanaphon Frappet
2c1d2e26a0 refactor:edit color 2024-10-09 13:35:06 +07:00
Thanaphon Frappet
b20f40658d refactor: edit name components 2024-10-04 15:08:36 +07:00
Thanaphon Frappet
bfc59d1d6f refactor:set items-center 2024-10-04 13:32:16 +07:00
Thanaphon Frappet
67b3f5be89 refactor: show expiratio date 2024-10-04 13:32:16 +07:00
puriphatt
9d745d8e52 refactor: worker select & employee nationality 2024-10-03 18:10:40 +07:00
Thanaphon Frappet
e969db16e0 refactor: add tab passport 2024-10-03 17:35:56 +07:00
Thanaphon Frappet
a37b0726d7 refactor: add mask at input nrc 2024-10-02 14:59:51 +07:00
Thanaphon Frappet
d7a99d2ee2 refactor: edit name defineModel 2024-10-02 14:04:23 +07:00
Methapon Metanipat
f7d6cdfd6e refactor: update select items 2024-09-30 11:35:21 +07:00
puriphatt
c76dd473bb refactor: q-step count 2024-09-27 17:32:26 +07:00
Methapon Metanipat
a09fbeb29e fix: change history function 2024-09-27 17:02:03 +07:00
puriphatt
eefddd1963 fix: history i18n 2024-09-27 17:01:10 +07:00