fix: cashout detection on cash cassette wizard

fix: cashbox wizard onContinue data
fix: cashbox batch creation query
feat: cashbox batch creation flow on UI
This commit is contained in:
Sérgio Salgado 2021-04-28 16:11:43 +01:00 committed by Josh Harvey
parent e05e44f468
commit 482e1afc3a
5 changed files with 45 additions and 11 deletions

View file

@ -5,6 +5,7 @@ const resolvers = {
cashboxBatches: () => cashbox.getBatches()
},
Mutation: {
createBatch: (...[, { deviceId }]) => cashbox.createCashboxBatch(deviceId),
editBatch: (...[, { id, performedBy }]) => cashbox.editBatchById(id, performedBy)
}
}