2016-04-12 10:55:08 +02:00
|
|
|
<!--
|
|
|
|
This file is part of Accountant.
|
|
|
|
|
|
|
|
Accountant is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Accountant is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
|
|
|
|
<div class="row">
|
|
|
|
<table class="table table-striped table-condensed table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="col-md-1">Date de début</th>
|
|
|
|
<th class="col-md-1">Date de fin</th>
|
|
|
|
<th class="col-md-1">Jour</th>
|
|
|
|
<th class="col-md-1">Fréq.</th>
|
|
|
|
<th>Libellé de l'opération</th>
|
|
|
|
<th class="col-md-1">Montant</th>
|
|
|
|
<th class="col-md-2">Catégorie</th>
|
|
|
|
<th class="col-md-1">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td colspan="8">
|
2016-10-14 08:52:10 +02:00
|
|
|
<button class="btn btn-success" ng-click="schedulerCtrl.add()">
|
2016-04-12 10:55:08 +02:00
|
|
|
Ajouter
|
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr id="{{ operation.id }}" class="form-inline"
|
2016-10-14 08:52:10 +02:00
|
|
|
ng-repeat="operation in schedulerCtrl.operations">
|
2016-04-12 10:55:08 +02:00
|
|
|
<td class="col-md-1">
|
|
|
|
{{ operation.start_date | date: "yyyy-MM-dd" }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.stop_date | date: "yyyy-MM-dd" }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.day }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.frequency }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.label }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.value | currency : "€" }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{{ operation.category }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
2017-06-17 00:25:01 +02:00
|
|
|
<div class="btn-group btn-group-xs">
|
|
|
|
<!-- Edit operation. -->
|
|
|
|
<button type="button" class="btn btn-default"
|
|
|
|
ng-click="schedulerCtrl.modify(operation)" title="edit">
|
|
|
|
<span class="fa fa-pencil-square-o"></span>
|
|
|
|
</button>
|
2016-04-12 10:55:08 +02:00
|
|
|
|
2017-06-17 00:25:01 +02:00
|
|
|
<!-- Remove operation. -->
|
|
|
|
<button type="button" class="btn btn-default"
|
|
|
|
ng-if="operation.id"
|
|
|
|
ng-click="schedulerCtrl.delete(operation)"
|
|
|
|
title="remove">
|
|
|
|
<span class="fa fa-trash"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-04-12 10:55:08 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|