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