Commit graph

317 commits

Author SHA1 Message Date
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
nwpptrs
519b0d7e94 refactor: handlevirtualname 2024-12-04 17:46:27 +07:00
puriphatt
24a41868dd fix: branch => branch name rules 2024-12-04 11:37:36 +07:00
Thanaphon Frappet
dcf0977ceb refactor: add i18n 2024-12-02 16:15:04 +07:00
puriphatt
530ad6042b feat: task order => column constant 2024-12-02 10:57:35 +07:00
puriphatt
936fd7ebdd refactor: task order main page & constants 2024-12-02 10:35:50 +07:00
puriphatt
3ebfef9d81 refactor: i18n task order 2024-12-02 10:01:52 +07:00
puriphatt
7109d626ba refactor: request list => meta data display 2024-11-29 16:33:50 +07:00
Thanaphon Frappet
89f67265b6 refactor: edit i18n 2024-11-29 10:17:36 +07:00
puriphatt
2c4508861b refactor: request list => no workflow & i18n 2024-11-28 10:40:46 +07:00
puriphatt
da0b765f81 refactor: add authFailed i18n 2024-11-28 09:59:46 +07:00
Thanaphon Frappet
8ed96d9213 refactor: edit i18n 2024-11-27 15:30:07 +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
2475a346b3 refactor: edit 18n 2024-11-13 13:44:25 +07:00
Thanaphon Frappet
88fe4c86b5 refactor: add i18n en 2024-11-13 13:13:47 +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
ece9827d04 refactor: edit value i18n 2024-11-13 11:34:36 +07:00
Methapon Metanipat
9d61ab8946 feat: add i18n 2024-11-12 16:35:33 +07:00
puriphatt
42e2f2b21d
feat: workflow template properties (#70)
* feat: add i18n

* refactor/feat: workflow attributes type

* refactor: workflow => gray stat card

* refactor: select menu with search => separator

* feat: workflow => workflow step properties

* fix: workflow type

* fix: dialog properties component => model data

* fix: form flow => prevent toggle expansion with keyboard

* refactor: workflow step data & change status

* fix: form flow properties btn

* refactor: side menu => hide sub index

* feat: workflow => avatar & status on table

* refactor: workflow => drawer id and dialog id

* feat: workflow => card

* fix: agencies => format address
2024-11-12 15:33:15 +07:00
Methapon Metanipat
082310d95c fix: wording 2024-11-12 15:23:07 +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
Methapon Metanipat
a227744131 fix: typo 2024-11-12 11:37:24 +07:00
Thanaphon Frappet
a38cd5e75d refactor: add i18n 2024-11-12 10:39:38 +07:00
Thanaphon Frappet
fbfe8399fb refactor: add i18n work 2024-11-12 10:23:14 +07:00
Thanaphon Frappet
33c81676c6 refactor: edit i18n 2024-11-12 09:28:48 +07:00
puriphatt
eaa55c7ae4 fix: i18n flow caption 2024-11-11 12:10:55 +07:00
puriphatt
040f29aed9 refactor: address i18n 2024-11-11 11:28:54 +07:00
Thanaphon Frappet
1ea35890e9 refactor: menu document 2024-11-11 11:23:52 +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
puriphatt
b87e15301f
feat: menu agencies (#65)
* feat: agencies => add agencies menu

---------

Co-authored-by: Methapon Metanipat <methapon@frappet.com>
2024-11-08 13:11:42 +07:00
puriphatt
d977ad28ab fix: i18n => เงน to เงิน 2024-11-08 11:02:56 +07:00
puriphatt
9708258e7a
feat: add workflow template fields (#63)
* feat: add type detail

* feat: option => agencies type

* feat: agencies i18n

* fix: workflow => add institution type

* refactor: map option specific category, key

* feat: select menu with search components

* feat: workflow => add field step description & agencies

* fix: workflow => table page

* refactor: workflow => floating dialog submit

---------

Co-authored-by: Methapon Metanipat <methapon@frappet.com>
2024-11-07 18:09:00 +07:00
Thanaphon Frappet
411fffe82f refactor: add i18n 2024-11-07 17:53:45 +07:00
Methapon Metanipat
e705821d89 fix: wording 2024-11-07 14:54:55 +07:00
Thanaphon Frappet
3e240aeaf8 refactor: add i18n expired 2024-11-07 14:20:32 +07:00
Thanaphon Frappet
f09cbd3a78 refactor: add i18n receipt 2024-11-07 12:50:51 +07:00
Methapon Metanipat
4bfa5e8906
refactor: urgent quotation card (#60) 2024-11-07 10:55:55 +07:00
Thanaphon Frappet
dd2563123e refactor: add i18n 2024-11-06 17:38:29 +07:00
Thanaphon Frappet
2cce436ee8 refactor: add i18n 2024-11-06 17:38:01 +07:00
puriphatt
72adf220a8 fix: workflow => th i18n 2024-11-06 16:11:06 +07:00
puriphatt
fca500e96b fix: customer => employee table th i18n 2024-11-06 16:08:33 +07:00
Thanaphon Frappet
f68d49a0d9 refactor: edit i18n th 2024-11-05 10:15:29 +07:00
Thanaphon Frappet
c4305730b0 refactor: add i18n 2024-11-04 15:38:12 +07:00
Thanaphon Frappet
c92c3601c3 refactor: add i18n 2024-11-04 14:43:36 +07:00
Thanaphon Frappet
2f9dc1cfb7 refactor: add i18n 2024-11-04 14:13:01 +07:00
puriphatt
8eebd9746e fix: service => workflow properties text and condition 2024-11-04 12:48:38 +07:00
puriphatt
cf809b0b4f fix: service => not display workflow when no properties 2024-11-04 12:43:55 +07:00
puriphatt
72fa68462e fix: quotation card status display and i18n 2024-11-01 17:54:27 +07:00