2017-07-07 01:14:18 +02:00
|
|
|
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
|
|
|
|
<!-- kate: space-indent on; indent-width 2; mixedindent off; -->
|
2016-05-24 08:56:32 +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/>.
|
|
|
|
-->
|
2017-07-07 01:14:18 +02:00
|
|
|
<div class="modal top am-fade" tabindex="-1" role="dialog" aria-hidden="true">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title" id="modal-title">{{ title }}</h3>
|
2017-06-15 08:46:53 +02:00
|
|
|
</div>
|
|
|
|
|
2017-07-07 01:14:18 +02:00
|
|
|
<div class="modal-body" id="modal-body">
|
|
|
|
<form class="form-horizontal simple-form">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 control-label" for="operation-date">Date</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" id="operation-date" name="operation_date"
|
|
|
|
type="text" ng-model="operation.operation_date"
|
|
|
|
bs-datepicker data-date-format="yyyy-MM-dd" data-timezone="UTC"
|
|
|
|
placeholder="Operation date">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 control-label" for="label">Label</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" id="label" name="label"
|
|
|
|
ng-model="operation.label" type="text" placeholder="Label">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 control-label" for="value">Montant</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" id="value" name="value"
|
|
|
|
ng-model="operation.value" type="number" placeholder="Value">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-15 08:46:53 +02:00
|
|
|
|
2017-07-07 01:14:18 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 control-label" for="category">Catégorie</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" id="category" name="category"
|
|
|
|
ng-model="operation.category" type="text" placeholder="Category">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2017-06-15 08:46:53 +02:00
|
|
|
</div>
|
|
|
|
|
2017-07-07 01:14:18 +02:00
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="btn btn-primary" type="button" ng-click="$save()">
|
|
|
|
OK
|
|
|
|
</button>
|
|
|
|
<button class="btn btn-default" type="button" ng-click="$hide()">
|
|
|
|
Annuler
|
|
|
|
</button>
|
2017-06-15 08:46:53 +02:00
|
|
|
</div>
|
2016-05-24 08:49:55 +02:00
|
|
|
</div>
|
2017-07-07 01:14:18 +02:00
|
|
|
</div>
|
2017-06-15 08:46:53 +02:00
|
|
|
</div>
|