Commit graph

442 commits

Author SHA1 Message Date
Thanaphon Frappet
0741baf416 fix: layout nu have data 2024-12-25 17:32:43 +07:00
Methapon2001
4b7d27ddd7 fix: prevent wrapping 2024-12-25 17:27:04 +07:00
puriphatt
8e3ac4a264 fix: quotation pay split amount input behavior 2024-12-25 16:40:11 +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
Methapon2001
cd0831bac1 chore: cleanup 2024-12-25 11:58:24 +07:00
Methapon2001
ea69d6eeb9 feat: quotation doc view pdf 2024-12-25 11:58:16 +07:00
Thanaphon Frappet
b7f7a984b2 refactor: show file in peview quotation 2024-12-25 10:31:59 +07:00
puriphatt
718a28642d refactor: view image dialog 2024-12-24 13:24:47 +07:00
Thanaphon Frappet
3d89ce5a88 refactor: use new select product group
#151
2024-12-23 14:08:23 +07:00
puriphatt
40d0f4f2dc fix: quotation => handle change pay type 2024-12-23 11:56:06 +07:00
puriphatt
89265882d5 fix: quotation product count 2024-12-23 11:53:14 +07:00
Thanaphon Frappet
98e7aff985 fix: customer branch id missing 2024-12-23 11:46:19 +07:00
Thanaphon Frappet
e61678f3f5 refactor: handle active only employee 2024-12-23 11:36:32 +07:00
Thanaphon Frappet
83774ff09e refactor: bind value new worker list 2024-12-23 11:30:15 +07:00
Thanaphon Frappet
fc0b703a96 refactor: v-model new worker 2024-12-23 11:30:15 +07:00
Thanaphon Frappet
7043c635d5 refactor: use new select 2024-12-23 11:30:15 +07:00
Thanaphon Frappet
2ddc101b89 refactor: edit type 2024-12-23 11:30:15 +07:00
Thanaphon Frappet
cd1848c5fb feat: new worker select 2024-12-23 11:30:15 +07:00
puriphatt
928d07a3ba fix: quotation pay split count 2024-12-23 11:28:04 +07:00
Thanaphon Frappet
15d30f3349 refactor: link request 2024-12-23 10:04:58 +07:00
puriphatt
5c3c8f3d6a fix: quotation => handle change pay type 2024-12-23 09:41:12 +07:00
Thanaphon Frappet
d55a2448b5 refactor: fetch list employee add active only 2024-12-23 09:40:32 +07:00
Methapon2001
dc5c111726 feat: get active only customer branch quotation 2024-12-23 08:54:42 +07:00
Thanaphon Frappet
eaabb14492 refactor: handle due Date
refactor #161
2024-12-20 17:59:16 +07:00
Thanaphon Frappet
ba6950769a refactor: add q-form submit 2024-12-20 17:42:50 +07:00
nwpptrs
4cdc462ded refactor: handle due date 2024-12-20 17:24:43 +07:00
Methapon2001
b34a88e8e6 fix: text color 2024-12-19 12:05:55 +07:00
puriphatt
61e11c0503 fix: split custom default 1 2024-12-19 09:55:47 +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
puriphatt
8f99c5274e fix: pay split count & pay split detail 2024-12-18 18:03:20 +07:00
Thanaphon Frappet
bbe4150581 refactor: show table request 2024-12-18 17:55:50 +07:00
Thanaphon Frappet
40d9e339e0 refactor: add input search and status filter of request 2024-12-18 17:55:50 +07:00
Methapon2001
2e5f1313a5 feat: add api param active only for employee 2024-12-18 17:24:01 +07:00
Methapon2001
6c370f4020 fix: customer branch id not send as api param 2024-12-18 17:23:34 +07:00
Thanaphon Frappet
fa9b59680f cleanup: 2024-12-18 10:57:05 +07:00
Thanaphon Frappet
dee626bbb9 fix: edit name emit 2024-12-18 10:51:57 +07:00
Thanaphon Frappet
44fdfc2364 refactor: view and view example receipt 2024-12-18 10:49:46 +07:00
Thanaphon Frappet
f5566f81e6 refactor: add new btn view and example 2024-12-18 10:06:09 +07:00
Methapon2001
414b57acbd perf: make use of computed and use same var 2024-12-18 08:51:46 +07:00
Methapon2001
69dd4d67d7 chore: cleanup 2024-12-17 14:39:02 +07:00
Methapon2001
c40743255c fix: wrong condition 2024-12-17 14:39:02 +07:00
Methapon2001
7184c68c83 feat: add key for better perf 2024-12-17 14:39:02 +07:00
Methapon Metanipat
4528836f17
feat: quotation add worker after accepted (#140)
* feat: add dialog structure

* feat: add select functionality

* chore: clear unused

* feat: pass selectable product into dialog

* feat: add table

* feat: implement select worker and product

* feat: send disabled worker into component

* feat: add event emitted after submit

* chore: cleanup

* feat: add store

* feat: dialogquotationbtn

* feat: import worker from file and select them all

* feat: add title

* feat: add import button

* feat: i18n

* feat: lazy load person card image

* refactor: change import button color

* feat: add import worker button

* chore: cleanup

* chore: clean

* chore: clean

* feat: post quotation add worker appear on expired

* fix: type

* fix: only proceed when import has at least one

* feat: check more condition

* feat: fetch data from api

* fix: worker not update

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: nwpptrs <jay02499@gmail.com>
2024-12-17 14:22:22 +07:00
Thanaphon Frappet
2debf3b6e9 refactor: edit ui 2024-12-17 13:20:19 +07:00
Thanaphon Frappet
88f8d99baa refactor: add upload file acceptance 2024-12-17 13:16:16 +07:00
Methapon2001
e0d24b49cb fix: price not match with original price by .01
This will calculate quantity later when no discount is set.
However when discount is set there may be some number that can introduce
+-0.01
2024-12-16 16:56:06 +07:00
puriphatt
a60944a187 refactor: quotation => hide final discount 2024-12-16 11:08:44 +07:00
puriphatt
be9606f5f3 fix: quotation form banner opacity 2024-12-16 11:03:56 +07:00
puriphatt
60e5578d89 feat: quotation => banner 2024-12-16 10:54:12 +07:00
puriphatt
1b4c06b182
fix/refactor: quotation installment (#121)
* refactor/feat: i18n

* chore: clean log

* refactor: type

* refactor: installment and product table state relation

* refactor: handle split custom

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-12-06 11:01:52 +07:00