efril #4

Merged
aefril merged 5 commits from efril into main 2025-09-03 05:38:05 +00:00
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(salesData?.date_to).toISOString().split('T')[0]
: new Date().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' size='small'
sx={{ sx={{
'& .MuiOutlinedInput-root': { '& .MuiOutlinedInput-root': {

View File

@ -314,7 +314,7 @@ const ProductListTable = () => {
variant='contained' variant='contained'
component={Link} component={Link}
className='max-sm:is-full is-auto' 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' />} startIcon={<i className='tabler-plus' />}
> >
Add Product Add Product