add cc
This commit is contained in:
@@ -198,7 +198,10 @@
|
|||||||
<ion-label>Total: </ion-label>
|
<ion-label>Total: </ion-label>
|
||||||
<div>{{startCreditResult.total*.01| number : '1.2-2' }}</div>
|
<div>{{startCreditResult.total*.01| number : '1.2-2' }}</div>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
<ion-item *ngIf="startCreditResult.card_uid !='' ">
|
||||||
|
<ion-label>Payment: </ion-label>
|
||||||
|
<div>{{selPaymentCard.description}} **** **** {{selPaymentCard.digits}}</div>
|
||||||
|
</ion-item>
|
||||||
|
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export class AddcreditPage implements OnInit {
|
|||||||
};
|
};
|
||||||
|
|
||||||
usersCardsTotalData:any;
|
usersCardsTotalData:any;
|
||||||
usersCardsData: [];
|
usersCardsData: any;
|
||||||
getUsersCardsList(){
|
getUsersCardsList(){
|
||||||
this.usrData =
|
this.usrData =
|
||||||
{
|
{
|
||||||
@@ -111,6 +111,8 @@ export class AddcreditPage implements OnInit {
|
|||||||
console.log("startCreditResult TOTAL RETURN->", this.startCreditResult);
|
console.log("startCreditResult TOTAL RETURN->", this.startCreditResult);
|
||||||
if ( startCreditResult!=undefined && startCreditResult.credit_reference!='' ){
|
if ( startCreditResult!=undefined && startCreditResult.credit_reference!='' ){
|
||||||
this.startCreditResult = startCreditResult;
|
this.startCreditResult = startCreditResult;
|
||||||
|
|
||||||
|
|
||||||
this.isModalOpen = true;
|
this.isModalOpen = true;
|
||||||
this.isModalOpenBackdrop= true;
|
this.isModalOpenBackdrop= true;
|
||||||
}
|
}
|
||||||
@@ -130,6 +132,7 @@ export class AddcreditPage implements OnInit {
|
|||||||
recipient:string ='';
|
recipient:string ='';
|
||||||
recipient_name:string ='';
|
recipient_name:string ='';
|
||||||
payment_card:string = '';
|
payment_card:string = '';
|
||||||
|
selPaymentCard:any;
|
||||||
|
|
||||||
feeReturn: any;
|
feeReturn: any;
|
||||||
refreshFee(){
|
refreshFee(){
|
||||||
@@ -159,6 +162,7 @@ export class AddcreditPage implements OnInit {
|
|||||||
this.isDisabled=false;
|
this.isDisabled=false;
|
||||||
}
|
}
|
||||||
if (this.total > 5 && this.processor==5000 && this.payment_card !="" ){
|
if (this.total > 5 && this.processor==5000 && this.payment_card !="" ){
|
||||||
|
this.selPaymentCard = this.usersCardsData.filter((item) => item.card_uid == this.payment_card)[0];
|
||||||
this.isDisabled=false;
|
this.isDisabled=false;
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user