Commit graph

489 commits

Author SHA1 Message Date
puriphatt
5becbae369 feat: filter customer by business type, address 2025-09-18 09:59:59 +07:00
puriphatt
e6f8870cdf refactor: drawer employee 2025-09-18 09:59:59 +07:00
puriphatt
763ac07be7 refactor: customer & employee 2025-09-18 09:59:59 +07:00
net
09b51d601e refactor: can create new type 2025-09-18 09:58:29 +07:00
Thanaphon Frappet
3e24a46f66 feat: add customer export 2025-09-18 09:58:29 +07:00
puriphatt
e33191dcd4 fix: business type display 2025-08-21 15:54:30 +07:00
puriphatt
8ca3f784f1 fix: handle customer business type in table
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
2025-07-21 09:53:31 +07:00
Methapon2001
3ddea74b73 fix: card business type not show
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-07-11 11:05:55 +07:00
puriphatt
2ac31c2e4c fix: can't create employee with img
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-11 11:01:38 +07:00
Methapon2001
577da39cf0 feat: business type is now from api
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-11 10:45:35 +07:00
Thanaphon Frappet
04765a656a refactor: add visa report date
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-11 09:12:55 +07:00
Thanaphon Frappet
e19d3f05f1 refactor: remove customer name
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-09 15:06:30 +07:00
Methapon2001
7d1a32efb4 feat: adjust prefix display
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-09 14:20:08 +07:00
puriphatt
b9f1d04105 feat: enhance employee form to support image uploads and track image edits
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-07-07 17:54:03 +07:00
puriphatt
f08c83c98b Merge branch 'feat/handle-role' into develop
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-07 12:44:10 +07:00
puriphatt
a59e0c5157 fix: change status employee 2025-07-07 11:19:57 +07:00
puriphatt
a5791a1b54 refactor: add hideDelete prop to various components and update delete button visibility logic
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-07 10:40:35 +07:00
Thanaphon Frappet
03adabeabd refactor: add btn uploand file passport
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-07-04 16:24:55 +07:00
Thanaphon Frappet
dd09a8cb23 fix: uploand error
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-07-04 15:15:06 +07:00
puriphatt
2d7b0189ee refactor: employee role check
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-07-03 13:54:10 +07:00
puriphatt
c991e9e03f refactor: implement role-based access control for customer edit actions in BranchPage and MainPage components
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-07-03 13:32:21 +07:00
puriphatt
62ac7503a1 fix: update tab management and reset logic in ProfileBanner and MainPage components
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-05-23 17:26:40 +07:00
puriphatt
648ed38181 refactor: comment out condition for resetting search date on tab change 2025-04-17 17:45:26 +07:00
puriphatt
36cef7ceb6 feat: add date range selection to customer and employee management 2025-04-17 17:03:16 +07:00
puriphatt
d909be2fc4 feat: add navigation to customer and employee details from request list
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-04-11 15:50:31 +07:00
Thanaphon Frappet
a5d73ba1ff refactor: show prefix on banner
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
2025-04-10 17:21:29 +07:00
Thanaphon Frappet
bd38c008a6 refactor: change form employee
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
2025-04-08 15:04:03 +07:00
Thanaphon Frappet
6f2471c33b refactor: change form like page customer 2025-04-04 15:55:04 +07:00
Thanaphon Frappet
2511690d54 refactor: handle input require name en
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
2025-04-04 11:28:41 +07:00
Thanaphon Frappet
174c30875e fix: edit id upload
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
2025-04-03 18:05:18 +07:00
Thanaphon Frappet
9d9a955298 fix: btn add missing 2025-02-10 13:54:50 +07:00
puriphatt
15081f899d refactor: 03 => enhance customer list fetching for mobile responsiveness and adjust pagination logic 2025-01-31 16:05:03 +07:00
puriphatt
ef81a93690 refactor: 03 => screen.xs fetch scroll 2025-01-30 10:10:15 +07:00
puriphatt
5c5e9fac63 refactor: update screen.sm pagination display for various management pages 2025-01-28 18:07:57 +07:00
puriphatt
debfa874f3 refactor: 03 Employee => enhance responsive layout for employee management forms 2025-01-27 15:43:13 +07:00
puriphatt
d012bb4d70 refactor: 03 Customer => improve responsive design across multiple components 2025-01-27 13:47:33 +07:00
Thanaphon Frappet
79ec995547 refactor: handle img employee 2025-01-27 10:06:39 +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
Methapon2001
92398a5439 fix: typo 2025-01-10 09:45:55 +07:00
puriphatt
4f5320cb36 feat: add attachment tab and improve layout for product and customer management pages 2025-01-07 12:42:19 +07:00
Thanaphon Frappet
1fc44abdb4 refactor: check value different 2025-01-07 11:04:33 +07:00
Thanaphon Frappet
34acae4329 fix: handle readonly check rule 2025-01-06 13:36:41 +07:00
Thanaphon Frappet
8f3f499a7a fix: layout no data 2024-12-25 11:13:35 +07:00
puriphatt
3b30e9a736 refactor: customer => display no data condition 2024-12-11 13:52:23 +07:00
puriphatt
a5dd047ee5 fix: customer => warning 2024-12-10 15:55:01 +07:00
Methapon2001
42585c859c fix: sort selected field 2024-12-10 14:22:36 +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
Thanaphon Frappet
92e99dd9a4 refactor: edit 18n 2024-11-22 14:37:59 +07:00
Thanaphon Frappet
c6c0b6e78e refactor: handle young worker 18 2024-11-22 14:09:10 +07:00