Commit graph

114 commits

Author SHA1 Message Date
puriphatt
fb23ec5fd4 refactor: remove redundant confirmation message for validation
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 11s
2025-03-26 10:30:45 +07:00
puriphatt
dc9f2b9e75
feat: manual (#191)
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
* feat: add markdown render deps

* feat: add manual route

* feat: example toc

* feat: add highlight js dependency

* feat: add view page

* feat: add translations for property and manual in English and Thai

* feat: enhance drawer menu with internationalization support and manual section

* feat: add conditional internationalization for sub-menu labels

* feat: add video support

* refactor: add stores and type

* fix: wrong path

* feat: improve layout structure and enhance scroll functionality in ViewPage

* fix: scroll not working

* chore: change variable name

* feat: show sub tile of manual

* feat: add translation for 'Table of Contents' in English and Thai

* feat: enhance layout and add conditional rendering for Table of Contents in ViewPage

* chore: clean

* refactor: use expansion

* refactor: show icon

* refactor: spacing

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2025-03-18 09:58:45 +07:00
puriphatt
4975ecb334 feat: i18n add rejection messages for cancellation requests in English and Thai translations 2025-03-13 09:46:35 +07:00
Methapon Metanipat
169af44eda
Merge pull request #190 from Frappet/feat/4-property-managment
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 12s
feat: property managment
2025-03-13 09:09:25 +07:00
puriphatt
dd2861010e fix: correct capitalization in view all text
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
2025-03-11 15:48:07 +07:00
Thanaphon Frappet
aecfc4ec57 feat: add i18n 2025-03-11 09:57:07 +07:00
Thanaphon Frappet
d6fa8e5b4b feat: add tab debt
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-03-10 10:44:50 +07:00
Thanaphon Frappet
7717523449 feat: add i18n of profit 2025-03-07 15:54:30 +07:00
Methapon2001
c83d48bae2 fix: typo
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-03-07 11:22:14 +07:00
Methapon2001
35fd79634a feat: add more field
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
2025-03-06 17:33:09 +07:00
Methapon Metanipat
cd231513ee
Merge pull request #188 from Frappet/feat/notification
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
feat: notification
2025-03-06 13:51:58 +07:00
puriphatt
f9077cc030 feat: add notification translations for English and Thai 2025-03-06 10:46:39 +07:00
Methapon2001
72985c382f feat: customer requested cancel indicator 2025-03-05 16:58:59 +07:00
Methapon2001
9e7d67fb6c feat: add request cancel badge 2025-03-05 16:58:59 +07:00
puriphatt
5ec7012119 feat: add dashboard localization for English and Thai 2025-03-05 16:58:08 +07:00
Thanaphon Frappet
49d860a108 refactor: handle roles executive
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-03-05 16:52:36 +07:00
Thanaphon Frappet
2e32ad28d7 feat: add i18n 2025-03-05 16:36:54 +07:00
puriphatt
a3d04f5025 feat: update manage field for localization and add actionRequestWork function 2025-02-27 17:42:39 +07:00
Methapon2001
a856436095 feat: add action dialog
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
2025-02-26 17:04:58 +07:00
puriphatt
91c7db7c7b feat: add support for credit note status and acceptance functionality 2025-02-24 16:20:47 +07:00
Thanaphon Frappet
644dca2bf7 refactor: show field code 2025-02-24 12:00:28 +07:00
Methapon2001
5983febe72 feat: i18n debit note accept msg 2025-02-24 11:59:26 +07:00
puriphatt
d70e98d7c8 refactor: i18n => update credit and debit note approval messages in translations 2025-02-24 11:15:40 +07:00
Thanaphon Frappet
697a8531f1 refactor: edit i18n due date 2025-02-20 09:55:08 +07:00
Thanaphon Frappet
448d9156f9 refactor: stats missing and new tab 2025-02-19 17:03:15 +07:00
puriphatt
415ea3853d refactor: add system error messages for English and Thai translations 2025-02-19 13:52:38 +07:00
puriphatt
88d2d21476 feat: update i18n from backend 2025-02-10 14:05:18 +07:00
puriphatt
f27474ad90 fix(i18n): correct typo in 'totalVatExcluded' translation 2025-02-07 09:36:32 +07:00
Methapon2001
fba9adc5f3 feat: add i18n 2025-01-30 11:23:37 +07:00
puriphatt
5c5e9fac63 refactor: update screen.sm pagination display for various management pages 2025-01-28 18:07:57 +07:00
Thanaphon Frappet
136ab65c32 refactor: add i18n 2025-01-28 11:32:37 +07:00
Thanaphon Frappet
4e3a642aa1 refactor: add i18n 2025-01-27 17:46:24 +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
ca9264d758 refactor: edit calc vat 2025-01-24 11:49:33 +07:00
Thanaphon Frappet
36a49b46a8 refactor: add i18n 2025-01-24 11:16:34 +07:00
puriphatt
eae2139c52 feat: add new translation for request work status 2025-01-24 09:19:01 +07:00
Methapon2001
363779a2bc feat: add ready status of request data 2025-01-22 14:03:14 +07:00
Thanaphon Frappet
a2b91210c9 refactor: edit i18n 2025-01-21 10:54:05 +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
nwpptrs
32a195770d feat: i18n quotation, taskorder 2025-01-20 14:23:08 +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
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
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
Thanaphon Frappet
9321ef6f30 refactor: add i18n 2025-01-10 10:28:39 +07:00
Thanaphon Frappet
a3c628fe1d refactor: add i18n 2025-01-10 10:09:40 +07:00
Thanaphon Frappet
9b34959ebf refactor: add i18n 2025-01-09 11:33:34 +07:00
Thanaphon Frappet
025f357e2b refactor: add i18n 2025-01-09 09:46:41 +07:00
Thanaphon Frappet
884eb18f03 refactor: add i18n 2025-01-08 14:06:17 +07:00
puriphatt
2aa397678d fix: update i18n warning messages for unsaved actions 2025-01-06 16:44:27 +07:00