fix: count updates and small ui adjustments

This commit is contained in:
Rafael Taranto 2024-02-13 21:44:49 +00:00
parent eaa2b69f18
commit 24d0973f12
3 changed files with 95 additions and 66 deletions

View file

@ -159,8 +159,12 @@ const Wizard = ({ machine, cashoutSettings, locale, onClose, save, error }) => {
R.merge(makeCassettesInitialValues(), makeRecyclersInitialValues())
const steps = R.pipe(
R.concat(makeRecyclerSteps(numberOfRecyclers)),
R.concat(makeCassetteSteps(numberOfCassettes)),
R.concat(
makeRecyclerSteps(
canManuallyLoadRecyclers(machine) ? numberOfRecyclers : 0
)
),
R.concat(makeCassetteSteps(isCashOutDisabled ? 0 : numberOfCassettes)),
R.concat([
{
type: 'cashbox',