Commit graph

619 commits

Author SHA1 Message Date
Thanaphon Frappet
9fa735c529 refactor: handle name trim 2024-11-29 13:33:07 +07:00
Thanaphon Frappet
5c39f9756a refactor: handle \s 2024-11-29 13:32:19 +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
92e99dd9a4 refactor: edit 18n 2024-11-22 14:37:59 +07:00
Thanaphon Frappet
c6c0b6e78e refactor: handle young worker 18 2024-11-22 14:09:10 +07:00
Thanaphon Frappet
f54ca1bd68 refactor: handle can edit employee 2024-11-22 13:33:02 +07:00
Thanaphon Frappet
c56d14b2ea refactor: set layout no data 2024-11-21 17:40:12 +07:00
Thanaphon Frappet
589869a9eb refactor: handle undefined 2024-11-21 17:24:06 +07:00
puriphatt
e3341d13be refactor: body section bordered & overflow 2024-11-21 12:46:52 +07:00
Thanaphon Frappet
1e15dcc856 refactor: add id 2024-11-21 09:48:46 +07:00
Thanaphon Frappet
bad389f6be refactor: citizen missig 2024-11-20 17:35:33 +07:00
Thanaphon Frappet
b87178e0b5 refactor: handle id 2024-11-20 14:41:55 +07:00
Thanaphon Frappet
1a1f2cb9f3 refactor: reset form 2024-11-20 14:41:42 +07:00
Thanaphon Frappet
937f7cbad4 refactor: edit btn branch 2024-11-20 11:28:50 +07:00
Thanaphon Frappet
7a74852ff6 refactor: add id 2024-11-19 18:02:11 +07:00
Thanaphon Frappet
d18df61b3f fix: ! it is crash 2024-11-19 17:51:20 +07:00
Thanaphon Frappet
c6190bbedc refactor: add prefix id 2024-11-19 10:53:30 +07:00
Thanaphon Frappet
6fa930ff29 refactor: handle show data readonly 2024-11-18 10:07:41 +07:00
Thanaphon Frappet
a7ada91861 refactor: edit current inde of checkup and work 2024-11-18 10:07:41 +07:00
Methapon Metanipat
0c8e314c8b refactor: use page size component 2024-11-18 10:07:41 +07:00
Methapon Metanipat
c2b3fe68f6 fix: field name typo 2024-11-18 10:07:41 +07:00
Methapon Metanipat
add8d91fdf fix: address display 2024-11-14 09:11:30 +07:00
Thanaphon Frappet
f541853c4d refactor: edit align and delete sortable 2024-11-13 17:44:49 +07:00
Thanaphon Frappet
2905d00b59 refactor: edit current page in table 2024-11-13 17:17:28 +07:00
Thanaphon Frappet
40ecbed053 refactor: table add visa expire date and be due 2024-11-13 14:55:31 +07:00
Thanaphon Frappet
e40e85102f refactor: handle current tab of employee 2024-11-13 14:28:40 +07:00
Thanaphon Frappet
e2210e4466 refactor: handle btn add one at a time 2024-11-13 11:58:52 +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
f1813f4cca refactor: handle value is null 2024-11-12 17:49:02 +07:00
Thanaphon Frappet
829a5d8221 refactor: set page Size 2024-11-12 17:12:20 +07:00
Thanaphon Frappet
7816634c36 refactor: function get index 2024-11-12 16:35:33 +07:00
Thanaphon Frappet
89020a9832 refactor: add btn visa 2024-11-12 16:19:56 +07:00
Thanaphon Frappet
0b648d8e45 refactor: edit get value 2024-11-12 16:12:18 +07:00
Thanaphon Frappet
4ff7f50811 refactor: handle value is null 2024-11-12 16:10:12 +07:00
Thanaphon Frappet
11144fd592 refactor: edit get value 2024-11-12 16:09:24 +07:00
Thanaphon Frappet
deb50dc65d refactor: handle attachment customer 2024-11-12 16:05:05 +07:00
Thanaphon Frappet
e70fafe203 refactor: add group value 2024-11-12 16:02:41 +07:00
Thanaphon Frappet
22f19ca8cc refactor: handle put attachment 2024-11-12 16:02:41 +07:00
Thanaphon Frappet
03ba79a401 refactor: edit type work 2024-11-12 10:24:57 +07:00
Thanaphon Frappet
75cd39681d refactor: set default value visa and passport 2024-11-12 09:08:09 +07:00
Thanaphon Frappet
2e1e82b2bc refactor: by value visa 2024-11-12 09:06:26 +07:00
Thanaphon Frappet
ddd1094f3a fix: handle code undefined 2024-11-11 17:47:22 +07:00
Thanaphon Frappet
9c75aa9a45 refactor: by value passport 2024-11-11 15:43:15 +07:00
Thanaphon Frappet
ba717813a1 refactor: map value passport 2024-11-11 14:59:08 +07:00
Thanaphon Frappet
82d28cc3aa refactor: edit type passpor 2024-11-11 14:59:08 +07:00
puriphatt
2bfb90beab fix: format address & card height 2024-11-11 12:11:54 +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
0767f983a5 refactor: edit name id 2024-11-08 11:27:58 +07:00