add credit
This commit is contained in:
@@ -79,8 +79,8 @@ export class AddcreditPage implements OnInit {
|
||||
this.getUsersCardsList();
|
||||
}
|
||||
onBack() {
|
||||
this.setCloseModal();
|
||||
// this.navctr.back();
|
||||
// this.setCloseModal();
|
||||
this.navctr.back();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
<div class="lesson">
|
||||
<div class="video" *ngFor="let item of walletData;">
|
||||
<div class="left">
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url('+currency_url+'/'+item.code.toLowerCase()+'.svg'+etag+')'"></div>
|
||||
<div style="color: #8b198e; background-color: #0b5e86;"
|
||||
class="bg_image men_image"
|
||||
[style.backgroundImage]="'url('+currency_url+''+item.code.toLowerCase()+'.svg?'+etag+')'"></div>
|
||||
|
||||
<div class="text">
|
||||
<ion-label class="bold_text name_bg_text">{{item.description}}</ion-label>
|
||||
@@ -29,9 +31,9 @@
|
||||
<ion-label class="extra_text"><span class="title">Balance {{item.amount*0.01 | number : '1.2-2'}}</span></ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="right">-->
|
||||
<!-- <ion-icon name="chevron-forward-outline" color="medium"></ion-icon>-->
|
||||
<!-- </div>-->
|
||||
<div class="right">
|
||||
<ion-button style="font-weight: bolder;" shape="round" (click)="addCredit(item)" >+ Credit</ion-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -64,6 +64,10 @@ export class FamilyPage implements OnInit {
|
||||
this.navctr.back();
|
||||
}
|
||||
|
||||
addCredit(item){
|
||||
this.router.navigate(['addcredit'],{state: item});
|
||||
}
|
||||
|
||||
ionViewWillEnter() {
|
||||
this.etag = '' + Date.now();
|
||||
}
|
||||
|
||||
@@ -58,6 +58,7 @@ export class FamilymemberPage implements OnInit {
|
||||
this.navctr.back();
|
||||
}
|
||||
|
||||
|
||||
jobActive(item){
|
||||
this.router.navigate(['jobactive'],{state: item});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user