Commit graph

82 commits

Author SHA1 Message Date
puriphatt
4659965f62 feat: add font-family to active overlay cell in SCSS 2025-03-06 13:26:55 +07:00
Methapon2001
3d950d4f1d refactor: update dark mode border 2024-12-27 10:04:43 +07:00
Methapon Metanipat
9eff614dbd
feat: task order (#141)
* feat: task order => routes

* feat: Page

* refactor: pagination

* refactor: taskOrder => table, card and constants

* feat: add structure select request list comp

* fix: re-export type

* refactor: edit path route of task order

* feat: trigger task order

* refactor: edit type task statss

* feat: table select request list

* feat: i18n

* refactor: quasar expansion chevron color

* refactor: type

* refactor: state btn status done

* feat: task order => order view layout

* feat: task order => remark expansion

* fix: task order => rename attachment to additional file

* feat: upload file section optional layout

* feat: task order => additional file expansion

* feat: task order => payment expansion

* feat: conditionally add urgent

* feat: send id together with link

* refactor: edit type

* feat: new form.ts

* refactor: edit url

* refactor: edit id trigger

* feat: select institution component

* feat: task order code i18n

* feat: task order => document expansion form

* feat: fallback address on null

* refactor: add type for table

* feat: add filter parameter

* refactor: edit name routes

* refactor: add type of task order payload

* refactor: by value form

* refactor: responsive quotation form info

* refactor: submit form

* refactor: add i18n

* refactor: status canceled

* refactor: handle task status

* refactor: handle mode view

* refactor: addtaskstatus

* refactor: i18n & constants

* refactor: table employee

* refactor: select ready request work

* refactor: handle save form

* refactor: edit layout btn

* feat: undo()

* cleanup delete import

* feat: closetab

* refactor: handle readonly

* fix: body edit

* refactor: handle readonly uploadfile

* feat: import manage attachment

* refactor: quotation/task-order => type

* refactor: select ready request work

* refactor: i18n & constants

* chore: clean duplicate i18n

* refactor: type according to backend relation

* refactor: edit base url

* feat: upload file

* feat: fetch file list

* feat: get url file

* refactor: set default opened

* refactor: type

* feat: removefile

* feat: task order => select product

* feat: add parameter only active branch is selectable

* refactor: add i18n

* feat: set layout

* feat: add info product expansion

* refactor: new info messenger

* refactor: add slot name value

* refactor: add i18n

* refactor: edit type task status

* refactor: use date format

* refactor: value can null

* refactor: add i18n

* cleanup

* feat: productlistinput

* refactor: edit i18n

* refactor: edit redo

* refactor: add slot

* feat: task order => i18n

* refactor: task order => constant

* refactor: taskOrder => status type and index

* feat: taskOrder => ReceiveDialog

* refactor: wording

* refactor: table employee due date

* refactor: receive task i18n

* feat: trigger receive & task stat in receive page

* refactor: receive dialog task in cart  i18n

* fix: remove task-order/receive/add

* feat: receivetabletaskorder

* refactor: fetch task on receive dialog

* feat: add separate api get user task

* refactor: receive fetch (messenger)

* refactor: edit layout table

* refactor: task order i18n & constant

* refactor: task order change tab and stat (messenger and !messenger)

* fix: task order status display & receive badge color (card)

* refactor: trigger receive view

* fix: add receive task condition

* feat: total count

* feat: prepare information

* fix: i18n error task order not found

* refacor: value

* feat: select worker

* refactor: status i18n & constant

* refactor: table employee props (check box, step)

* fix: order => select ready task

* refactor: order => toggle status

* refactor: receive => receive dialog

* feat: featch value

* refactor: task status display components

* refactor: status active can is null

* feat: update status tab

* refactor: data display

* refactor: i18n & fullTaskOrder variable

* refactor: task receive view

* refactor: add type responsible user

* refactor: set group messenger

* cleanup:

* refactor: i18n / clone full task order / service => workflow type

* refactor: receive view

* refactor: show info messenger

* refactor: handle flow step

* refactor: receive view => opacity when pending

* feat: add workflow template name and step name

* feat: display workflow data on table

* feat: add template step identifier

* fix: edit does not change workflow id if changed

* feat: detect if same template and step

* refactor: handle template

* refactor: add slot name product

* refactor: map step in list product

* refactor: bind data messenger list group

* refactor: change endpoint name

* chore: add helper package

* feat: changetaskstatus

* refactor: update type

* refactor: set color btn

* refactor: add step

* refactor: add resposible institution

* feat: disabled

* refactor: map responsible institution

* fix: order view => readonly

* chore: clean

* refactor: edit url api

* refactor: edit name type

* refactor: add slots action

* refactor: add type row

* refactor: add opts of task status

* refactor: add select status

* refactor: handle btn

* refactor: add btn change task status

* refactor: edit i18n redo th

* refactor: sort status opts

* feat: receive & order banner img

* refactor: fetch status after submit

* refactor: handle create only

* refactor: task order status type Accept (messenger only)

* feat: receive messenger profile

* refactor: receive toggle status (display only)

* fix: document expansion readonly

* feat: confirmsendingbtn

* refactor: constant and task order status

* feat: receive task list count

* refactor: post or get

* refactor: define props institution group

* refactor: fetch status after submit

* refactor: handle create

* refactor: handle query

* refactor: update endpoint to support accept multiple order

* refactor: change function name

* feat: receive => functional accept task order

* feat: task status count

* feat: receive stat card count

* refactor: order messenger profile

* refactor: edit value to be task status

* refactor: handle status of type order

* refactor: use componet task status

* refactor: handle show btn saving status

* refactor: order => task status

* refactor: edit selectStatus => changeStatus

* refactor: edit @click btn confirmssending

* refactor: add i18n

* refactor: add function get template data

* refactor: add change status

* refactor: handle type receive

* feat: order => auto change tab by status

* refactor: fetch task after change status

* feat: fail remark dialog

* refactor: display step order (table employee)

* refactor: fail remark dialog

* refactor: order => open ready request dialog map selected

* refactor: task list type & change status param

* refactor: table task order, td background when selected

* refactor: order => change status param

* refactor: order => selectedEmployee variable type

* refactor: task status component => shield btn

* refactor: receive => change status

* refactor: order => step btn waiting

* fix: step btn waiting condition

* refactor: filter selectable task (Failed)

* refactor: find index condition on check

* refactor: no request list available

* refactor: fail btn no-wrap

* refactor: fail dialog readonly

* fix: reset state on open dialog

* fix: wrong title position

* refactor: hide task status drop down icon

* fix: handle check condition

* refactor: add userTask type and status

* feat: submit task order function

* refactor: table employee checkbox display condition

* refactor: main layout

* fix: task order validate i18n

* refactor: table task order add submit status

* refactor: status list

* refactor: info product => user task status

* feat: receive => submit task & step

* refactor: i18n

* feat: complete task oder function

* refactor: task status component no action props

* refactor: info messenger status

* refactor: receive and order view

* refactor: order complete view

* refactor: order => complete color and title

* refactor: calc price on table

* refactor: quotation table i18n + product image

* refactor: remove urgent checkbox

* refactor: task status color

* feat: calc summary price

* fix: data is not available

* feat: add doc view structure

* refactor: format address text

* feat: fetch document data from api

* fix: value is null

* fix: regression cannot edit package

* feat: add document view for task order

* feat: add view document button

* feat: update type add discount

* feat: readonly on cancel

* feat: add discount from relation

* refactor: add taskProduct on submit order

* refactor: order => task product discount

* refactor: order => date, task status count, view example

* refactor: receive date

* refactor: receive task status count

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: nwpptrs <jay02499@gmail.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: oat_dev <nattapon@frappet.com>
2024-12-25 11:59:49 +07:00
puriphatt
4edd990c88 fix: disable input (dark) 2024-11-25 14:18:06 +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
557eb9bf12 fix: disable input dark mode 2024-11-21 11:57:02 +07:00
puriphatt
aa79a4ef7d refactor: table no data icon color 2024-11-21 11:42:59 +07:00
puriphatt
36e6bc072d refactor: brand color class 2024-10-30 16:04:57 +07:00
puriphatt
fddc0341c5 refactor: payment status i18n, danger color 2024-10-24 11:32:29 +07:00
puriphatt
375abb445b fix: warning color 2024-10-18 16:13:05 +07:00
Methapon Metanipat
d3112db017 fix: disabled / readonly field background 2024-10-18 13:20:57 +07:00
Methapon Metanipat
6cf9a90f70 feat: make background white when print to pdf 2024-10-17 09:31:27 +07:00
Thanaphon Frappet
614423e1f8 refactor: set a4 margin 2024-10-16 18:03:57 +07:00
Methapon Metanipat
baa69e00fd chore: format 2024-10-16 13:19:39 +07:00
Methapon Metanipat
b9fd4faa75 fix: textarea not wrap 2024-10-16 11:36:22 +07:00
puriphatt
4453d563e6 refactor: fetch config & warning color 2024-10-16 11:14:13 +07:00
Methapon Metanipat
36ef8814d9 feat: page setting 2024-10-16 09:48:39 +07:00
Methapon Metanipat
46871302fa feat: add class no print 2024-10-16 09:25:45 +07:00
puriphatt
927841eda5 fix(04): tree view 2024-09-26 11:51:59 +07:00
puriphatt
270deacba7 refactor(05): component (quo card, date picker, select zone) 2024-09-24 11:25:39 +07:00
Methapon Metanipat
69827d61bd fix: align vertical in q-select 2024-09-18 11:45:07 +07:00
Methapon Metanipat
5136dd57fd chore: format 2024-09-18 11:44:55 +07:00
Methapon Metanipat
ec5d17dc2f feat: adjust text color 2024-09-09 10:07:59 +07:00
puriphatt
4ac31e3cb0 refactor: tree component no node label 2024-09-04 15:00:10 +07:00
puriphatt
c841ee4ed2 fix: checkbox disable style and i18n 2024-08-16 15:34:12 +07:00
puriphatt
ecfee8b814 fix: q-tree line 2024-07-25 02:47:58 +00:00
puriphatt
9429fac0e3 fix: tree 01 & 04 active 2024-07-23 07:25:11 +00:00
puriphatt
37ceaafa4a fix: q-tree triangle 2024-07-23 02:26:15 +00:00
puriphatt
bc894192a3 fix: q-tree css 2024-07-19 10:34:48 +00:00
puriphatt
c910fbf7e7 fix: hide dropdown icon when sceen xs 2024-07-18 04:51:09 +00:00
Methapon2001
29466655f8 feat: change input background based on mode 2024-07-05 11:16:52 +07:00
Net
aefb42717d refactor: แก้ สี 2024-07-04 17:56:55 +07:00
Methapon2001
8790ab68a5 refactor: color 2024-07-04 15:23:03 +07:00
Methapon2001
be34861c05 refactor: color 2024-07-04 14:52:12 +07:00
Methapon2001
f6745c0467 refactor: overall color dark mode 2024-07-04 14:49:05 +07:00
puriphatt
74ce38cf6e fix: drawer active and branch 2024-07-04 07:43:50 +00:00
Methapon2001
6cb6caf3d9 refactor: change border color 2024-07-04 13:29:34 +07:00
puriphatt
410582948b fix: datepicker font 2024-07-02 04:34:01 +00:00
puriphatt
571942d48f fix: employee history date picker 2024-07-01 03:51:05 +00:00
puriphatt
65dbd60eae fix: form readonly (product & service) 2024-06-27 04:43:55 +00:00
Methapon2001
96aac0576f refactor: rounded radius 2024-06-25 16:06:11 +07:00
puriphatt
e057132470 fix: q-editor color 2024-06-24 07:59:24 +00:00
puriphatt
2b0b1b7f8c fix: q-field text color and disable color 2024-06-21 08:49:20 +00:00
puriphatt
1aac511b0b fix: disabled color 2024-06-18 11:44:59 +00:00
puriphatt
8f232fa1de fix: info color 2024-06-18 01:59:14 +00:00
Net
8648384f37 feat: เพิ่ม class ของ แบ่งหน้า 2024-06-13 15:18:46 +07:00
puriphatt
1cf42af5ee fix: surface-tab dark mode 2024-06-10 02:25:51 +00:00
puriphatt
422cad2046 feat: color, i18n & datepicker font 2024-06-07 12:19:38 +00:00
puriphatt
8cba38f538 feat: add some color 2024-04-23 11:12:18 +00:00
puriphatt
ded20e65bb fix: drawer width 2024-04-23 04:31:58 +00:00