mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-09 13:54:00 +02:00
brmbar v3 Withdraw: New view for user withdrawal of previously added money
This commit is contained in:
parent
eda6eaf9e4
commit
83735fec98
4 changed files with 128 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue