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:
parent
e05e44f468
commit
482e1afc3a
5 changed files with 45 additions and 11 deletions
|
|
@ -5,6 +5,7 @@ const resolvers = {
|
|||
cashboxBatches: () => cashbox.getBatches()
|
||||
},
|
||||
Mutation: {
|
||||
createBatch: (...[, { deviceId }]) => cashbox.createCashboxBatch(deviceId),
|
||||
editBatch: (...[, { id, performedBy }]) => cashbox.editBatchById(id, performedBy)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ const typeDef = gql`
|
|||
}
|
||||
|
||||
type Mutation {
|
||||
createBatch(deviceId: ID): CashboxBatch
|
||||
editBatch(id: ID, performedBy: String): CashboxBatch
|
||||
}
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue