Commit graph

124 commits

Author SHA1 Message Date
Methapon2001
21699b14c5 feat: troubleshooting page
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-04-25 15:15:37 +07:00
Methapon Metanipat
0e685a99f7
feat: signature (#194)
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
* refactor: enable profile signature option in ProfileMenu

* feat: add signature api function

* refactor: add new translation keys for 'Draw' and 'New Upload' in English and Thai

* refactor: update image URL variable and improve translation keys in CanvasComponent and MainLayout

* refactor: get function

* feat: add delete signature function

* feat: add canvas manipulation functions and integrate signature submission in MainLayout (unfinished)

* chore(deps): update

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-03-27 09:01:42 +07:00
puriphatt
1e9a5abc1c refactor: add tooltips for item title and detail in MainLayout
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-03-26 14:38:42 +07:00
puriphatt
4e61762130 fix: correct role name from 'account' to 'accountant' and update route syntax
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-03-24 10:37:00 +07:00
Methapon2001
3ff6715528 refactor: menu role
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
2025-03-24 10:27:33 +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
Methapon2001
364a0c807d fix: logo not show
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-03-17 15:25:48 +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
1268f6e35f refactor: bind form crud
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
2025-03-11 09:57:27 +07:00
Thanaphon Frappet
841f1157b1 feat: up code test 2025-03-10 15:58:48 +07:00
puriphatt
3d3ba53a53 fix: mark notifications as read when accessed
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-03-10 14:39:24 +07:00
puriphatt
d428ac3ec5 style: adjust notification layout
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-03-10 10:23:43 +07:00
puriphatt
65bf510386 feat: add notification dialog component and integrate with main layout 2025-03-06 10:47:57 +07:00
Methapon2001
ac0d3649d4 chore: clean
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-03-05 15:26:22 +07:00
Methapon2001
ace2aec85b feat: unread count
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-03-05 13:28:50 +07:00
Methapon2001
80cb67323b refactor: update data receive from backend
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-03-05 11:10:45 +07:00
Methapon Metanipat
74d80a163d feat: fetch notification from api 2025-03-05 10:51:01 +07:00
Thanaphon Frappet
4be37ad268 feat: add route report and dashboard
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-03-04 11:22:31 +07:00
Thanaphon Frappet
6f256cc254 refactor: show menu dash board
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 10s
2025-03-04 11:06:00 +07:00
puriphatt
f62463dc80 refactor: optimize performance of data fetching in the dashboard component 2025-02-20 11:09:53 +07:00
Methapon2001
6b2dc47268 refactor: enable credit note menu 2025-01-27 10:44:39 +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
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
283c08ae2e feat: disable credit note route in drawer component 2025-01-14 09:41:15 +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
fcfc3e2a2b fix: update drawer mini state to adapt based on screen size 2025-01-06 10:05:27 +07:00
puriphatt
7faef797cc refactor: update user image handling and disabled profile menu options 2024-12-26 11:58:07 +07:00
Methapon2001
a0013bdbe0 fix: wrong hidden menu condition 2024-12-04 18:07:10 +07:00
puriphatt
c7f0a6d240 feat: task order menu 2024-12-02 10:02:10 +07:00
Methapon Metanipat
972f6ba13e
feat: menu request list (#75)
* feat: i18n

* feat: request list

* refactor: hide stat transition on app.scss

* feat: request list i18n

* feat: request list => constants and main page

* feat: add store

* feat: add fetch data

* feat: add utilities fn

* feat: add store function / types

* refactor: request list type

* refactor: request list constants

* refactor: quotation card => add customData and badge color props

* feat: avatar group components

* feat: request list group

* refactor: request list => remove tab, add table data

* feat: send search query

* feat: add parameter

* refactor: remove unused function

* fix: rename component lits to list

* feat: show stats from api

* chore: cleanup

* refactor: make it type safe

* refactor: accept rotate flow id as parameter

* feat: use page size component

* feat: add component, data display & expansion product

* feat: i18n

* refactor: constants and request list table

* refactor: type code, createdAt, updatedAt

* refactor: utils function changThemeMode

* feat: request list => view page

* refactor: use type instead of infer from value

* fix: function getEmployeeName att type

* refactor: fetch work list

* refactor: loop work list

* feat: add i18n duty

* feat: add form issue component

* feat: add form issue section

* fix: store error

* refactor: edit by value

* refactor: accept basic info from outside instead

* feat: add status filter support on fetch

* refactor: remove delete button

* refactor: wording

* feat/fix: request list i18n & constant

* feat: document type

* feat/refactor: request list => document expansion

* refactor: doc expansion use FormGroupHead

* refactor: fetch data based on id from route param

* refactor: text area disable

* feat: properties expansion display (mocking)

* refactor: add document at product relation

* refactor: edit get value product

* feat: get workflow step to show on top

* refactor: add type

* refactor: add get attachment

* refactor: add view attachment

* refactor: edit file name

* refactor: define props get hide icon

* refactor: edit align row

* refactor: by value table document

* refactor: by value row table

* feat: add independent ocr dialog

* chore: clean up

* refactor: accept more props and small adjustment

* fix: error withDefault call

* feat: accept default metadata when open

* fix: typo

* feat: add override hook when finish ocr

* feat: reset state on open

* feat: detect reader result is actually string

* fix: variable name conflict

* feat: properties to input component

* feat: properties input in properties expansion

* feat: properties expansion data (temporary)

* refactor: add i18n status work

* refactor: edit type work status and add step status

* refactor: add edit status work

* refactor: edit step work

* refactor: properties data type

* refactor: filter selected product & specific properties

* feat: add emit event

* refactor: change variable name for better understanding

* refactor: hide step that no properties

* refactor: work status type to validate

* feat: work status color

* refactor: key for filename

* refactor: close expansion when change step

* refactor: responsive meta data

* refactor: product expansion responsive

* fix: dark mode step text color

* fix: document expansion table no data label

* refactor: main page body bordered and overflow hidden

* refactor: use utils function instead

* refactor: add process

* refactor: by value  name

* refactor: add upload file

* refactor: upload file

* refactor: by value

* fix: option worker type

* refactor: fetchRequestAttachment after edit

* fix: metadata display

* refactor: add class full-height

* refactor: edit type

* refactor: fetch file

* refactor: by value visa

* refactor: request list attributes type

* fix: properties to input props (placeholder, readonly, disable)

* feat: request list properties function

* fix: error when no workflow

* docs: update comment to fix indent

* refactor: step type (attributes)

* refactor: add attributes payload on editStatusRequestWork function

* feat/refactor: functional form expansion/filter worklist

* refactor: set attributes properties after submit

* refactor: add request work ready status

* feat: request list => form employee component

* feat/refactor: form expansion select user/layout

* fix: properties readonly

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-11-22 18:02:03 +07:00
Methapon Metanipat
b0136bba4d
refactor: global shared state and function (#79)
* refactor: expose i18n instance

* feat: add global app utility function

* refactor: use global utility function

* refactor: avoid undefined when use outside vue

refactor: avoid undefined when use outside vue

* refactor: remove dup code and use util

* refactor: auto fetch option when use store
2024-11-21 11:55:44 +07:00
Thanaphon Frappet
1ea35890e9 refactor: menu document 2024-11-11 11:23:52 +07:00
Methapon Metanipat
959fb9b45f refactor: show manage workflow page 2024-11-08 16:44:15 +07:00
puriphatt
b87e15301f
feat: menu agencies (#65)
* feat: agencies => add agencies menu

---------

Co-authored-by: Methapon Metanipat <methapon@frappet.com>
2024-11-08 13:11:42 +07:00
puriphatt
f6479cc72d fix: drawer menu => hide workflow 2024-11-08 13:08:40 +07:00
puriphatt
7debc4ff1a fix: add drawer menu id 2024-11-01 10:02:53 +07:00
puriphatt
13bf8e9ee0 fix: drawer menu dark mode, rearrange 2024-10-31 18:18:29 +07:00
puriphatt
9a8b0ca72f fix: drawer menu hover style 2024-10-31 13:38:46 +07:00
Methapon Metanipat
10e963e430
refactor: drawer menu (#34) 2024-10-31 10:46:42 +07:00
Methapon Metanipat
2558122a6b fix: css syntax 2024-10-31 10:03:39 +07:00
puriphatt
e273ad1015 fix: drawer mini 2024-10-31 09:16:04 +07:00
puriphatt
83d028ec15 chore: clean and rearrange code 2024-10-30 16:12:06 +07:00
puriphatt
3119cef2ff fix: new drawer menu 2024-10-30 16:05:27 +07:00
Methapon Metanipat
6b29d3b017 refactor: extract navigator into store instead 2024-10-30 11:55:53 +07:00
puriphatt
4453d563e6 refactor: fetch config & warning color 2024-10-16 11:14:13 +07:00
Methapon Metanipat
9f49eefaba feat: enable quotation menu 2024-10-10 17:50:58 +07:00
Thanaphon Frappet
4a6a97a413 refactor: add id btn 2024-10-04 16:48:23 +07:00