Commit graph

96 commits

Author SHA1 Message Date
puriphatt
fcfc3e2a2b fix: update drawer mini state to adapt based on screen size 2025-01-06 10:05:27 +07:00
puriphatt
7faef797cc refactor: update user image handling and disabled profile menu options 2024-12-26 11:58:07 +07:00
Methapon2001
a0013bdbe0 fix: wrong hidden menu condition 2024-12-04 18:07:10 +07:00
puriphatt
c7f0a6d240 feat: task order menu 2024-12-02 10:02:10 +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
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
1ea35890e9 refactor: menu document 2024-11-11 11:23:52 +07:00
Methapon Metanipat
959fb9b45f refactor: show manage workflow page 2024-11-08 16:44:15 +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
f6479cc72d fix: drawer menu => hide workflow 2024-11-08 13:08:40 +07:00
puriphatt
7debc4ff1a fix: add drawer menu id 2024-11-01 10:02:53 +07:00
puriphatt
13bf8e9ee0 fix: drawer menu dark mode, rearrange 2024-10-31 18:18:29 +07:00
puriphatt
9a8b0ca72f fix: drawer menu hover style 2024-10-31 13:38:46 +07:00
Methapon Metanipat
10e963e430
refactor: drawer menu (#34) 2024-10-31 10:46:42 +07:00
Methapon Metanipat
2558122a6b fix: css syntax 2024-10-31 10:03:39 +07:00
puriphatt
e273ad1015 fix: drawer mini 2024-10-31 09:16:04 +07:00
puriphatt
83d028ec15 chore: clean and rearrange code 2024-10-30 16:12:06 +07:00
puriphatt
3119cef2ff fix: new drawer menu 2024-10-30 16:05:27 +07:00
Methapon Metanipat
6b29d3b017 refactor: extract navigator into store instead 2024-10-30 11:55:53 +07:00
puriphatt
4453d563e6 refactor: fetch config & warning color 2024-10-16 11:14:13 +07:00
Methapon Metanipat
9f49eefaba feat: enable quotation menu 2024-10-10 17:50:58 +07:00
Thanaphon Frappet
4a6a97a413 refactor: add id btn 2024-10-04 16:48:23 +07:00
puriphatt
e4b9e186a8 refactor: quotation 2024-09-30 16:36:18 +07:00
puriphatt
1fd6857606 refactor(02): remove disable date 2024-09-25 13:13:28 +07:00
puriphatt
182ddc2d92 fix: add id drawer 2024-09-18 15:04:45 +07:00
puriphatt
286fe5bd31 refactor: profile menu id 2024-09-18 14:21:07 +07:00
puriphatt
d818e9e027 refactor: profile menu id 2024-09-18 14:10:03 +07:00
puriphatt
f7bf9fa91b feat: quatation tree 2024-09-16 10:32:06 +07:00
Net
fa1f2f61ef refactor: check role head_of_account 2024-09-04 14:37:22 +07:00
puriphatt
5adf80142a refactor: profile menu role 2024-09-03 10:48:00 +07:00
Net
762fcd84b2 refactor: Check role 2024-08-30 11:43:05 +07:00
puriphatt
185a713ad1 fix: i18n & work name before close 2024-08-28 18:05:01 +07:00
Methapon Metanipat
c681b19e39 Merge refactor/i18n into develop 2024-08-26 16:24:18 +07:00
puriphatt
18efaa48b6 refactor: misc 2024-08-20 18:04:42 +07:00
puriphatt
a6ad22f8de fix: drawer padding 2024-08-19 15:05:37 +07:00
Net
aabc068430 refactor: edit padding 2024-08-16 17:46:37 +07:00
puriphatt
e1a05f544d fix: drawer tooltip 2024-08-16 11:09:53 +07:00
puriphatt
2f289cfaea refactor(04): service work product price color 2024-08-15 15:18:26 +07:00
puriphatt
7d63e2ac2f fix: role owner and system view 2024-08-15 12:34:14 +07:00
puriphatt
8286ea19b9 refactor: role admin view 2024-08-15 12:31:30 +07:00
Methapon2001
db2c1bb050 feat: ้hidden menu 2024-08-15 12:09:31 +07:00
puriphatt
751b92c94e fix: ellipsis layout drawer 2024-08-15 11:56:20 +07:00
Methapon2001
079b70abdd feat: add dms menu 2024-08-14 19:53:23 +07:00
Methapon2001
be7a036b8d refactor: use alias 2024-08-09 15:06:41 +07:00
Methapon2001
f9494dc845 chore: clean 2024-08-09 15:03:03 +07:00
Methapon2001
0faecf0752 chore: clean 2024-08-09 14:39:15 +07:00
Net
a4b7df62eb refactor: add default img admin 2024-08-07 14:16:27 +07:00
Net
de7346c9f5 refactor: edit size icon 2024-08-06 13:32:52 +07:00
Methapon2001
457217a257 fix: image not show on build 2024-08-06 13:23:04 +07:00
Methapon2001
e58db7085c refactor: option to use or not use i18n 2024-08-06 08:56:50 +07:00