Commit graph

330 commits

Author SHA1 Message Date
puriphatt
30dfa64930 refactor: package => workflow id 2024-11-29 16:53:38 +07:00
Thanaphon Frappet
e7eb53dd57 refactor: sort product is add 2024-11-29 15:10:25 +07:00
puriphatt
a73a3fc7db fix: product => ellipsis detail 2024-11-28 13:36:06 +07:00
puriphatt
9440fdd412 fix: product detail v-html display 2024-11-28 09:47:12 +07:00
Thanaphon Frappet
8fe0e76bd6 refactor: add class col 2024-11-27 15:02:51 +07:00
Thanaphon Frappet
696b465e7b refactor: use table product 2024-11-27 14:56:28 +07:00
puriphatt
718659cdfc fix: package => remove work id when create package 2024-11-27 11:27:31 +07:00
Thanaphon Frappet
f064ede9d3 refactor: edit page size 2024-11-27 11:05:39 +07:00
puriphatt
925ed7dd9e refactor: handle submit work properties 2024-11-27 10:59:03 +07:00
Thanaphon Frappet
a12edf474d refactor: set page 150 of product 2024-11-27 09:20:49 +07:00
puriphatt
80f45501e4 fix: edit service work id 2024-11-25 15:56:27 +07:00
puriphatt
1df27aeed0 fix: properties workflow when create package 2024-11-25 09:57:35 +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
da4842a4dd fix: package properties 2024-11-22 16:16:38 +07:00
puriphatt
e3341d13be refactor: body section bordered & overflow 2024-11-21 12:46:52 +07:00
puriphatt
60f93a16e0 fix: package properties flow not current when change 2024-11-20 15:33:45 +07:00
puriphatt
9b96d22480 fix/refactor: handle submit properties 2024-11-19 17:39:56 +07:00
Thanaphon Frappet
c6190bbedc refactor: add prefix id 2024-11-19 10:53:30 +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
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
puriphatt
2bfb90beab fix: format address & card height 2024-11-11 12:11:54 +07:00
Thanaphon Frappet
2a4da33770 fix: pending search value 2024-11-08 17:04:10 +07:00
Methapon Metanipat
c44914c22f fix: cannot search shared product 2024-11-08 15:13:33 +07:00
Methapon Metanipat
f3fdaac2b1
feat: add product document list (#64)
* feat: product => document select
2024-11-08 10:22:50 +07:00
puriphatt
ddcde2ef49 fix: service => side menu no wrap, splitPay input width 2024-11-06 17:14:49 +07:00
Thanaphon Frappet
eed5a24fe7 fix: productGroupId missing 2024-11-05 10:01:15 +07:00
Thanaphon Frappet
a848beb1bf refactor: correct the typo 2024-11-05 09:45:48 +07:00
Thanaphon Frappet
ef61354e67 fix: splitPay can't set 2024-11-04 14:46:44 +07:00
puriphatt
cf809b0b4f fix: service => not display workflow when no properties 2024-11-04 12:43:55 +07:00
Methapon Metanipat
d74a5e6ca5
fix: move package create button to top right (#43)
* fix: move package create button to top right

* fix: move product and product group save button

* fix: make button stick to top right

* fix: product => price input debounce

* fix: product => installmentNo default

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
2024-11-01 14:30:33 +07:00
Methapon Metanipat
6b29d3b017 refactor: extract navigator into store instead 2024-10-30 11:55:53 +07:00
puriphatt
b96989b559 fix: work product installmentNo 2024-10-30 10:38:24 +07:00
puriphatt
c0b89478b9 fix: service work product attributes (workflow) 2024-10-30 10:18:17 +07:00
Methapon Metanipat
7ea8a618fa refactor: project structure (1) 2024-10-30 09:34:46 +07:00
puriphatt
aaa39fc72f fix(04): service with workflow 2024-10-29 17:17:32 +07:00
Methapon Metanipat
795a87312e feat: add shared product group 2024-10-28 17:19:38 +07:00
puriphatt
3395995f68 refactor: workflow 2024-10-28 11:04:58 +07:00
puriphatt
1fe2c3a96c refactor: flow 2024-10-25 16:06:13 +07:00
Thanaphon Frappet
0b3b0c26db refactor: add installmentNo 2024-10-25 13:26:09 +07:00
puriphatt
f2258e9e90 fix: workflow template => flow form data, scroll to last item, sidemenu active 2024-10-25 10:12:13 +07:00
puriphatt
502e845fb6 fix(04): summary 2024-10-24 17:40:03 +07:00
puriphatt
3ddca35589 refactor: workflow dialog & mock data 2024-10-24 17:33:33 +07:00
puriphatt
9fdb85f1bc refactor: flowdialog 2024-10-24 14:04:09 +07:00
puriphatt
d8051703ec fix(04): search id, flow dialog 2024-10-24 13:45:42 +07:00
Thanaphon Frappet
0b5ff5dff2 refactro: by installmentNo 2024-10-22 16:21:31 +07:00
Methapon Metanipat
61bade2013 refactor: add installments type to service 2024-10-22 11:59:06 +07:00
Thanaphon Frappet
7f6e0ee970 refactor: add id 2024-10-21 12:23:11 +07:00
puriphatt
6ddf3a9030 fix(04): product search 2024-10-17 13:31:36 +07:00
puriphatt
936d600cfc fix(04): add work btn side menu 2024-10-17 13:23:14 +07:00