brmbar v3 Withdraw: New view for user withdrawal of previously added money

This commit is contained in:
Petr Baudis 2012-09-24 04:40:56 +02:00
parent eda6eaf9e4
commit 83735fec98
4 changed files with 128 additions and 5 deletions

View file

@ -24,7 +24,8 @@ Item {
loadPageByAcct(acct)
return
}
loadPage("UserEdit", { name: acct["name"], dbid: acct["id"], negbalance: acct["negbalance"] })
/* TODO: This should be UserEdit when implemented. */
loadPage("Withdraw", { name: acct["name"], dbid: acct["id"], negbalance: acct["negbalance"] })
}
}
@ -67,6 +68,9 @@ Item {
height: 68
text: "Withdraw"
fontSize: 34
onButtonClick: {
loadPage("Withdraw", { username: modelData.name, userdbid: modelData.id })
}
}
}
model: user_list_model