updates on the deliveries page added the steps in the tabular format and updated the comparison map
This commit is contained in:
@@ -923,6 +923,7 @@ const Deliveries = () => {
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}> Kms</TableCell>
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}>Amount </TableCell>
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}>Notes </TableCell>
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}>Steps</TableCell>
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}>Qty</TableCell>
|
||||
<TableCell sx={{ position: 'sticky !important', backgroundColor: theme.palette.secondary.light, whiteSpace: 'nowrap', border: 'none' }}>COD </TableCell>
|
||||
{tabstatus !== 'Cancelled' && tabstatus !== 'Delivered' && (
|
||||
@@ -944,7 +945,7 @@ const Deliveries = () => {
|
||||
<TableBody>
|
||||
{rows.length == 0 && !loading1 && (
|
||||
<>
|
||||
<TableCell colSpan={13}>
|
||||
<TableCell colSpan={14}>
|
||||
{/* <Stack width={'100%'} direction={'row'} justifyContent={'center'}> */}
|
||||
<Empty description={`No ${tabstatus} Orders`} styles={{ description: { color: theme.palette.error.main } }} />
|
||||
</TableCell>
|
||||
@@ -1125,10 +1126,27 @@ const Deliveries = () => {
|
||||
</Tooltip>
|
||||
</Stack>
|
||||
</TableCell>
|
||||
{/* {qty} */}
|
||||
{/* notes */}
|
||||
<TableCell>
|
||||
<Typography>{row.notes}</Typography>
|
||||
</TableCell>
|
||||
{/* step */}
|
||||
<TableCell align="center">
|
||||
{row.step ? (
|
||||
<Chip
|
||||
label={row.step}
|
||||
size="small"
|
||||
color="primary"
|
||||
variant="light"
|
||||
sx={{ fontWeight: 700, minWidth: 28 }}
|
||||
/>
|
||||
) : (
|
||||
<Typography variant="subtitle2" color="text.disabled">
|
||||
—
|
||||
</Typography>
|
||||
)}
|
||||
</TableCell>
|
||||
{/* qty */}
|
||||
<TableCell>
|
||||
{row.Quantity ? (
|
||||
<Typography variant="subtitle1" color={'error'} sx={{ whiteSpace: 'nowrap' }}>
|
||||
|
||||
Reference in New Issue
Block a user