Commit graph

97 commits

Author SHA1 Message Date
puriphatt
de281ea79f fix: improve work name management and validation logic
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-05-22 16:35:58 +07:00
Thanaphon Frappet
8d8ad40de1 feat: import prodect from file
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-04-22 13:58:26 +07:00
puriphatt
461dd359b1 feat: add date range filtering to product and service lists 2025-04-17 16:40:43 +07:00
Methapon2001
310464f834 feat: add separate price vat calc 2025-01-30 11:23:37 +07:00
puriphatt
186d0ee726 feat: add shared to create product 2025-01-07 10:16:58 +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
Thanaphon Frappet
9f29ce7887 refactor: add params active only
#151
2024-12-23 14:08:23 +07:00
Methapon2001
1e660682a6 feat: add installments validate 2024-12-20 09:40:16 +07:00
Methapon2001
11575f3bed feat: api active only support for product
closes https://github.com/Frappet/jws-frontend/issues/146
2024-12-18 18:05:15 +07:00
Thanaphon Frappet
ed6a0cee3d refactor: handle status 2024-12-18 11:49:26 +07:00
puriphatt
4a6f192d5f refactor: package => step count 2024-12-04 13:35:36 +07:00
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
80f45501e4 fix: edit service work id 2024-11-25 15:56:27 +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
puriphatt
42e2f2b21d
feat: workflow template properties (#70)
* feat: add i18n

* refactor/feat: workflow attributes type

* refactor: workflow => gray stat card

* refactor: select menu with search => separator

* feat: workflow => workflow step properties

* fix: workflow type

* fix: dialog properties component => model data

* fix: form flow => prevent toggle expansion with keyboard

* refactor: workflow step data & change status

* fix: form flow properties btn

* refactor: side menu => hide sub index

* feat: workflow => avatar & status on table

* refactor: workflow => drawer id and dialog id

* feat: workflow => card

* fix: agencies => format address
2024-11-12 15:33:15 +07:00
Methapon Metanipat
2bcbfbb20d feat: add param for product fetch 2024-11-08 15:14:39 +07:00
Methapon Metanipat
f3fdaac2b1
feat: add product document list (#64)
* feat: product => document select
2024-11-08 10:22:50 +07:00
puriphatt
980bb86574 fix: service workflow & work fallback name 2024-11-04 10:35:26 +07:00
puriphatt
20254a41e4 fix(04): service type and store 2024-10-29 17:15:03 +07:00
Methapon Metanipat
795a87312e feat: add shared product group 2024-10-28 17:19:38 +07:00
Thanaphon Frappet
e295b08f2a refactor: add type installmentNo 2024-10-22 16:20:32 +07:00
Methapon Metanipat
61bade2013 refactor: add installments type to service 2024-10-22 11:59:06 +07:00
Methapon Metanipat
6c10c82fcc feat: add calc vat into product (will be calc in quotation) 2024-10-16 16:22:53 +07:00
Methapon Metanipat
265ea35bc4 chore: clean product store 2024-10-15 16:26:35 +07:00
Methapon Metanipat
8ce8c9a977 fix: function name 2024-10-15 16:13:00 +07:00
Methapon Metanipat
f26f6b51d6 refactor: type name 2024-10-04 14:57:08 +07:00
puriphatt
66b30b9e3f refactor: quotation product tree 2024-09-30 16:35:41 +07:00
Thanaphon Frappet
2fbf4edf36 refactor:header registered branch 2024-09-30 10:55:48 +07:00
Methapon Metanipat
caf8ba87a2 feat: add full detail query param 2024-09-18 17:49:16 +07:00
puriphatt
7ab9f69ef8 refactor: img dialog => remove img function 2024-09-12 16:41:09 +07:00
puriphatt
21ac39d538 refactor(04): service new img dialog 2024-09-12 11:22:11 +07:00
Methapon Metanipat
ed692c823d refactor: permission product service 2024-09-10 14:36:36 +07:00
Methapon Metanipat
67d360c92b refactor: add registered branch to product group 2024-09-10 13:35:53 +07:00
puriphatt
d8a6b346ab refactor(04): calculate stat 2024-09-04 14:45:53 +07:00
puriphatt
eec5325806 refactor(04): remove type from 04 2024-09-04 09:48:29 +07:00
Net
ae883dffd3 refactor: edit type 2024-08-23 17:28:33 +07:00
puriphatt
5a3ae092c8 refactor(04): show total price checkbox 2024-08-16 15:33:07 +07:00
Methapon2001
be7a036b8d refactor: use alias 2024-08-09 15:06:41 +07:00
Net
9656ede0cb refactor: add options 2024-07-25 17:25:05 +07:00
Net
ed8dda6c0c fix: edit type Attributes 2024-07-25 16:38:58 +07:00
Net
e0f8f49fda refactor: add type 2024-07-25 11:08:20 +07:00
puriphatt
f23916b2ea fix: 01, 04 active tree & functional hold dialog 2024-07-19 10:35:18 +00:00
Net
382ebe6e06 refactor: เพิ่ม type 2024-07-15 14:12:39 +07:00
Net
e45f55f4e3 refactor: เก็บตัวเเปร record ของ tree 2024-07-15 14:12:27 +07:00
Net
d26c2df793 refactor: query registeredBranchId 2024-07-05 11:10:19 +07:00
Net
bb00d8890a fix: แก้ type registeredBranchId ให้เป็น null ได้ 2024-07-04 13:29:58 +07:00
Net
0815dd19ee feat: เพิ่ม type 2024-07-04 11:38:32 +07:00
puriphatt
3792c19ce4 fix: create service and edit product image 2024-07-03 10:08:51 +00:00
puriphatt
05d7c70f97 fix: show service count 2024-07-03 06:52:55 +00:00