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