Commit graph

48 commits

Author SHA1 Message Date
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
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
6b29d3b017 refactor: extract navigator into store instead 2024-10-30 11:55:53 +07:00
Methapon Metanipat
77bc4973a9 refactor: util fn 2024-10-30 11:36:30 +07:00
Methapon Metanipat
8e8e29941f feat: abstract function 2024-10-30 11:26:27 +07:00
Thanaphon Frappet
03d0916f26 refactor: move function to utile 2024-10-25 16:48:10 +07:00
puriphatt
6f887edd42 fix: comma input 2024-10-25 15:18:50 +07:00
Methapon Metanipat
c9f582359c fix: double upload attachment 2024-10-24 13:25:44 +07:00
Thanaphon Frappet
fbc47c7d86 refactor: edit name value filName -> nameField 2024-10-24 10:27:03 +07:00
Methapon Metanipat
4bf0e22bc2 feat: add abort upload and upload progress handler 2024-10-22 15:22:32 +07:00
Methapon Metanipat
f899e909f0 feat: add abort upload controller as function args 2024-10-22 15:02:18 +07:00
puriphatt
f5626f9f2e fix: quotation attachment 2024-10-22 15:01:06 +07:00
Thanaphon Frappet
5774dfcf5c refactor: create payment file 2024-10-21 15:17:34 +07:00
Methapon Metanipat
3b3979e403 refactor(utils): always append currency .00 2024-10-21 15:05:40 +07:00
puriphatt
2abdc093a1 fix(05): slip file display 2024-10-21 14:04:21 +07:00
Thanaphon Frappet
792d62b0ea refactor: warningClose 2024-10-18 13:57:31 +07:00
Methapon Metanipat
fdf7cf0346 chore: clean 2024-10-17 12:56:28 +07:00
puriphatt
2fe37da69f refactor(05): custom installments 2024-10-15 16:56:07 +07:00
puriphatt
baed61b66b chore: clean 2024-10-15 09:40:58 +07:00
Thanaphon Frappet
c5e7e477be refactor: add DialogDuplicateDate 2024-10-10 17:22:58 +07:00
puriphatt
263a4fcedc fix: comma input & i18n 2024-10-09 09:43:18 +07:00
Thanaphon Frappet
6879d0868c refactor: file can is null 2024-10-03 17:34:57 +07:00
puriphatt
401dbab1ca fix: product decimal 2024-09-26 13:36:39 +07:00
puriphatt
3ae816c4c5 fix: comma function 2024-09-25 14:46:24 +07:00
Net
48bf222f4e refactor: add function manageMeta 2024-09-19 10:16:03 +07:00
Methapon Metanipat
d826188915 refactor: always add slash in front 2024-09-18 15:38:35 +07:00
Net
62269efbb6 refactor: add base in url 2024-09-18 09:10:43 +07:00
Methapon Metanipat
66b167dea5 refactor: api store 2024-09-17 11:41:09 +07:00
Net
47d775ca58 refactor: add function resetScrollBar 2024-09-05 10:37:32 +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
4899688740 feat: function in role include 2024-08-20 10:41:48 +07:00
puriphatt
f958714445 feat: quasar notify 2024-08-07 04:18:04 +00:00
Net
2ab3cae057 refactor: edit baseUrl 2024-08-06 15:02:13 +07:00
Methapon2001
71d8b8b06c feat: detect unsave and confirmation 2024-08-06 09:22:45 +07:00
puriphatt
be397112f6 feat: check tab before add 2024-07-30 07:19:14 +00:00
puriphatt
05651af9a8 refactor: select input & filter 2024-07-26 10:31:30 +00:00
Methapon2001
8520e2d8f5 feat: add ability to fetch in this function 2024-07-26 15:29:58 +07:00
Methapon2001
0b8c0aa9ad feat: add select options with filter fn factory 2024-07-26 11:29:34 +07:00
puriphatt
1c5acba093 fix: change calculate age function store 2024-07-16 03:24:13 +00:00
Methapon2001
3a69c5e44e feat: change path in product service 2024-07-08 16:29:37 +07:00
Methapon2001
e631ed9c47 feat: refactor for path support 2024-07-08 14:41:05 +07:00
puriphatt
bcd81d0f41 fix: layout and utilsStore 2024-07-02 09:11:10 +00:00
puriphatt
e06abf1e77 feat: confirm close while edit work name 2024-06-24 09:01:44 +00:00
puriphatt
1822051a78 feat: utils function move & delete array item 2024-06-20 05:01:03 +00:00
puriphatt
8fdc916955 fix: alert i18n dialog 2024-06-17 04:00:22 +00:00
puriphatt
c2f6d53e51 fix: add cal age to utils store 2024-06-10 11:22:45 +00:00
Net
e8ec46d19f first commit 2024-04-02 11:02:16 +07:00