ValdiANS
b8419a3f69
feat: add Excel export to BalanceMonitoringTab
...
Add exportBalanceMonitoringToExcel to FinanceApiService (server-side
blob download hitting reports/balance-monitoring?export=excel). Wire it
into BalanceMonitoringTab via a Dropdown export button in the tab
actions. Wrap the handler in useCallback to prevent an infinite
setTabActions loop caused by a new function reference on every render.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-25 14:14:40 +07:00
ValdiANS
c4827bb810
feat: implement Query Param Tab Navigation
2026-05-20 16:35:26 +07:00
ValdiANS
d60877d391
refactor: optimize DebtSupplierTab with useTableFilter persistence pattern
...
Replace filterParams/currentPage/pageSize state with useTableFilter (persist:true),
switch SWR to httpClientFetcher with explicit type, store OptionType[] directly for
suppliers/filterBy, add formikResetHandler using resetFilter(), remove TabActions
component anti-pattern and handleFilterModalOpenRef, pass filterModal.openModal directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-20 16:10:19 +07:00
ValdiANS
b3b60018bb
refactor: optimize CustomerPaymentTab with useTableFilter persistence pattern
...
Replace filterParams/currentPage/pageSize state with useTableFilter (persist:true),
switch SWR to httpClientFetcher with explicit type, store OptionType[] directly for
customers/filterBy, add formikResetHandler using resetFilter(), remove enableReinitialize
and handleFilterModalOpenRef, pass filterModal.openModal directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-20 16:10:10 +07:00
ValdiANS
c98a51326f
refactor: optimize BalanceMonitoringTab with useTableFilter persistence pattern
...
Replace single-select customerFilter/salesFilter with OptionType[] multi-select
(customers, salesPersons, filterBy), switch SWR to httpClientFetcher with explicit
type, remove PDF export, enableReinitialize, useRef modal hack, useMemo on data/meta,
and useCallback on trivial handlers. Add formikResetHandler using resetFilter().
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-20 16:10:01 +07:00
ValdiANS
ac6f6ecf78
Merge branch 'development' into feat/balance-monitoring-report
2026-05-20 11:21:39 +07:00
ValdiANS
a8c02243a4
feat: implement export general and server-side export
2026-05-20 11:13:50 +07:00
ValdiANS
3c175d4586
feat: create BalanceMonitoringTab component
2026-05-19 17:30:28 +07:00
ValdiANS
9350a6bd3e
fix: add Monitoring Saldo tab
2026-05-19 17:30:13 +07:00
ValdiANS
ce4f50c92a
feat: create Export to Excel - General button
2026-05-19 16:06:54 +07:00
ValdiANS
a0e8c60082
chore: adjust styling
2026-05-08 18:57:37 +07:00
ValdiANS
5a2532a0fa
Merge branch 'development' into fix/project-flock-form
2026-04-27 10:58:44 +07:00
ValdiANS
f9d2a875e2
chore: prettier format
2026-04-27 10:49:07 +07:00
Adnan Zahir
a11d05e720
fix: pagination positioning
2026-04-25 13:06:44 +07:00
Adnan Zahir
c875ebd951
feat: add more filters
2026-04-25 12:15:42 +07:00
ValdiANS
de6fd2367e
fix: set filter default value
2026-04-13 11:00:02 +07:00
rstubryan
ea88c3ce8e
refactor(FE): Refactor tab actions to use memoized component
2026-03-05 11:10:36 +07:00
rstubryan
267ef9d812
refactor(FE): Refactor CustomerPaymentTab to use filterParams instead of
...
formik values
2026-03-05 11:01:52 +07:00
rstubryan
b5fc1d4310
refactor(FE): Refactor tab actions to use memoized component
2026-03-05 10:57:13 +07:00
rstubryan
080592ff01
chore(FE): Remove unused variables and imports across components
2026-03-04 11:58:35 +07:00
rstubryan
0031a65f97
refactor(FE): Ensure filter modal closes on reset across components
2026-02-25 16:30:31 +07:00
rstubryan
a89e83af29
refactor(FE): Fix multiline formatting for isError conditions
2026-02-25 15:57:25 +07:00
rstubryan
a75d84556a
refactor(FE): Refactor date validation to use shared state and cleanup
2026-02-25 15:56:12 +07:00
rstubryan
f701ab0d91
refactor(FE): Replace active filter count logic with ButtonFilter
...
component
2026-02-25 10:39:14 +07:00
rstubryan
7e1166b5e8
refactor(FE): Refactor tab actions store to use a unified implementation
2026-02-23 11:05:11 +07:00
rstubryan
1f2f3acebb
refactor(FE): Remove unused imports and redundant code
2026-02-20 14:17:26 +07:00
rstubryan
d312da4c66
refactor(FE): Refactor dropdown and export button components
2026-02-13 09:53:33 +07:00
rstubryan
dbb523c710
refactor(FE): Refactor tab store to use a unified ReportTabStore
2026-02-12 16:16:40 +07:00
rstubryan
6aae18df54
refactor(FE): Update import paths for finance and marketing tab stores
2026-02-12 15:49:26 +07:00
rstubryan
ee53ea61cc
refactor(FE): Fix missing dependency in useCallback hooks
2026-02-12 10:57:22 +07:00
rstubryan
e23b53d797
refactor(FE): Refactor CustomerPaymentTab to use StatusBadge component
2026-02-12 10:46:06 +07:00
rstubryan
fd78ca6ac1
refactor(FE): Refactor CustomerPaymentTab to use Formik for filter
...
management
2026-02-12 10:28:36 +07:00
rstubryan
0f1d2ce477
refactor(FE): Refactor PDF table components to simplify imports
2026-02-11 10:39:37 +07:00
rstubryan
4c6ac6e8e1
refactor(FE): Refactor PdfStatusBadge to use a single style prop
2026-02-10 14:04:44 +07:00
rstubryan
80763acc53
refactor(FE): Add utility for PDF badge styles and integrate into
...
reports
2026-02-10 11:27:43 +07:00
rstubryan
bcc2070ed2
refactor(FE): Refactor DebtSupplierExportPDF to use reusable PDF
...
components
2026-02-09 21:50:35 +07:00
rstubryan
c86f0379b5
refactor(FE): Refactor CustomerPaymentExportPDF to use reusable PDF
...
components
2026-02-09 16:01:12 +07:00
rstubryan
4fd4374e64
refactor(FE): Validate date range and show toast on error
2026-02-05 15:04:12 +07:00
rstubryan
b4353cf834
refactor(FE): Make filter type nullable and use applied filters
2026-02-05 14:55:27 +07:00
rstubryan
eb95afe9a0
refactor(FE): Separate applied and modal filter state
2026-02-05 14:39:33 +07:00
rstubryan
92886fe5e2
refactor(FE): Consolidate date filters into trans_date
2026-02-05 14:28:14 +07:00
rstubryan
fb1b310d1d
refactor(FE): Replace SelectInput with SelectInputRadio
2026-02-05 14:13:13 +07:00
rstubryan
3b221795ba
refactor(FE): Add filter_by option to customer payment reports
2026-02-05 14:08:05 +07:00
randy-ar
40411b0417
fix(FE): fixing total text color debt supplier
2026-02-03 14:12:08 +07:00
randy-ar
c102a4043c
fix(FE): fixing status badge color
2026-02-03 13:40:46 +07:00
randy-ar
ba1d462a0a
fix(FE): adding skeleton state data on null or unfiltered
2026-01-30 11:02:18 +07:00
randy-ar
e980320d00
fix(FE): fixing report finance filter ui
2026-01-29 20:59:16 +07:00
randy-ar
0ed6c246b1
fix(FE): fix badge and table pdf
2026-01-29 20:18:42 +07:00
randy-ar
c7818cefbb
fix(FE): adjust ui debt supplier pixel perfect figma
2026-01-29 18:24:43 +07:00
rstubryan
ca0d379c2c
refactor(FE): Rename initialBalanceRow to firstRow
2026-01-28 10:00:01 +07:00