Fix: Would not navigate as the search was referencing unresolved variables.
This commit is contained in:
parent
374664e9ab
commit
a77293e0b2
@ -25,7 +25,7 @@ var ProductLedgerController = ['$scope', '$routeParams', '$location', 'asDateFil
|
||||
$scope.info = data;
|
||||
});
|
||||
} else {
|
||||
$location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', startDate).search('FinishDate', finishDate);
|
||||
$location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', $scope.info.StartDate).search('FinishDate', $scope.info.FinishDate);
|
||||
}
|
||||
};
|
||||
$scope.downloadTable = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user