Remove unused service.
This commit is contained in:
parent
5b7a4f8aa5
commit
d977286637
@ -1,77 +0,0 @@
|
|||||||
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
|
|
||||||
<!-- kate: space-indent on; indent-width 2; mixedindent off; -->
|
|
||||||
<!--
|
|
||||||
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/>.
|
|
||||||
-->
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -44,10 +44,6 @@ export function accountIdServiceFactory(i: any) {
|
|||||||
CategoryService,
|
CategoryService,
|
||||||
OperationService,
|
OperationService,
|
||||||
{
|
{
|
||||||
provide: '$modal',
|
|
||||||
deps: ['$injector'],
|
|
||||||
useFactory: $modalServiceFactory
|
|
||||||
}, {
|
|
||||||
provide: 'accountIdService',
|
provide: 'accountIdService',
|
||||||
deps: ['$injector'],
|
deps: ['$injector'],
|
||||||
useFactory: accountIdServiceFactory
|
useFactory: accountIdServiceFactory
|
||||||
|
Loading…
Reference in New Issue
Block a user