Commit graph

72 commits

Author SHA1 Message Date
Thanaphon Frappet
21452b6a9f refactor: edit value price 2025-01-24 11:56:07 +07:00
Thanaphon Frappet
ca9264d758 refactor: edit calc vat 2025-01-24 11:49:33 +07:00
Methapon2001
f08c45379d fix: wrong field calculated 2025-01-24 11:09:07 +07:00
Methapon2001
77176ece15 feat: urgent 2025-01-24 10:17:30 +07:00
puriphatt
bf336cbd06 feat: enhance RemarkExpansion component and improve watch function syntax 2025-01-24 09:50:44 +07:00
Thanaphon Frappet
8b887f40bd refactor: edit remark 2025-01-23 16:19:33 +07:00
Methapon2001
1c94bd9eb9 feat: convert to template string 2025-01-23 16:05:16 +07:00
Thanaphon Frappet
8d9ae538cf refactor: hnadle edit 2025-01-23 14:56:50 +07:00
Thanaphon Frappet
03e99c0f0c refactor: add remark 2025-01-23 14:56:50 +07:00
puriphatt
5c9c035d2b fix: handle optional taskListGroup and creditNote checks in file uploads 2025-01-23 14:51:08 +07:00
puriphatt
4e8e270d62 feat: 09 => edit task order (order) 2025-01-23 14:23:40 +07:00
Thanaphon Frappet
c7438edd79 refactor: handle price 0 baht 2025-01-23 14:19:56 +07:00
Methapon2001
c1c814ade2 fix: value not reflect real amount 2025-01-23 14:08:28 +07:00
Thanaphon Frappet
5ea97be30f refactor: handle query 2025-01-23 11:04:48 +07:00
Thanaphon Frappet
dc92103323 refactor: handle mode edit 2025-01-23 10:26:54 +07:00
puriphatt
7e84f32742 feat: 09 => add edit and delete actions to task orders 2025-01-23 09:11:20 +07:00
Thanaphon Frappet
4d7e2b1645 refactor: add mode edit 2025-01-23 08:55:31 +07:00
puriphatt
199a008095 feat: 09 => add sorting functionality for task status in order and receive views 2025-01-21 14:41:01 +07:00
puriphatt
d6dcc71931 feat: 09 => task status inactive 2025-01-21 13:17:45 +07:00
puriphatt
8175081df7 feat: add inactive status styling and update status validation logic 2025-01-21 11:21:09 +07:00
puriphatt
b36d4fc86a feat: 09 => add auto-select-on-single (order) 2025-01-21 10:20:25 +07:00
nwpptrs
32a195770d feat: i18n quotation, taskorder 2025-01-20 14:23:08 +07:00
puriphatt
44476f8535 feat: 09, 11 => handle file upload & url on create 2025-01-20 14:04:44 +07:00
Methapon Metanipat
5e2100eb8d
feat: credit note (#171)
* feat: add main page credit note

* feat: enable credit note route and update menu item states

* refactor: add i18n

* refactor: edit i18n status

* feat: add action column

* feat: add empty form page

* feat: add get data

* feat: add type credit note status

* refactor: add type name en

* refactor: add type credit note status in type credit note

* feat: add hsla colors

* refactor: add slot grid

* refactor: handle  hide kebab edit show only tab tssued

* feat: show grid card

* feat: i18n

* feat: add credit note form and dialog

* refactor: add props hide kebab deelete

* refactor: hide kebab

* style: update color segments to indigo theme

* feat: i18n

* fix: update labels for credit note fields

* refactor: add type

* feat: new select quotation

* refactor: use new select quotation

* feat: navigate to

* refactor: function trigger and navigate to

* feat: i18n bank

* feat: add payment expansion component and integrate into credit note form

* refactor: bind i18n pay condition

* refactor: navigate to get quotation id

* feat: i18n

* fix: update label for createdBy field in credit note form

* feat: add credit note information expansion component

* feat: add Credit Note expansion component and update form layout

* refactor: bind quotation id and send

* refactor: deelete duplicate type

* refactor: show state button

* refactor: handle show status

* feat: add function update payback status

* feat: add return and canceled reasons to credit note translations

* feat: enhance SelectReadyRequestWork component with credit note handling and fetch parameters

* feat: type

* feat: add status handling and optional display for employee table

* refactor: rename selectedQuotationId to quotationId in FormCredit component

* feat: set default opened state for CreditNoteExpansion and add reason options

* feat: update PaymentExpansion to handle payback type selection and clear fields for cash payments

* feat: enhance ProductExpansion to support credit note handling and adjust price calculations

* feat: implement product handling and price calculation in CreditNote form

* feat: add manage attachment function to store

* refactor: bind delete credit note

* feat: add credit note status and reference fields to types

* refactor: update task step handling and simplify request work structure in credit note form

* feat: add navigation to quotation from credit note form

* feat: enhance upload section layout based on file data

* feat: add readonly functionality to credit note form and related components

* refactor: remove console log

* feat: update i18n

* style: add rounded corners to complete view container in quotation form

* feat: add RefundInformation component and update credit note form status handling

* feat: i18n

* feat: update payback status endpoint and add paybackStatus to CreditNote type

* feat: enhance QuotationFormReceipt component with optional props and slot support

* feat: integrate payback status handling in RefundInformation and FormPage components

* feat: add external file group

* feat: update API endpoint paths for credit note operations

* feat: improve layout and styling in UploadFile components

* feat: implement file upload and management in Credit Note

* refactor: update upload to check if it is redirect or not

* feat: upload file slips

* feat: add payback date dispaly

* refactor: change module no

* fix: icon link to main page instead

* feat: add file dialog with image download functionality

* fix: view slip

* feat: add download button to image viewer

* feat: handle after submit

* feat: conditionally render bank transfer information

* feat: handle upload file on create

* feat: handle change payback status

* feat: payback type in credit note form

* fix: correct reference to quotation data in goToQuotation function

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2025-01-14 09:08:31 +07:00
puriphatt
f1b07a527b feat: add readonly state to FailRemarkDialog based on task status 2025-01-10 11:21:30 +07:00
Thanaphon Frappet
56e6eaf874 refactor: change label 2025-01-10 10:29:10 +07:00
Thanaphon Frappet
81864256f7 refactor: handle btn disabled current user statuse !== accept 2025-01-10 10:20:05 +07:00
Thanaphon Frappet
1e2aeb0afb refactor: show time 2025-01-09 17:34:23 +07:00
Thanaphon Frappet
6b688477f1 refactor: show date acceptd and submitted 2025-01-09 17:22:44 +07:00
Thanaphon Frappet
bf5ad411f7 refactor: change name value 2025-01-09 17:22:16 +07:00
Thanaphon Frappet
acfffd9188 refactor: handle status 2025-01-09 15:21:53 +07:00
Thanaphon Frappet
54bfb1c492 fix: add handle status redo 2025-01-09 15:05:08 +07:00
Thanaphon Frappet
ecba1afa75 fix: status restart can't change status 2025-01-09 14:41:54 +07:00
Thanaphon Frappet
e099e5a091 refactor: handle show i18n 2025-01-09 11:33:59 +07:00
Thanaphon Frappet
9abb2227cf chore: cleanup 2025-01-09 10:37:06 +07:00
Thanaphon Frappet
aeb16d9f7f fix: btn can't use 2025-01-09 10:24:41 +07:00
Thanaphon Frappet
557ca77d1f refeactor: handle status redo show i18n status 2025-01-09 09:51:48 +07:00
Thanaphon Frappet
ee1116011f refactor: some status 2025-01-08 14:07:25 +07:00
Thanaphon Frappet
66d9e3c1db refactor: handle status restart 2025-01-08 14:07:14 +07:00
Thanaphon Frappet
58d3ef7bd7 refactor: add type Restart 2025-01-08 14:06:48 +07:00
puriphatt
8dd36cbc64 feat: add action text to confirmation dialogs 2025-01-08 10:48:33 +07:00
Thanaphon Frappet
99d2f0da42 fix: issue branch missing 2025-01-08 09:51:50 +07:00
Thanaphon Frappet
718b17081c refactor: show issue branch 2025-01-08 09:46:26 +07:00
puriphatt
c64af9d992 feat: enhance task status handling and validation in TableEmployee & fail comment 2024-12-27 14:11:40 +07:00
puriphatt
cce1eccf8c fix: order => taskStatusCount function to filter by responsible user ID 2024-12-27 12:00:25 +07:00
puriphatt
35285f81b9 feat: receive => add task order status display with gradient styling 2024-12-27 10:44:15 +07:00
puriphatt
1458a32403 feat: order => add validation and status change handling in TableEmployee component 2024-12-27 10:26:26 +07:00
Thanaphon Frappet
835e8a7520 refactor: view doc only order 2024-12-27 09:49:29 +07:00
Methapon2001
04e745bfe0 chore: remove unused 2024-12-27 09:38:44 +07:00
Thanaphon Frappet
0d07cacfc0 refactor: show peview 2024-12-26 17:44:16 +07:00