course details changes done
This commit is contained in:
parent
ff9704f2b9
commit
b1d1b35158
@ -4,7 +4,6 @@
|
|||||||
* Simple table with sorting and filtering on AngularJS
|
* Simple table with sorting and filtering on AngularJS
|
||||||
*/
|
*/
|
||||||
app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTableParams", "API_POINTS", "$localStorage", "$http", "$state", function ($scope,$rootScope,toaster, $filter, ngTableParams, apiPoint, $localStorage, $http, $state) {
|
app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTableParams", "API_POINTS", "$localStorage", "$http", "$state", function ($scope,$rootScope,toaster, $filter, ngTableParams, apiPoint, $localStorage, $http, $state) {
|
||||||
|
|
||||||
$scope.myModel = {
|
$scope.myModel = {
|
||||||
"studentName": "",
|
"studentName": "",
|
||||||
"mobileNumber": "",
|
"mobileNumber": "",
|
||||||
@ -400,7 +399,7 @@ app.controller('ModalDemoCtrl', ["$scope", "$modal", "$log", function ($scope, $
|
|||||||
// Please note that $modalInstance represents a modal window (instance) dependency.
|
// Please note that $modalInstance represents a modal window (instance) dependency.
|
||||||
// It is not the same as the $modal service used above.
|
// It is not the same as the $modal service used above.
|
||||||
|
|
||||||
app.controller('ModalInstanceCtrl', ["$scope", "$modalInstance", "items", function ($scope, $modalInstance, items) {
|
app.controller('ModalInstanceCtrl', ["$scope", "$modalInstance", "items","WordsService", function ($scope, $modalInstance, items,WordsService) {
|
||||||
|
|
||||||
$scope.items = items;
|
$scope.items = items;
|
||||||
$scope.selected = {
|
$scope.selected = {
|
||||||
@ -415,14 +414,32 @@ app.controller('ModalInstanceCtrl', ["$scope", "$modalInstance", "items", functi
|
|||||||
$modalInstance.dismiss('cancel');
|
$modalInstance.dismiss('cancel');
|
||||||
};
|
};
|
||||||
//show hide function for pdf design
|
//show hide function for pdf design
|
||||||
|
$scope.billNo="";
|
||||||
|
$scope.sessionName="";
|
||||||
|
$scope.paymentType="";
|
||||||
|
$scope.billDate="";
|
||||||
|
$scope.amountInWords = "";
|
||||||
|
$scope.billAmount = "";
|
||||||
$scope.ShowHide = function (pdfValue) {
|
$scope.ShowHide = function (pdfValue) {
|
||||||
$scope.showButton = true;
|
$scope.showButton = true;
|
||||||
$scope.BillNo = pdfValue.BillNO;
|
$scope.billNo = pdfValue.BillNO;
|
||||||
|
$scope.sessionName=pdfValue.SessionID;
|
||||||
|
$scope.paymentType=pdfValue.ModeOfPayment;
|
||||||
|
$scope.billDate=pdfValue.BillDate;
|
||||||
|
$scope.amountInWords = WordsService.convertNumberToWords(pdfValue.BillAmount);
|
||||||
|
$scope.billAmount = pdfValue.BillAmount;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.mouseLeave = function(){
|
$scope.mouseLeave = function(){
|
||||||
$scope.showButton = false;
|
$scope.showButton = false;
|
||||||
|
$scope.billNo="";
|
||||||
|
$scope.sessionName="";
|
||||||
|
$scope.paymentType="";
|
||||||
|
$scope.billDate="";
|
||||||
|
$scope.amountInWords = "";
|
||||||
|
$scope.billAmount = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user