day book excel

This commit is contained in:
venbatechnologies@gmail.com 2018-10-26 16:23:19 +05:30
parent 8680ffcc9d
commit 7b3d06e60a
4 changed files with 10 additions and 6 deletions

View File

@ -831,7 +831,7 @@ else
$scope.exportData = function () { $scope.exportData = function () {
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]); 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,Fname as FeeCollectedBy ,Activity INTO XLS("daybook_details.xls",?) FROM ?',[styleXl(),$scope.data]);
}; };
//Modal for bill details //Modal for bill details
$rootScope.bill_Details = ''; $rootScope.bill_Details = '';

View File

@ -818,7 +818,7 @@ else
} }
$scope.exportData = function () { $scope.exportData = function () {
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]); 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,Fname as FeeCollectedBy ,Activity INTO XLS("daybook_details.xls",?) FROM ?',[styleXl(),$scope.data]);
}; };
//Modal for bill details //Modal for bill details
$rootScope.bill_Details = ''; $rootScope.bill_Details = '';

View File

@ -990,7 +990,7 @@ else
return mystyle; return mystyle;
} }
$scope.exportData = function () { $scope.exportData = function () {
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]); 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,Fname as FeeCollectedBy ,Activity INTO XLS("daybook_details.xls",?) FROM ?', [styleXl(), $scope.data]);
}; };
//Modal for bill details //Modal for bill details

View File

@ -1026,7 +1026,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
//$scope.setModel.feesType = $scope.feesStructureInfo[lastval]; //$scope.setModel.feesType = $scope.feesStructureInfo[lastval];
//console.log($scope.lastsetfee); console.log($scope.lastsetfee);
$scope.setModel = { $scope.setModel = {
"feesType": $scope.feesStructureInfo[$scope.lastsetfee], "feesType": $scope.feesStructureInfo[$scope.lastsetfee],
@ -1302,6 +1302,8 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
$scope.BatchDetails=dateListDescService.getOrderByList($scope.BatchDetails); $scope.BatchDetails=dateListDescService.getOrderByList($scope.BatchDetails);
if(model.InstallmentDetails != ''){ if(model.InstallmentDetails != ''){
/*$scope.myModelInstallemt.ID=model.InstallmentDetails[model.InstallmentDetails.length-1].ID; /*$scope.myModelInstallemt.ID=model.InstallmentDetails[model.InstallmentDetails.length-1].ID;
@ -1350,6 +1352,8 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
$rootScope.lastInstallemtDate="";*/ $rootScope.lastInstallemtDate="";*/
$rootScope.updateMoreItems=[]; $rootScope.updateMoreItems=[];
} }
$scope.setFeesTotalAmount(model,'1',model,'1'); $scope.setFeesTotalAmount(model,'1',model,'1');
} }