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