voce/static/views/revenue.html
2015-09-24 18:42:56 +02:00

36 lines
1.3 KiB
HTML

<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="revenue in revenues">
<div class="panel-heading">{{revenue.date|date}}</div>
<div class="panel-body">
{{revenue.amount|currency:" € "}}
</div>
<div class="panel-footer">{{revenue.note}}</div>
</div>
</div>
</div>
</div>