From f6a8144c4a6154656dc83488c56b2e99dbaad064 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 20 Sep 2018 11:17:04 +0530 Subject: [PATCH] bill detail modal for all users --- Apollo/assets/js/controllers/daybookCtrl.js | 1 + Apollo/assets/js/controllers/daybookadminCtrl.js | 1 + Apollo/assets/js/controllers/daybooksuperadminCtrl.js | 1 + 3 files changed, 3 insertions(+) diff --git a/Apollo/assets/js/controllers/daybookCtrl.js b/Apollo/assets/js/controllers/daybookCtrl.js index 01245c10..0cc8946c 100644 --- a/Apollo/assets/js/controllers/daybookCtrl.js +++ b/Apollo/assets/js/controllers/daybookCtrl.js @@ -784,6 +784,7 @@ $scope.dayBookApprovalAccess = ''; alasql('SELECT Date as Date, ListName as IncomeExpense, VoucherNumber as VoucherNumberBillNumber,concat( PaidTo,Lastname )as PaidToReceivedFrom,FeePaymentDetails as Sem, CourseName as Course,UniversityName as University,TypeName as Type, ReceiptNo as Receipt_No, ModeOfPayment as Mode_of_Payment,Amount as Amount,Balance as Balance, ReceiptNoComments as Comments, Reason, Activity INTO XLS("daybook_details.xls",?) FROM ?',[styleXl(),$scope.data]); }; //Modal for bill details + $rootScope.bill_Details = ''; $scope.billDetails = function(p){ //$rootScope.student = $scope.selectedStudentsID; diff --git a/Apollo/assets/js/controllers/daybookadminCtrl.js b/Apollo/assets/js/controllers/daybookadminCtrl.js index 9a0ebcfc..a4c9f791 100644 --- a/Apollo/assets/js/controllers/daybookadminCtrl.js +++ b/Apollo/assets/js/controllers/daybookadminCtrl.js @@ -771,6 +771,7 @@ $scope.dayBookApprovalAccess = ''; alasql('SELECT Date as Date, ListName as IncomeExpense, VoucherNumber as VoucherNumberBillNumber, concat( PaidTo,Lastname )as PaidToReceivedFrom,FeePaymentDetails as Sem, CourseName as Course,UniversityName as University,TypeName as Type, ReceiptNo as Receipt_No, ModeOfPayment as Mode_of_Payment,Amount as Amount,Balance as Balance,ReceiptNoComments as Comments, Reason, Activity INTO XLS("daybook_details.xls",?) FROM ?',[styleXl(),$scope.data]); }; //Modal for bill details + $rootScope.bill_Details = ''; $scope.billDetails = function(p){ //$rootScope.student = $scope.selectedStudentsID; diff --git a/Apollo/assets/js/controllers/daybooksuperadminCtrl.js b/Apollo/assets/js/controllers/daybooksuperadminCtrl.js index f14e81e6..41993fc6 100644 --- a/Apollo/assets/js/controllers/daybooksuperadminCtrl.js +++ b/Apollo/assets/js/controllers/daybooksuperadminCtrl.js @@ -939,6 +939,7 @@ $scope.loadStaring = true; }; //Modal for bill details + $rootScope.bill_Details = ''; $scope.billDetails = function(p){ //$rootScope.student = $scope.selectedStudentsID;