Added printing bank account balance
This commit is contained in:
parent
3368c70202
commit
647f60a13d
|
@ -68,6 +68,7 @@ class Application {
|
||||||
customer.accounts.forEach { account ->
|
customer.accounts.forEach { account ->
|
||||||
println()
|
println()
|
||||||
println("${account}:")
|
println("${account}:")
|
||||||
|
println("${account.balance}")
|
||||||
println()
|
println()
|
||||||
|
|
||||||
if (account.bookedTransactions.isEmpty()) {
|
if (account.bookedTransactions.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue