Ad sold columns in account list.

This commit is contained in:
Alexis Lahouze 2015-07-15 13:46:28 +02:00
parent 89b8c7925a
commit d09d5ace17

View File

@ -22,6 +22,8 @@
<thead> <thead>
<tr> <tr>
<th class="">Nom du compte</th> <th class="">Nom du compte</th>
<th class="col-md-1">Solde courant</th>
<th class="col-md-1">Solde pointé</th>
<th class="col-md-1">Découvert autorisé</th> <th class="col-md-1">Découvert autorisé</th>
<th class="col-md-1">Actions</th> <th class="col-md-1">Actions</th>
</tr> </tr>
@ -34,6 +36,10 @@
<input type="text" class="form-control" ng-model="newAccount.name" /> <input type="text" class="form-control" ng-model="newAccount.name" />
</td> </td>
<td></td>
<td></td>
<td> <td>
<input type="text" class="form-control" <input type="text" class="form-control"
ng-model="newAccount.authorized_overdraft" /> ng-model="newAccount.authorized_overdraft" />
@ -55,7 +61,9 @@
</tr> </tr>
<tr id="account_[[account.id]]" class="form-inline" ng-repeat="account in accounts"> <tr id="account_[[account.id]]" class="form-inline" ng-repeat="account in accounts">
<td>[[ account.name ]]</td> <td><a href="account/[[ account.id ]]/entries">[[ account.name ]]</a></td>
<td>[[ account.current ]]</td>
<td>[[ account.pointed ]]</td>
<td>[[ account.authorized_overdraft ]]</td> <td>[[ account.authorized_overdraft ]]</td>
<td> <td>
<div class="btn-group"> <div class="btn-group">