From 5b84368636090260cd5547448d2338cd3d18dbd5 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 7 Mar 2018 12:53:13 +0530 Subject: [PATCH] student view change in aaplication status --- .../assets/js/controllers/applicationStatusCtrl.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Apollo/assets/js/controllers/applicationStatusCtrl.js b/Apollo/assets/js/controllers/applicationStatusCtrl.js index 61f5b540..d862963f 100755 --- a/Apollo/assets/js/controllers/applicationStatusCtrl.js +++ b/Apollo/assets/js/controllers/applicationStatusCtrl.js @@ -494,7 +494,7 @@ app.controller('studentModalDemoCtrl', ["$scope", "$modal", "$log", "API_POINTS" }; - $scope.open1 = function (values) { + $scope.open1 = function (values,type) { var modalInstance1 = $modal.open({ templateUrl: 'assets/views/student/studentPaymentModal.html', @@ -502,7 +502,12 @@ app.controller('studentModalDemoCtrl', ["$scope", "$modal", "$log", "API_POINTS" // size: size, resolve: { items1: function () { - return values; + var myvalues = + { + "values":values, + "type":type + }; + return myvalues; } } }); @@ -539,7 +544,8 @@ app.controller('ModalInstanceCtrl', ["$scope", "$modalInstance", "items","WordsS }]); app.controller('ModalInstanceCtrl1', ["$scope", "$modalInstance", "items1","WordsService", function ($scope, $modalInstance, items1,WordsService) { - $scope.items1 = items1; + $scope.items1 = items1.values; + $scope.selectedtype = items1.type; $scope.ok = function () { $modalInstance.close($scope.selected.item);