fix: recycler counts reset on cash unit update
This commit is contained in:
parent
ee90179bd1
commit
035a0a3b8e
3 changed files with 13 additions and 3 deletions
|
|
@ -64,7 +64,9 @@ const Wizard = ({ machine, cashoutSettings, locale, onClose, save, error }) => {
|
|||
].includes('YES')
|
||||
|
||||
const cassettes = buildCashUnitObj(CASSETTE_FIELDS, it)
|
||||
const recyclers = buildCashUnitObj(RECYCLER_FIELDS, it)
|
||||
const recyclers = canManuallyLoadRecyclers(machine)
|
||||
? buildCashUnitObj(RECYCLER_FIELDS, it)
|
||||
: []
|
||||
|
||||
const cashUnits = {
|
||||
cashbox: wasCashboxEmptied ? 0 : machine?.cashUnits.cashbox,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue