refactor: change automatic/manual batch creation option menu text

This commit is contained in:
André Sá 2021-12-22 11:23:39 +00:00
parent 464b3e278a
commit 3fc64955b9

View file

@ -281,7 +281,7 @@ const CashCassettes = () => {
className={classes.tableWidth}> className={classes.tableWidth}>
{!showHistory && ( {!showHistory && (
<Box alignItems="center" justifyContent="flex-end"> <Box alignItems="center" justifyContent="flex-end">
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1> <Label1 className={classes.cashboxReset}>Cash box resets</Label1>
<Box <Box
display="flex" display="flex"
alignItems="center" alignItems="center"
@ -344,13 +344,13 @@ const CashCassettes = () => {
)} )}
{editingSchema && ( {editingSchema && (
<Modal <Modal
title={'Cashbox reset'} title={'Cash box resets'}
width={478} width={478}
handleClose={() => setEditingSchema(null)} handleClose={() => setEditingSchema(null)}
open={true}> open={true}>
<P className={classes.descriptions}> <P className={classes.descriptions}>
Specify if you want your cash-in counts to be reset automatically or We can automatically assume you emptied a bill validator's cash box
manually. when the machine detects that it has been removed.
</P> </P>
<RadioGroup <RadioGroup
name="set-automatic-reset" name="set-automatic-reset"
@ -360,8 +360,8 @@ const CashCassettes = () => {
className={classes.radioButtons} className={classes.radioButtons}
/> />
<P className={classes.descriptions}> <P className={classes.descriptions}>
Choose this option if you want your cash-in cashbox count to be Assume the cash box is emptied whenever it's removed, creating a new
reset automatically when it is physically removed from the machine. batch on the history screen and setting its current balance to zero.
</P> </P>
<RadioGroup <RadioGroup
name="set-manual-reset" name="set-manual-reset"
@ -371,9 +371,9 @@ const CashCassettes = () => {
className={classes.radioButtons} className={classes.radioButtons}
/> />
<P className={classes.descriptions}> <P className={classes.descriptions}>
Choose this option if you want to edit your cash-in counts manually Cash boxes won't be assumed emptied when removed, nor their counts
on Lamassu Admin, after you physically remove the bills from the modified. Instead, to update the count and create a new batch,
cashbox. you'll click the 'Edit' button on this panel.
</P> </P>
<DialogActions className={classes.actions}> <DialogActions className={classes.actions}>
<Button onClick={() => saveCashboxOption(selectedRadio)}> <Button onClick={() => saveCashboxOption(selectedRadio)}>