Commit graph

30 commits

Author SHA1 Message Date
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
puriphatt
c68cbffb9c fix: properties => update property assignment to use index instead of push for better handling 2025-01-22 14:07:35 +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
802f84548d feat: update DialogProperties to include messenger and duty fields in check 2024-12-26 10:30:24 +07:00
puriphatt
718a28642d refactor: view image dialog 2024-12-24 13:24:47 +07:00
Methapon2001
0f44f0f2cb chore: make comment as NOTE for easier search 2024-12-23 11:30:15 +07:00
Methapon2001
33cdd61603 feat: make empty element display in the center 2024-12-23 11:30:15 +07:00
Methapon2001
02f2216d6b refactor: nest data inside instead
This will make it easy to integrate something into item in the list.
2024-12-23 11:30:15 +07:00
Methapon2001
d210592589 feat: add parameter order hidden 2024-12-23 11:30:15 +07:00
Methapon2001
894900bd71 feat: add shared select dialog 2024-12-23 11:30:15 +07:00
Methapon2001
446983753c feat: align verticle when have slot 2024-12-17 11:42:49 +07:00
puriphatt
97e76d952b fix: hide prop doc check & form 2024-11-28 16:17:39 +07:00
puriphatt
ba64702287 fix: properties doc check & form/move item workflow step 2024-11-28 15:42:49 +07:00
puriphatt
6f39d6ac2b fix: dialog properties layout 2024-11-27 11:14:48 +07:00
puriphatt
6e162fa393 chore: clean 2024-11-27 11:09:43 +07:00
puriphatt
925ed7dd9e refactor: handle submit work properties 2024-11-27 10:59:03 +07:00
puriphatt
60f93a16e0 fix: package properties flow not current when change 2024-11-20 15:33:45 +07:00
puriphatt
221f421991 feat: dialog properties emit show 2024-11-19 17:39:04 +07:00
puriphatt
119e2c03a6 fix: remove prop in step 2024-11-18 14:51:41 +07:00
puriphatt
00157a420b fix: handle null 2024-11-13 16:40:54 +07:00
Methapon Metanipat
6e796049d5
refactor: package workflow (#73)
* fix: service attributes type

* feat: select workflow component

* refactor: dialog properties => select work flow

* refactor: package => work new workflow step

* fix: useless  in future (service properties)

* fix: handle work undefine

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
2024-11-13 16:06:32 +07:00
Methapon Metanipat
202e8c2e6f
feat: import worker with multiple criteria (#72)
* feat: add i18n import from file

* fix: background color

* feat: add import worker component

* feat: support newer passport

* refactor: update validator

* fix: wrong endpoint

* refactor: change to display passport

* feat: add component and state

* fix: wrong validator

* refactor: add i18n

* refactor: add slont top-append

* refactor: use v-model

* refactor: impurt workder

* fix: criteria

* refactor: add customer branch id

---------

Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-11-13 11:53:25 +07:00
puriphatt
42e2f2b21d
feat: workflow template properties (#70)
* feat: add i18n

* refactor/feat: workflow attributes type

* refactor: workflow => gray stat card

* refactor: select menu with search => separator

* feat: workflow => workflow step properties

* fix: workflow type

* fix: dialog properties component => model data

* fix: form flow => prevent toggle expansion with keyboard

* refactor: workflow step data & change status

* fix: form flow properties btn

* refactor: side menu => hide sub index

* feat: workflow => avatar & status on table

* refactor: workflow => drawer id and dialog id

* feat: workflow => card

* fix: agencies => format address
2024-11-12 15:33:15 +07:00
Methapon Metanipat
66e15dae8c refactor: detect slot of dialog container 2024-11-12 15:01:24 +07:00
puriphatt
d8323d6851 fix: drawer dialog 2024-09-27 15:21:19 +07:00
puriphatt
fdc5781434 refactor: add id close btn & delete work name 2024-09-25 11:22:23 +07:00
Methapon2001
68a766099a feat: add header slot 2024-08-09 17:54:01 +07:00
Methapon2001
2be34124e1 refactor: dialog spacing 2024-08-09 11:32:57 +07:00
Methapon2001
9430c0649c feat: add dialog from container component 2024-08-09 10:36:32 +07:00
Methapon2001
779374b164 feat: pure dialog (non-bloat) component 2024-08-07 17:56:06 +07:00