redeem page
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
|
||||
<div class="ion-padding">
|
||||
<div class="boxed_contents">
|
||||
<div class="flex">
|
||||
<ion-label class="bold_text">{{currency_description}} Wallet</ion-label>
|
||||
</div>
|
||||
<!-- <div class="flex">-->
|
||||
<!-- <ion-label class="bold_text">{{currency_description}} Wallet</ion-label>-->
|
||||
<!-- </div>-->
|
||||
<ion-label class="color_text">Balance: {{curr_balance| number : '1.2-2'}} {{currency_description}}</ion-label>
|
||||
<div class="items">
|
||||
|
||||
@@ -57,29 +57,29 @@
|
||||
|
||||
<ion-grid class="send-grid">
|
||||
<ion-row>
|
||||
<ion-col class="intr">Amount({{currency_code}})</ion-col>
|
||||
<ion-col class="intr">Amount ({{currency_description}}) :</ion-col>
|
||||
<ion-col>
|
||||
<ion-input (ionChange)="refreshFee()" type="number" label="Amount(ggg)" placeholder="Enter Amount" [(ngModel)]='amount'></ion-input>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col class="intr">Fee</ion-col>
|
||||
<ion-col class="intr">Fee :</ion-col>
|
||||
<ion-col>
|
||||
<ion-input label="Fee" type="number" placeholder="0" [(ngModel)]='fee_display' [readonly]="true"></ion-input>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col class="intr">Total</ion-col>
|
||||
<ion-col class="intr">Total ({{currency_description}}) :</ion-col>
|
||||
<ion-col>
|
||||
<ion-input label="Total" type="number" placeholder="0" [(ngModel)]='total_display' [readonly]="true"></ion-input>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col>Recipient</ion-col>
|
||||
<ion-col class="intrl">Sending to (recipient) :</ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col size="9" >
|
||||
<ion-select (ionChange)="checkSelectVal()" placeholder="Select Recipient" [(ngModel)]='recipient' size="block">
|
||||
<ion-select (ionChange)= "checkSelectVal()" placeholder="Select Recipient" [(ngModel)]='recipient' size="block">
|
||||
<!-- <ion-select-option value="" >Select Recipient</ion-select-option>-->
|
||||
<ion-select-option value="{{item.recipient_uid}}" *ngFor="let item of myRecipientsData">{{item.recipient}}</ion-select-option>
|
||||
<!-- <ion-select-option value="ADD_NEW_RECIP" >Add Recipient</ion-select-option>-->
|
||||
|
||||
@@ -16,22 +16,22 @@ ion-content {
|
||||
}
|
||||
}
|
||||
|
||||
.send-grid{
|
||||
background-color: #eff2f4;
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
font-weight: bolder;
|
||||
ion-select, ion-input{
|
||||
border-radius: 10px;
|
||||
border-color: #383a3e;
|
||||
background-color: white;
|
||||
text-align: right;
|
||||
}
|
||||
.intr{
|
||||
text-align: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
//.send-grid{
|
||||
// background-color: #eff2f4;
|
||||
// border-radius: 10px;
|
||||
// font-size: 14px;
|
||||
// font-weight: bolder;
|
||||
// ion-select, ion-input{
|
||||
// border-radius: 10px;
|
||||
// border-color: #383a3e;
|
||||
// background-color: white;
|
||||
// text-align: right;
|
||||
// }
|
||||
// .intr{
|
||||
// text-align: right;
|
||||
// margin-top: 10px;
|
||||
// }
|
||||
//}
|
||||
.flex {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
@@ -275,12 +275,9 @@ this.usrData = {action:11200, member_id: this.sessionDataProviderService.member_
|
||||
this.curr_page ='redeem_result';
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
myRecipientsTotalData:any;
|
||||
|
||||
getMyRecipientsData(){
|
||||
this.usrData = {action:11175,
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
@@ -298,12 +295,10 @@ this.usrData = {action:11200, member_id: this.sessionDataProviderService.member_
|
||||
console.log("myRecipientsData RETURN DATA->", this.myRecipientsData);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
addNewBank(){
|
||||
this.router.navigate(['addbank']);
|
||||
// debugger;
|
||||
this.router.navigate(['addbank'],{state: this.walletData});
|
||||
}
|
||||
//recipientAccount
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user