mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 21:33:59 +02:00
brmbar v3: Properly record payment by cash in database
This commit is contained in:
parent
e428d28e20
commit
5b63e54687
3 changed files with 22 additions and 3 deletions
|
@ -70,7 +70,7 @@ Item {
|
|||
text: "Pay by cash"
|
||||
fontSize: 44
|
||||
onButtonClick: {
|
||||
// TODO
|
||||
shop.sellItemCash(dbid)
|
||||
status_text.setStatus("Sold! Put " + price + " Kč in the money box.", "#ffff7c")
|
||||
loadPage("MainPage")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue