cash_out_enabled: operator switch to take a machine's cash-out out of service deliberately #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deferred from #50 (ADR-005 slice 2). Today a machine refuses cash-out only when it latches itself after a terminal dispenser fault (
cashOutHeld, released by Recount / Resume). There is no way for the operator to turn cash-out off on purpose — a bay about to run dry, a planned refill visit, a machine they want cash-in-only for a while.Shape (bitspire ADR-005 Decision 5 / Future directions):
dca_machines.cash_out_enabled(default true) + a toggle on the machine card, published to the machine in the existing kind-30078 operator config doc (cash_out_enabled: false) rather than as an op — it is state, not an event.cashOutHeld;cashOutAvailableguard =!held && enabled && inventory. The idle screen shows "cash-out unavailable" the same way it does for a hold; the availability beacon carries it.Needs the bitspire half (guard + config field); file there when picked up.