fix order
This commit is contained in:
parent
67ebb2ebd7
commit
f4783236d2
@ -163,7 +163,7 @@ const OrderListTable = () => {
|
||||
cell: ({ row }) => (
|
||||
<Typography
|
||||
component={Link}
|
||||
href={getLocalizedUrl(`/apps/ecommerce/orders/details/${row.original.order_number}`, locale as Locale)}
|
||||
href={getLocalizedUrl(`/apps/inventory/orders/${row.original.id}/details`, locale as Locale)}
|
||||
color='primary.main'
|
||||
>{`#${row.original.order_number}`}</Typography>
|
||||
)
|
||||
@ -214,10 +214,7 @@ const OrderListTable = () => {
|
||||
{
|
||||
text: 'View',
|
||||
icon: 'tabler-eye',
|
||||
href: getLocalizedUrl(
|
||||
`/apps/ecommerce/orders/${row.original.id}/details`,
|
||||
locale as Locale
|
||||
),
|
||||
href: getLocalizedUrl(`/apps/inventory/orders/${row.original.id}/details`, locale as Locale),
|
||||
linkProps: { className: 'flex items-center gap-2 is-full plb-2 pli-4' }
|
||||
},
|
||||
{
|
||||
@ -270,12 +267,7 @@ const OrderListTable = () => {
|
||||
className='sm:is-auto'
|
||||
/>
|
||||
<div className='flex items-center max-sm:flex-col gap-4 max-sm:is-full is-auto'>
|
||||
<CustomTextField
|
||||
select
|
||||
value={pageSize}
|
||||
onChange={handlePageSizeChange}
|
||||
className='is-[70px] max-sm:is-full'
|
||||
>
|
||||
<CustomTextField select value={pageSize} onChange={handlePageSizeChange} className='is-[70px] max-sm:is-full'>
|
||||
<MenuItem value='10'>10</MenuItem>
|
||||
<MenuItem value='25'>25</MenuItem>
|
||||
<MenuItem value='50'>50</MenuItem>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user