Show outstanding sum only for accounts with several users
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div ng-show="accounts.length > 1">
|
||||
<select
|
||||
ng-model='account'
|
||||
ng-change='refreshList()'
|
||||
ng-change='initList()'
|
||||
ng-options="account.name for account in accounts track by account.id"></select>
|
||||
</div>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<a href="" ng-click="moreTransactions()">more</a>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 2em; text-align: center;">
|
||||
<div ng-show="accountUsers.length > 1" style="margin-top: 2em; text-align: center;">
|
||||
<span ng-repeat="user in accountUsers" ng-click="openOutstandings(user)" class="clickable">{{user.name}} {{user.outstandingAmount}} €<br/></span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user