voce/static/views/expense.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2015-09-24 18:42:56 +02:00
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1>{{sum|currency:"€"}}</h1>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<form ng-submit="submitIncome()">
<fieldset>
<legend>Neue Einnahme</legend>
</fieldset>
<div class="form-group">
<input class="form-control" placeholder="Betrag" ng-model="income.amount">
</div>
<div class="form-group">
<textarea class="form-control" placeholder="Notizen" ng-model="income.note"></textarea>
</div>
<div class="form-group">
<button class="btn btn-block">Einname Speichern</button>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default" ng-repeat="expense in expenses">
<div class="panel-heading">{{expense.date|date}}</div>
<div class="panel-body">
{{expense.amount|currency:" € "}}
</div>
<div class="panel-footer">{{expense.note}}</div>
</div>
</div>
</div>
</div>