Commit graph

588 commits

Author SHA1 Message Date
Methapon2001
e6f2a8df4e feat: download report
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-03-06 11:11:17 +07:00
Methapon2001
7522c967d9 fix: wrong api case 2025-03-06 10:05:09 +07:00
Methapon2001
9e7d67fb6c feat: add request cancel badge 2025-03-05 16:58:59 +07:00
Methapon2001
58b5613d2c feat: dashboard data bind api 2025-03-05 16:58:08 +07:00
Thanaphon Frappet
9aef359291 feat: add stores of report
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 10s
2025-03-05 16:07:37 +07:00
puriphatt
a3d04f5025 feat: update manage field for localization and add actionRequestWork function 2025-02-27 17:42:39 +07:00
Thanaphon Frappet
33a3a929e1 refactor: waning young worker 2025-02-25 10:50:03 +07:00
puriphatt
7e38c18352 feat: add cancelIncludeDebitNote parameter to quotation model and store 2025-02-24 16:49:35 +07:00
puriphatt
91c7db7c7b feat: add support for credit note status and acceptance functionality 2025-02-24 16:20:47 +07:00
Methapon2001
c64676b34c feat: accept debit note store 2025-02-24 13:13:43 +07:00
Thanaphon Frappet
644dca2bf7 refactor: show field code 2025-02-24 12:00:28 +07:00
Thanaphon Frappet
4aa27d834f refactor: handle goTo DebitNote 2025-02-21 13:59:25 +07:00
puriphatt
a66347414a refactor: handle null values in number formatting function to ensure consistent output 2025-02-20 13:53:17 +07:00
puriphatt
4f085e068a refactor: implement toCamelCase utility function and update quotation stats mapping 2025-02-20 09:28:42 +07:00
Thanaphon Frappet
448d9156f9 refactor: stats missing and new tab 2025-02-19 17:03:15 +07:00
puriphatt
64c1562e47 feat: add status field to Institution and InstitutionPayload types 2025-02-10 13:05:46 +07:00
puriphatt
51313cc4f8 feat: add status filtering to agencies management page 2025-02-10 13:05:15 +07:00
puriphatt
4994792597 feat: 07 => implement status toggle functionality in AgenciesDialog and MainPage components 2025-02-10 11:34:36 +07:00
Methapon2001
556612d747 fix: error validate payload 2025-02-07 17:27:00 +07:00
Methapon2001
84282ff5ce Merge branch 'feat/separate-price-calc' into develop 2025-01-30 16:54:42 +07:00
Thanaphon Frappet
790c45e532 refactor: add params for debit note 2025-01-30 16:42:44 +07:00
Thanaphon Frappet
5c3d2f1499 refactor: add agent price 2025-01-30 14:05:20 +07:00
Methapon2001
310464f834 feat: add separate price vat calc 2025-01-30 11:23:37 +07:00
puriphatt
4a088c1aab refactor: 02, 08 => screen.xs fetch scroll 2025-01-29 14:02:18 +07:00
Methapon Metanipat
e0c1725001
refactor: responsive (#180)
* refactor: can open one dropdown whe lt.md

* style: update MainLayout background color and fix avatar border class name

* feat: add touch position binding for dropdown in ProfileMenu

* refactor: enhance icon styling in DrawerComponent

* fix: update screen size conditions

* feat: add responsive search and filter functionality in MainPage

* feat: update styling and functionality in BasicInformation and MainPage components

* feat: package view mode improve layout and responsiveness

* feat: improve layout and responsiveness of ProfileBanner component

* feat: enhance TreeView component with improved icon layout and cursor pointer styling

* feat: update DialogForm component to prevent text wrapping in the center column

* feat: enhance FormDocument, PriceDataComponent, and BasicInfoProduct components with layout and styling improvements

* feat: enhance ProfileBanner dark tab

* feat: 02 => responsive & responsibleArea type

* fix: layout header bg condition & 02 filter col

* feat: 04 flow => add AddButton component and enhance layout in FormFlow and FlowDialog

* feat: 07 => enhance layout and responsiveness

* refactor: simplify header structure and improve layout consistency

* fix: improve text color in ItemCard and adjust responsive breakpoints in product service group

* refactor: 05 => enhance layout responsiveness and improve class bindings in quotation components

* refactor: enhance styling and improve props flexibility in dialog and select components

* refactor: 05 => enhance layout responsiveness in quotation components

* refactor: 05 => enhance layout responsiveness

* refactor: 05 => formWorkerAdd

* refactor: 05 => formWorkerAdd Product table

* refactor: 05 => improve layout responsiveness and enhance component structure

* refactor: enhance grid view handling and improve component imports

* refactor: improve column classes for better layout consistency

* refactor: 09 => enhance layout structure and improve responsiveness in task order views

* refactor: 10 => enhance invoice main page layout and improve component interactions

* refactor: 13 => enhance receipt main page layout and improve component interactions

* refactor: 11 => enhance layout and improve responsiveness in credit note pages

* refactor: 01 => screen.sm search & filter

* refactor: 01 => improve layout responsiveness and fix variable naming in branch management forms

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
2025-01-27 10:39:53 +07:00
Methapon Metanipat
79240f53b0
feat: debit note (#172)
* feat: new file

* feat: function api debit

* feat: add route debit

* feat: new form page

* refactor: show menu debit

* refactor: add type debit note status

* feat: add i18n

* feat: add constants

* feat: add stores

* feat: layout

* feat: add function

* refactor: change name value

* feat: form select quotation

* refactor: change name url

* refactor: use form debit

* refactor: change src import

* refactor: move file form debit

* refactor: add i18n

* feat: add type debit note

* refactor: add columns

* refactor: bind value columns

* refactor: change name Table

* refactor: edit type

* refactor: bind type debit note

* refactor: bind value debit

* refactor: chame name function

* fix: calculate page

* refactor: delete table

* refactor: change name get list

* refactor: change i18n

* refactor: change name value

* refactor: bind navigate and trigger delete

* refactor: format number deciml

* refactor: add i18n

* feat: new page

* refactor: add color debit

* feat: Debit tab

#178

* feat: TableRequest

* refactor: edit type pay condition

* refactor: add i18n btn submit

* refactor: use type enum

* feat: edit layout product expansion

* refactor: bind function

* refactor: show code

* feat: add input search and select  status

* feat: paymentform

* refactor: edit type

* refactor: add manage file and edit end point

* feat: add form.ts

* refactor: send mode

* refactor: edit v-model of due date

* feat: submit create debit

* fix: status

* refactor: handle data not allow

* fix: call updateDebitNote in edit mode and simplify payload handling

* refactor: hide edit

* refactor: handle pay condition only full

* refactor: delete pay split

* refactor: add query

* refactor: handle is debit note

* refactor: handle is quotation

* refactor: add props hide

* refactor: tap payment and receipt

* refactor: add i18n

* feat: view document

* refactor: handle btn view doc

* refactor: use my remark

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
Co-authored-by: nwpptrs <jay02499@gmail.com>
Co-authored-by: aif912752 <siripak@chamomind.com>
2025-01-27 09:04:08 +07:00
Thanaphon Frappet
ab26a52c48 feat: add view doc 2025-01-24 15:14:46 +07:00
Thanaphon Frappet
42575eb5ba refactor: add type remark 2025-01-24 11:16:34 +07:00
Methapon2001
d222eccfb0 fix: wrong import 2025-01-24 10:07:57 +07:00
Methapon2001
caa598225b feat: add urgent type 2025-01-24 10:07:42 +07:00
puriphatt
1479320e96 feat: update warning dialog messages for better clarity 2025-01-24 09:36:43 +07:00
Thanaphon Frappet
03e99c0f0c refactor: add remark 2025-01-23 14:56:50 +07:00
puriphatt
4e8e270d62 feat: 09 => edit task order (order) 2025-01-23 14:23:40 +07:00
Methapon2001
363779a2bc feat: add ready status of request data 2025-01-22 14:03:14 +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
d446dba565 fix/feat: i18n/Show quotation contact on request list 2025-01-20 16:35:31 +07:00
Thanaphon Frappet
684a97cef3 refactor: add parameters 2025-01-20 13:38:30 +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
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
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
Thanaphon Frappet
264da36e8a refactor: add type date accepted and submitted 2025-01-09 17:21:16 +07:00
Thanaphon Frappet
ecba1afa75 fix: status restart can't change status 2025-01-09 14:41:54 +07:00
Thanaphon Frappet
58d3ef7bd7 refactor: add type Restart 2025-01-08 14:06:48 +07:00
puriphatt
187ca4db0f feat: request list => PropertiesExpansion display employee name 2025-01-08 12:58:42 +07:00
puriphatt
321a0a6048 feat: enhance dialog warning with customizable action text and add customer name utility function 2025-01-08 11:49:49 +07:00
puriphatt
186d0ee726 feat: add shared to create product 2025-01-07 10:16:58 +07:00
puriphatt
2aa397678d fix: update i18n warning messages for unsaved actions 2025-01-06 16:44:27 +07:00
puriphatt
fc804afd58 feat: include Canceled and Pending statuses in task status checks & update submitTaskOrder to accept user ID 2024-12-26 15:15:07 +07:00