fix: dont display cashbox reset option on history page and wrong header width

This commit is contained in:
José Oliveira 2021-07-06 17:44:28 +01:00 committed by Josh Harvey
parent bf31ace25d
commit ad30468708
2 changed files with 17 additions and 15 deletions

View file

@ -254,6 +254,7 @@ const CashCassettes = () => {
}} }}
iconClassName={classes.listViewButton} iconClassName={classes.listViewButton}
className={classes.tableWidth}> className={classes.tableWidth}>
{!showHistory && (
<Box alignItems="center" justifyContent="end"> <Box alignItems="center" justifyContent="end">
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1> <Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
<Box <Box
@ -269,6 +270,7 @@ const CashCassettes = () => {
</IconButton> </IconButton>
</Box> </Box>
</Box> </Box>
)}
</TitleSection> </TitleSection>
<div className={classes.tableContainer}> <div className={classes.tableContainer}>
{!showHistory && ( {!showHistory && (

View file

@ -16,7 +16,7 @@ export default {
tableWidth: { tableWidth: {
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
marginRight: 90 marginRight: 1
}, },
descriptions: { descriptions: {
color: offColor, color: offColor,