Commit graph

51 commits

Author SHA1 Message Date
puriphatt
589be6d395 fix: task order => hide pay type section 2024-12-26 15:24:36 +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
puriphatt
a60944a187 refactor: quotation => hide final discount 2024-12-16 11:08:44 +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
Thanaphon Frappet
60c2745627 fix: value pay split change 2024-11-27 09:19:42 +07:00
puriphatt
1b37bc21a1 fix: reset quotation split and split count 2024-11-26 10:42:23 +07:00
Thanaphon Frappet
983f48f7e2 refactor: switch mode and color 2024-11-08 10:42:27 +07:00
Methapon Metanipat
4afcda0bf2 feat: add installment name input for custom installments 2024-10-31 13:49:46 +07:00
puriphatt
317aadb0f7 fix: quotation custom split 2024-10-31 13:49:46 +07:00
Net
0986200910
feat: adjust payment page (#31)
* feat: add installment no label

* feat: update types

* refactor: add i18n

* refactor: view receipt

* refactor: add type

* refactor: add dateFormatTh

* fixup! refactor: add i18n

* fixup! refactor: add dateFormatTh

* refactor: use dateFormatJS in monthDisplay

* refactor: handle year th-TH

* ลบ log

* refactor: handle color view mod
2024-10-31 10:00:35 +07:00
Thanaphon Frappet
52cf5345a0 refactor: handle color 2024-10-30 14:11:12 +07:00
Thanaphon Frappet
f4d225985a refactor: add page invoice 2024-10-29 18:02:20 +07:00
Methapon Metanipat
640aac51e2 feat: also get installment no from preset data 2024-10-29 10:42:34 +07:00
Methapon Metanipat
810b8b96ba feat: paycondition 2024-10-29 10:19:47 +07:00
Methapon Metanipat
da8dc33b15 refactor: remove date from installments 2024-10-29 09:57:11 +07:00
Methapon Metanipat
a498c24e1e feat: add dynamic color to quotation form info 2024-10-28 14:53:31 +07:00
Methapon Metanipat
bc83970c57 refactor: adjust spacing 2024-10-28 09:28:39 +07:00
puriphatt
7a1c641863 fix(04): payment type option 2024-10-22 17:06:26 +07:00
Thanaphon Frappet
d9ba382f87 fix: Changing language doesn't work 2024-10-21 17:19:41 +07:00
Methapon Metanipat
bedbcd1a95 refactor(form-quotation): layout 2024-10-21 15:06:14 +07:00
puriphatt
a6955929e9 fix: form info split input 2024-10-18 16:13:45 +07:00
Methapon Metanipat
eeaaa0cf9f fix: typo 2024-10-18 14:35:33 +07:00
puriphatt
153542ae16 fix: split date 2024-10-18 13:57:03 +07:00
puriphatt
36cabde5bc fix(05): watch paysplit 2024-10-18 10:13:33 +07:00
puriphatt
8f069de610 fix: readonly quotation info 2024-10-17 18:05:45 +07:00
puriphatt
269acec48e fix(04): pay type 2024-10-17 17:59:21 +07:00
Methapon Metanipat
369a7a406d feat: add vat excluded calc 2024-10-17 15:50:26 +07:00
puriphatt
3a192c0d77 fix: paysplit assign & info display 2024-10-17 14:51:42 +07:00
puriphatt
b55437fa7e fix(05): end of month installments 2024-10-17 13:47:38 +07:00
puriphatt
a6efae9e1d chore: remove log 2024-10-16 14:28:58 +07:00
puriphatt
6894ebbc12 fix(quotation): auto split date 2024-10-16 14:24:54 +07:00
puriphatt
b12b410b2b fix: installment comma input 2024-10-16 11:13:34 +07:00
Methapon Metanipat
84828a6347 chore: clean unused 2024-10-15 17:27:23 +07:00
puriphatt
2fe37da69f refactor(05): custom installments 2024-10-15 16:56:07 +07:00
puriphatt
3ff4c9d4f4 fix: installment split 2024-10-15 09:42:37 +07:00
Methapon Metanipat
38eb18a593 refactor: make vat included 2024-10-11 14:17:39 +07:00
Methapon Metanipat
9b70d40b4f fix: missing vat calc 2024-10-11 14:16:26 +07:00
Methapon Metanipat
712e3a8eb7 refactor: update summary price 2024-10-11 14:14:19 +07:00
puriphatt
913671aa5a fix: installments split 2024-10-11 14:01:36 +07:00
puriphatt
0a832974f5 fix: readonly, info code & createdAt 2024-10-11 11:28:06 +07:00
puriphatt
a31d95e496 fix: vat display format 2024-10-11 10:52:01 +07:00
puriphatt
85b108a9b2 fix: clean and finalproduct installment 2024-10-10 17:49:14 +07:00
Methapon Metanipat
99c43bdd66 refactor: debounce on typing 2024-10-10 15:05:00 +07:00
Methapon Metanipat
b292e00380 feat: price summary 2024-10-10 09:24:02 +07:00
puriphatt
328642f6a4 fix: sum price, vat, amount info 2024-10-09 18:09:55 +07:00
puriphatt
036f5e10a0 refactor: bind quotationFormInfo & cal installment 2024-10-04 15:16:28 +07:00
Methapon Metanipat
ae6c1fd285 feat: disable some field 2024-10-04 13:23:28 +07:00
puriphatt
9bf06ac209 feat(05): quotation form 2024-09-27 15:45:24 +07:00
Methapon Metanipat
e1f5483aeb refactor: form quotation 2024-09-18 17:40:43 +07:00