@@ -9926,11 +9926,12 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
suuorname: $scope.suuorname,
customerUU: $scope.customerUU
}, function (data) {
+ $scope.checkMain = data;
if (data.details.length > 0) {
angular.forEach(data.details, function (item) {
item.$selected = true;
});
- $scope.data = data;
+ $scope.data = data.details;
$scope.checkboxes.checked = true;
$scope.getTotalMoney();
} else {