add credit
This commit is contained in:
@@ -52,7 +52,8 @@ export class AddcreditPage implements OnInit {
|
||||
}
|
||||
onBack() {
|
||||
this.setCloseModal();
|
||||
this.navctr.back();
|
||||
// this.navctr.back();
|
||||
|
||||
}
|
||||
|
||||
usrData: {
|
||||
@@ -128,7 +129,10 @@ export class AddcreditPage implements OnInit {
|
||||
}
|
||||
setCloseModal(){
|
||||
this.isModalOpen = false;
|
||||
setTimeout(()=>{ this.isModalOpenBackdrop= false;},1000);
|
||||
setTimeout(()=>{
|
||||
this.isModalOpenBackdrop= false;
|
||||
this.myWallet();
|
||||
},1000);
|
||||
}
|
||||
|
||||
amount:number =0;
|
||||
@@ -213,7 +217,10 @@ export class AddcreditPage implements OnInit {
|
||||
this.userWalletService.getWalletData(); // refresh the wallet
|
||||
this.credit_confirmation = creditResult.confirmation;
|
||||
alert("Completed");
|
||||
|
||||
this.onBack();
|
||||
// setTimeout(()=>{
|
||||
// this.onBack();
|
||||
// },2500);
|
||||
// this.startCreditResult = startCreditResult;
|
||||
//
|
||||
//
|
||||
@@ -228,6 +235,10 @@ export class AddcreditPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
myWallet(){
|
||||
this.router.navigate(['tabs/tab4']);
|
||||
}
|
||||
|
||||
payPevCreditData:{
|
||||
member_id:number,
|
||||
sessionid:string,
|
||||
|
||||
Reference in New Issue
Block a user