show changes after modal has been closed

This commit is contained in:
2016-07-09 14:20:37 +02:00
parent 2938d08d5c
commit a8824c360d
3 changed files with 65 additions and 47 deletions
@@ -61,8 +61,7 @@
<input
id="descriptionInput"
ng-model="transaction.description"
uib-typeahead="address for address in updateSuggestions($viewValue)"
typeahead-loading="loadingLocations"
uib-typeahead="suggestion for suggestion in updateSuggestions($viewValue)"
class="form-control">
</div>
@@ -89,7 +88,7 @@
<th>Betrag</th>
<th>Beschreibung</th>
</tr>
<tr ng-repeat="transaction in transactions" ng-click="openDetails(transaction.id)" class="clickable">
<tr ng-repeat="transaction in transactions" ng-click="openDetails(transaction)" class="clickable">
<td>{{transaction.date | date:'dd.MM.yyyy'}}</td>
<td>{{transaction.category.name}}</td>
<td align="right" ng-class="{credit: transaction.creditor.name}">{{transaction.amount | number : 2}}&nbsp;&euro;</td>
@@ -151,8 +150,7 @@
<input
id="descriptionInput"
ng-model="transaction.description"
uib-typeahead="address for address in updateSuggestions($viewValue)"
typeahead-loading="loadingLocations"
autocomplete="off"
class="form-control">
</div>