mc
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.tilman</groupId>
|
<groupId>de.tilman</groupId>
|
||||||
<artifactId>next-transactions</artifactId>
|
<artifactId>next-transactions</artifactId>
|
||||||
<version>1.9.3</version>
|
<version>1.9.4</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ function numberToAmount(number) {
|
|||||||
transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routeParams', '$resource', '$q', '$uibModal', '$log', 'Transaction', function($scope, $routeParams, $resource, $q, $uibModal, $log, Transaction) {
|
transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routeParams', '$resource', '$q', '$uibModal', '$log', 'Transaction', function($scope, $routeParams, $resource, $q, $uibModal, $log, Transaction) {
|
||||||
|
|
||||||
function refreshExpenses() {
|
function refreshExpenses() {
|
||||||
var accountUsers = $resource($scope.account._links.users.href).get();
|
var accountUsers = $resource($scope.account._links.appusers.href).get();
|
||||||
accountUsers.$promise.then(function(data) {
|
accountUsers.$promise.then(function(data) {
|
||||||
$scope.accountUsers = accountUsers._embedded.users;
|
$scope.accountUsers = accountUsers._embedded.appusers;
|
||||||
|
|
||||||
// get outstandings (expenses and withdrawals) for all users of the account
|
// get outstandings (expenses and withdrawals) for all users of the account
|
||||||
var promises = new Array($scope.accountUsers.length);
|
var promises = new Array($scope.accountUsers.length);
|
||||||
|
|||||||
Reference in New Issue
Block a user