Add id in operation list.

This commit is contained in:
Alexis Lahouze 2017-07-30 15:34:12 +02:00
parent b5e4b1cd08
commit 162d98add7
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import { OperationService } from './operation.service';
<table class="table table-striped table-condensed table-hover"> <table class="table table-striped table-condensed table-hover">
<thead> <thead>
<tr> <tr>
<th>#</th>
<th>Date d'op.</th> <th>Date d'op.</th>
<th>Libell&eacute; de l'op&eacute;ration</th> <th>Libell&eacute; de l'op&eacute;ration</th>
<th>Montant</th> <th>Montant</th>

View File

@ -21,6 +21,8 @@ import { OperationService } from './operation.service';
"[class.danger]": "operation.balance < account.authorized_overdraft" "[class.danger]": "operation.balance < account.authorized_overdraft"
}, },
template: ` template: `
<td>{{ operation.id }}</td>
<td>{{ operation.operation_date | date:"yyyy-MM-dd" }}</td> <td>{{ operation.operation_date | date:"yyyy-MM-dd" }}</td>
<td>{{ operation.label }}</td> <td>{{ operation.label }}</td>