Commit graph

3355 commits

Author SHA1 Message Date
Methapon Metanipat
ac1f034bfa fix: color in dark mode 2024-11-27 09:50:05 +07:00
Thanaphon Frappet
a12edf474d refactor: set page 150 of product 2024-11-27 09:20:49 +07:00
Thanaphon Frappet
e7cb52d482 refactor: add type invoice id 2024-11-27 09:20:24 +07:00
Thanaphon Frappet
60c2745627 fix: value pay split change 2024-11-27 09:19:42 +07:00
Methapon Metanipat
e49ab198a0 feat: check if every item is completed 2024-11-26 17:34:23 +07:00
Methapon Metanipat
de5d470784 feat: scope user to messenger only 2024-11-26 17:08:21 +07:00
Methapon Metanipat
39fa0ffdcb feat: sort agencies 2024-11-26 17:02:31 +07:00
Methapon Metanipat
d333b6fc37 fix: error passport 2024-11-26 16:51:17 +07:00
puriphatt
87a117cc23 fix: request list => swap code on metadata 2024-11-26 16:33:49 +07:00
puriphatt
f87547d1bc fix: request list => form expansion add individual cost 2024-11-26 16:33:09 +07:00
Methapon Metanipat
df3413ad13 refactor: adjust type 2024-11-26 16:19:31 +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
d12acef602 refactor: sort code product 2024-11-26 15:11:06 +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
c6a299bc1b fix: array positions do not match 2024-11-26 13:29:58 +07:00
Thanaphon Frappet
c25d1b80ab refactor: handle selectedinstallment is null 2024-11-26 11:46:51 +07:00
puriphatt
46f4ac4184 refactor: request list => expansion responsive 2024-11-26 11:33:35 +07:00
puriphatt
313e5e3705 fix: request list => prevent null on assign properties 2024-11-26 11:15:05 +07:00
Thanaphon Frappet
d58333224c refactor: delete upload file 2024-11-26 11:08:04 +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
0bb715d7ab refactor: add type 2024-11-26 09:32:48 +07:00
Methapon Metanipat
a0b9afb806 fix: dark mode color 2024-11-26 09:03:24 +07:00
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
puriphatt
4fbdbcb2b8 fix: agencies option 2024-11-25 15:30:46 +07:00
Thanaphon Frappet
4395a72e45 refactor: edit layout 2024-11-25 15:20:21 +07:00
Methapon Metanipat
a1f691b399 fix: error option store 2024-11-25 14:58:12 +07:00
puriphatt
4edd990c88 fix: disable input (dark) 2024-11-25 14:18:06 +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
4f3d39bf59 fix: backward compat 2024-11-25 09:03:50 +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
063439c1c6 fix: quotation card dark mode badge 2024-11-22 16:35:19 +07:00
puriphatt
929acbca29 fix: quotation card code color 2024-11-22 16:33:46 +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
Methapon Metanipat
fcb122a47e feat: add select user component 2024-11-22 10:29:52 +07:00
Methapon Metanipat
59c5c0b0ca refactor: use enum instead 2024-11-22 10:29:52 +07:00
Methapon Metanipat
7d76521fb6 refactor: re-export type 2024-11-22 10:29:52 +07:00