feat: replace toggle with radio and option descriptions
This commit is contained in:
parent
b5c37442c3
commit
c83b3cda56
4 changed files with 81 additions and 27 deletions
|
|
@ -14,7 +14,7 @@ function notifyCashboxRemoval (req, res, next) {
|
|||
.then(async config => {
|
||||
console.log('entered the config')
|
||||
const cashInSettings = getCashInSettings(config)
|
||||
if (cashInSettings.automaticCashboxReset) {
|
||||
if (cashInSettings.cashboxReset === 'Automatic') {
|
||||
console.log('We proceed with the cashbox reset!!')
|
||||
await cashbox.createCashboxBatch(req.deviceId, machine.cashbox)
|
||||
await machine.setMachine({ deviceId: req.deviceId, action: 'emptyCashInBills' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue