{{this.api.loggedInUser.displayName}}
@for (acc of this.api.ownedAccounts; track $index) { }

{{ this.api.currentUser.balance | currency}}

Recent Transactions
@for (transaction of transactions(); track $index) {
@if (transaction.receiverID == this.api.currentUser.id) {
{{ transaction.senderID }}
}@else {
{{ transaction.receiverID }}
} {{ transaction.date | date:'medium' }}
@if (transaction.receiverID == this.api.currentUser.id) {
{{ transaction.amount | currency }}
}@else {
{{ - transaction.amount | currency }}
}
} @empty {

No transactions yet

}