diff --git a/html/accounting/search_transaction.html b/html/accounting/search_transaction.html index c34fc25f..8dd039ab 100644 --- a/html/accounting/search_transaction.html +++ b/html/accounting/search_transaction.html @@ -46,7 +46,7 @@ - + {{transaction.officeName}} {{transaction.transactionDate}} {{transaction.glAccountType.value}} diff --git a/js/controllers/SearchTransactionController.js b/js/controllers/SearchTransactionController.js index 7ca3fcdc..b59ed5fa 100644 --- a/js/controllers/SearchTransactionController.js +++ b/js/controllers/SearchTransactionController.js @@ -18,8 +18,8 @@ scope.offices = data; }); - var fetchFunction = function(offset, limit, transactionId, callback) { - resourceFactory.journalEntriesResource.search({offset: offset, limit: limit, transactionId : transactionId} , callback); + var fetchFunction = function(offset, limit, callback) { + resourceFactory.journalEntriesResource.search({transactionId : scope.formData.transactionId , offset: offset, limit: limit} , callback); };