This commit is contained in:
2024-07-03 12:27:14 +02:00
parent 562f788202
commit eb194b1a81
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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);