commit
17f059f09d
@ -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': {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user