Merge pull request 'efril' (#4) from efril into main

Reviewed-on: https://gits.altru.id/ferdiansyah/pos-dashboard-v2/pulls/4
This commit is contained in:
aefril 2025-09-03 05:38:04 +00:00
commit 17f059f09d
2 changed files with 7 additions and 2 deletions

View File

@ -80,7 +80,12 @@ const DashboardOverview = () => {
? new Date(salesData?.date_to).toISOString().split('T')[0]
: new Date().toISOString().split('T')[0]
}
onChange={e => {}}
onChange={e => {
setFilter({
...filter,
date_to: formatDateDDMMYYYY(new Date(e.target.value))
})
}}
size='small'
sx={{
'& .MuiOutlinedInput-root': {

View File

@ -314,7 +314,7 @@ const ProductListTable = () => {
variant='contained'
component={Link}
className='max-sm:is-full is-auto'
href={getLocalizedUrl('/apps/ecommerce/products/add', locale as Locale)}
href={getLocalizedUrl('/apps/inventory/products/add', locale as Locale)}
startIcon={<i className='tabler-plus' />}
>
Add Product