reregistrationformCtrl.js edited PDF Controller online with Bitbucket
This commit is contained in:
parent
55f2f7818d
commit
7aa2b61e93
@ -462,8 +462,13 @@ app.controller('reregistrationformCtrl', ["$scope","$rootScope","toaster", "$fil
|
||||
var len = index-$scope.Subject[key].length;
|
||||
//console.log(len);
|
||||
for(var j=0;j<=len;j++){
|
||||
if(no <=9){
|
||||
no = no.toString();
|
||||
doc.text(25,row+5,no);
|
||||
}else{
|
||||
no = no.toString();
|
||||
doc.text(23,row+5,no);
|
||||
}
|
||||
// doc.text(75,row+5,"--");
|
||||
// doc.text(120,row+5,"--");
|
||||
row = row+6;
|
||||
@ -476,7 +481,10 @@ app.controller('reregistrationformCtrl', ["$scope","$rootScope","toaster", "$fil
|
||||
doc.text(15,260,"DD No / Cheque No ....................... Dated ............... Bank ....................");
|
||||
doc.text(15,270,"Amount ...................");
|
||||
doc.text(150,280,"Signature of Candidate");
|
||||
doc.save(Student.Firstname +'_'+ Student.Lastname+'_sem'+$scope.sem[key]+'.pdf');
|
||||
if(Student.FeeDetails[0].SubType =="SEM"){
|
||||
doc.save(Student.Firstname +'_'+ Student.Lastname+'_sem'+$scope.sem[key]+'.pdf');}else{
|
||||
doc.save(Student.Firstname +'_'+ Student.Lastname+'_sem'+$scope.Year[key]+'.pdf');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user