Commit graph

3859 commits

Author SHA1 Message Date
Methapon2001
ec61c73342 fix: wrong vat excluded calc 2025-01-23 09:25:20 +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
4596b3e4e5 feat: 05 => update TableQuotation to display '-' for empty 2025-01-22 15:59:10 +07:00
Methapon2001
fb0dce309b Merge branch 'develop' 2025-01-22 14:47:05 +07:00
Methapon2001
99b39c4630 fix: wrong stats display 2025-01-22 14:47:00 +07:00
puriphatt
c68cbffb9c fix: properties => update property assignment to use index instead of push for better handling 2025-01-22 14:07:35 +07:00
Methapon2001
363779a2bc feat: add ready status of request data 2025-01-22 14:03:14 +07:00
Methapon2001
16e9393315 Merge branch 'develop' 2025-01-22 11:46:41 +07:00
puriphatt
63a44e1c14 feat: 03 => update actionText for warnings to use general translation 2025-01-21 17:52:32 +07:00
puriphatt
095f190f99 feat: 03 => update expiration date handling to accept string format and improve validation 2025-01-21 16:29:19 +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
Thanaphon Frappet
a2b91210c9 refactor: edit i18n 2025-01-21 10:54:05 +07:00
puriphatt
b36d4fc86a feat: 09 => add auto-select-on-single (order) 2025-01-21 10:20:25 +07:00
puriphatt
6ec1bed7f6 refactor: 07 => remove nameEN rule 2025-01-21 10:12:16 +07:00
puriphatt
3cad514e91 feat: 04 => add new i18n message for duplicate names and improve layout in MainPage 2025-01-21 10:03:47 +07:00
puriphatt
d446dba565 fix/feat: i18n/Show quotation contact on request list 2025-01-20 16:35:31 +07:00
puriphatt
26c9345699 fix: 11 => update stat & card color 2025-01-20 15:03:32 +07:00
puriphatt
5db8deb83d fix: improve layout by adding full-width class to elements 2025-01-20 14:33:57 +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
Thanaphon Frappet
684a97cef3 refactor: add parameters 2025-01-20 13:38:30 +07:00
Methapon2001
5d672ccda6 Merge branch 'develop' 2025-01-17 19:28:38 +07:00
puriphatt
36fb52e27b fix: add 'employee' to readonly fields in PropertiesExpansion 2025-01-17 13:47:20 +07:00
Methapon2001
6d43d4e796 fix: wrong decimal 2025-01-17 09:05:36 +07:00
puriphatt
7cb8dd6000 fix: 03 => edit product layout 2025-01-15 15:16:02 +07:00
Methapon2001
28dfa728fa feat: add dev deps for test 2025-01-15 09:35:40 +07:00
Methapon2001
4596ba747e fix: label 2025-01-15 09:16:35 +07:00
Methapon Metanipat
2b758e57f8
feat: receipt (#176)
* feat: receipt

#173

* chore: clean up

---------

Co-authored-by: nwpptrs <jay02499@gmail.com>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-01-14 16:12:30 +07:00
puriphatt
1cdc2bd4cc feat: credit note => remove attachment on create 2025-01-14 11:40:55 +07:00
Methapon Metanipat
c5d3897d76
feat: invoice (#174)
* feat: add 10 invoice

* feat: invoicelayout

* feat: invoicetable

* refactor: uew new table

* fix: columns missing

* feat: invoicebadgestatus

* feat: formatdate

#156

* refactor: watch pagesize and page

#159

* refector: filter status

#160

* feat: invoice stats

* fix: typo

* chore: cleanup

* refactor: add columns action

* refactor: add btn view invoice

* refactor: add query tab

* refactor: change set code invoice to function

* chore: change case

* refactor: add i18n netvalue

* refactor: add record colors of status invoice

* feat: add view card invoice

* chore: cleanpu

* refactor: handle i18n pay condition

* refactor: handle value by storage or by api

* refactor: add btnn preview

* refactor: function view doc example

* refactor: bind function view doc example

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
Co-authored-by: nwpptrs <jay02499@gmail.com>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: oat_dev <nattapon@frappet.com>
2025-01-14 11:34:20 +07:00
puriphatt
7d1f32a5cb feat: add remark field to credit note form and payload 2025-01-14 11:07:57 +07:00
puriphatt
283c08ae2e feat: disable credit note route in drawer component 2025-01-14 09:41:15 +07:00
puriphatt
506b73eac2 feat: creditNote => add conditional delete button visibility in credit note table 2025-01-14 09:40:31 +07:00
puriphatt
dfa60d9288 fix: ensure event is passed to form submission 2025-01-14 09:39:32 +07:00
puriphatt
a5a64b30dc feat: creditNote => add validation rules 2025-01-14 09:38:49 +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
Methapon2001
0c694dee5d refactor: change to enum instead 2025-01-14 09:07:35 +07:00
Methapon2001
2f0e61ecb1 test: set base url in config instead 2025-01-13 11:47:01 +07:00
Methapon Metanipat
3397cb4396
Update release.yml 2025-01-10 16:49:29 +07:00
Methapon2001
55c15585f8 Merge branch 'develop' 2025-01-10 16:49:09 +07:00
Methapon2001
7d9467fdd0 fix: edm flashing on change lang 2025-01-10 16:34:52 +07:00
puriphatt
f1b07a527b feat: add readonly state to FailRemarkDialog based on task status 2025-01-10 11:21:30 +07:00
Methapon2001
5dc316e34c Merge branch 'test' into develop 2025-01-10 11:10:25 +07:00
Thanaphon Frappet
7fde4eb2ef feat: new select agent 2025-01-10 11:10:11 +07:00
Thanaphon Frappet
56e6eaf874 refactor: change label 2025-01-10 10:29:10 +07:00
Thanaphon Frappet
9321ef6f30 refactor: add i18n 2025-01-10 10:28:39 +07:00
Thanaphon Frappet
81864256f7 refactor: handle btn disabled current user statuse !== accept 2025-01-10 10:20:05 +07:00