Commit graph

1638 commits

Author SHA1 Message Date
Thanaphon Frappet
7fba54a376 refactor: delete kabab action 2024-11-25 17:30:25 +07:00
Methapon Metanipat
3bc941dd25 fix: error when no step 2024-11-25 17:26:50 +07:00
Thanaphon Frappet
0eaa36b204 cleanup: log 2024-11-25 15:57:21 +07:00
puriphatt
80f45501e4 fix: edit service work id 2024-11-25 15:56:27 +07:00
Thanaphon Frappet
8ae7e88659 refactor: handle upload file 2024-11-25 15:50:55 +07:00
Methapon Metanipat
a1f691b399 fix: error option store 2024-11-25 14:58:12 +07:00
Thanaphon Frappet
29c7186f9a refactor: handle filter file customer or employee 2024-11-25 10:50:52 +07:00
puriphatt
1df27aeed0 fix: properties workflow when create package 2024-11-25 09:57:35 +07:00
Methapon Metanipat
10534f2f25 fix: error when no data 2024-11-25 09:39:37 +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
puriphatt
9105dcf7fe refactor: quotation card badge color & constant 2024-11-22 16:46:05 +07:00
puriphatt
da4842a4dd fix: package properties 2024-11-22 16:16:38 +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
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
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
puriphatt
60f93a16e0 fix: package properties flow not current when change 2024-11-20 15:33:45 +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
puriphatt
9b96d22480 fix/refactor: handle submit properties 2024-11-19 17:39:56 +07:00
Methapon Metanipat
f6645b0a86
refactor: change stats card icon for each status (#78)
* refactor: change stats card icon for each status

* refactor: change stats color
2024-11-19 15:57:26 +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
puriphatt
5414c014f9 fix: quotation/agencies => header select col 2024-11-14 18:02:44 +07:00
Thanaphon Frappet
201a1ce35f refactor: handle i18n 2024-11-14 15:11:55 +07:00
Methapon Metanipat
43ec668dce fix: wrong get invoice list 2024-11-14 11:46:00 +07:00
puriphatt
9667c39040 fix: branch => caption i18n 2024-11-14 10:21:17 +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
7d71f0498f refactor: edit btn 2024-11-13 17:12:43 +07:00
Methapon Metanipat
6e796049d5
refactor: package workflow (#73)
* fix: service attributes type

* feat: select workflow component

* refactor: dialog properties => select work flow

* refactor: package => work new workflow step

* fix: useless  in future (service properties)

* fix: handle work undefine

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
2024-11-13 16:06:32 +07:00
Thanaphon Frappet
bd718eb492 fix: search shared product 2024-11-13 15:43:41 +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
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
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