From 1fa98a3b62512544925a7139129b91b334c3b98a Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 1 Jun 2018 12:14:32 +0530 Subject: [PATCH 1/4] pdf changes in fees status --- Apollo/assets/js/controllers/feesStatusCtrl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Apollo/assets/js/controllers/feesStatusCtrl.js b/Apollo/assets/js/controllers/feesStatusCtrl.js index 7b8099f4..254e6c62 100755 --- a/Apollo/assets/js/controllers/feesStatusCtrl.js +++ b/Apollo/assets/js/controllers/feesStatusCtrl.js @@ -2176,6 +2176,7 @@ app.controller('FeesModalInstanceCtrl', ["$scope", "$modalInstance", "items","Wo }; //show hide function for pdf design $scope.billNo=""; + $scope.receiptNo=""; $scope.sessionName=""; $scope.paymentType=""; $scope.billDate=""; @@ -2198,7 +2199,7 @@ app.controller('FeesModalInstanceCtrl', ["$scope", "$modalInstance", "items","Wo $scope.BranchAddr = pdfValue.Address; $scope.BranchLogo = pdfValue.LogoPath; $scope.FeesReceiptTitle = pdfValue.FeesReceiptTitle; - + $scope.receiptNo=pdfValue.ReceiptNo; } @@ -2215,6 +2216,7 @@ app.controller('FeesModalInstanceCtrl', ["$scope", "$modalInstance", "items","Wo $scope.BranchAddr = ""; $scope.BranchLogo = ""; $scope.FeesReceiptTitle=""; + $scope.receiptNo=""; } }]); From 9107e9ac5091e8b79f07a75b9e3c7f2d005d6127 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 1 Jun 2018 12:14:43 +0530 Subject: [PATCH 2/4] pdf changes in fees status --- Apollo/assets/views/status-update/updateFeesStatus.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Apollo/assets/views/status-update/updateFeesStatus.html b/Apollo/assets/views/status-update/updateFeesStatus.html index f43f03ed..0f33d802 100755 --- a/Apollo/assets/views/status-update/updateFeesStatus.html +++ b/Apollo/assets/views/status-update/updateFeesStatus.html @@ -460,7 +460,8 @@ FEES ESTIMATE -  {{billNo}} +  {{billNo}} / {{receiptNo}} + From 4558889574b4e46337ae8f323f437db4dee3448b Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 1 Jun 2018 13:14:37 +0530 Subject: [PATCH 3/4] student pending docs changes --- Apollo/assets/js/controllers/studentCtrl.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Apollo/assets/js/controllers/studentCtrl.js b/Apollo/assets/js/controllers/studentCtrl.js index 49cab1c4..34946de2 100755 --- a/Apollo/assets/js/controllers/studentCtrl.js +++ b/Apollo/assets/js/controllers/studentCtrl.js @@ -1196,7 +1196,6 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams", $scope.studentEntrollPendingDocFORM = { submit: function (form, myModelAddPendingDocDetails, stuID) { - $scope.documentTrackAddDetailsLoading = true; var firstError = null; if (form.$invalid) { var field = null, firstError = null; @@ -1213,11 +1212,14 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams", angular.element('.ng-invalid[name=' + firstError + ']').focus(); // swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error"); } else { + $scope.documentTrackAddDetailsLoading = true; + $scope.docFollowupDate = new Date(myModelAddPendingDocDetails.documentDate).toDateString(); + var ModelDetails = { "student": stuID, "doc_Details": myModelAddPendingDocDetails.documentDetails, "checkTracking": myModelAddPendingDocDetails.checkTracking, - "documentdate": myModelAddPendingDocDetails.date + "documentdate": $filter('date')(new Date($scope.docFollowupDate),'dd-MM-yyyy') }; var updateStudentPendingDocDetails = { method: 'POST', @@ -1238,6 +1240,7 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "documentDetails": "", "checkTracking": false } + form.$setPristine(true); } else { swal(" ", res.data.message, "error"); $scope.documentTrackAddDetailsLoading = false; @@ -2734,7 +2737,6 @@ app.controller('studentSuperAdminCtrl', ["$scope", "toaster", "$filter", "ngTabl $scope.studentEntrollPendingDocFORM = { submit: function (form, myModelAddPendingDocDetails, stuID) { - $scope.documentTrackAddDetailsLoading = true; var firstError = null; if (form.$invalid) { var field = null, firstError = null; @@ -2751,6 +2753,7 @@ app.controller('studentSuperAdminCtrl', ["$scope", "toaster", "$filter", "ngTabl angular.element('.ng-invalid[name=' + firstError + ']').focus(); // swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error"); } else { + $scope.documentTrackAddDetailsLoading = true; $scope.docFollowupDate = new Date(myModelAddPendingDocDetails.documentDate).toDateString(); //alert($filter('date')(new Date($scope.docFollowupDate),'dd-MM-yyyy')); // exist(); @@ -2779,6 +2782,7 @@ app.controller('studentSuperAdminCtrl', ["$scope", "toaster", "$filter", "ngTabl "documentDetails": "", "checkTracking": false } + form.$setPristine(true); } else { swal(" ", res.data.message, "error"); $scope.documentTrackAddDetailsLoading = false; From ebc2dbb2c9b86f9ccbddbbff04f0a21695134102 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 1 Jun 2018 13:15:18 +0530 Subject: [PATCH 4/4] student pending docs changes --- .../views/student/editStudentDetails.html | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Apollo/assets/views/student/editStudentDetails.html b/Apollo/assets/views/student/editStudentDetails.html index 5fce2f43..1579d1ef 100755 --- a/Apollo/assets/views/student/editStudentDetails.html +++ b/Apollo/assets/views/student/editStudentDetails.html @@ -550,7 +550,7 @@
-
+
-
-
+ + +
+ +
- - Session date is required. + Follow-up date is required.
@@ -603,7 +608,7 @@
-
+
- +