brmbar v3: Properly record payment by cash in database

This commit is contained in:
Petr Baudis 2012-09-05 13:47:31 +02:00
parent e428d28e20
commit 5b63e54687
3 changed files with 22 additions and 3 deletions

View file

@ -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")
}