From 9c965727dfa661d46b35d8303e32bd2327981a95 Mon Sep 17 00:00:00 2001 From: Tanshu Date: Sat, 28 Sep 2013 16:10:28 +0530 Subject: [PATCH] Fixed: Prouct Ledger is fixed --- brewman/brewman/static/scripts/product-ledger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brewman/brewman/static/scripts/product-ledger.js b/brewman/brewman/static/scripts/product-ledger.js index fd160b2c..ef6e08cc 100644 --- a/brewman/brewman/static/scripts/product-ledger.js +++ b/brewman/brewman/static/scripts/product-ledger.js @@ -12,7 +12,7 @@ var ProductLedgerCtrl = ['$scope', '$routeParams', '$location', '$q', 'dateFilte $scope.info = data; }); } else { - $location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', $scope.info.StartDate).search('FinishDate', $scope.info.FinishDate); + $location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', start_date).search('FinishDate', finish_date); } }; $scope.downloadTable = function () {