max cards
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
|
||||
<ion-buttons slot="secondary">
|
||||
<ion-buttons slot="secondary" *ngIf="card_count<max_card;">
|
||||
<ion-button
|
||||
fill="outline"
|
||||
size="small"
|
||||
|
||||
@@ -38,6 +38,7 @@ export class AddcreditPage implements OnInit {
|
||||
flutterwave_key: string = "";
|
||||
|
||||
card_count: number = 0;
|
||||
max_card:number = 0;
|
||||
|
||||
publicKey = "FLWPUBK_TEST-XXXXXXXXX";
|
||||
|
||||
@@ -84,6 +85,7 @@ export class AddcreditPage implements OnInit {
|
||||
|
||||
this.monthsData = this.sessionDataProviderService.getMonths();
|
||||
this.cardExpirationYears = this.sessionDataProviderService.getCardExpirationYears();
|
||||
this.max_card = this.sessionDataProviderService.max_card;
|
||||
|
||||
if (this.walletData != undefined) {
|
||||
this.curr_balance = this.walletData.amount * 0.01;
|
||||
|
||||
@@ -52,6 +52,8 @@ export class SessionDataProviderService {
|
||||
"zip_code": "30127",
|
||||
"internal_return": 100
|
||||
*/
|
||||
max_card:number=4;
|
||||
|
||||
refresh:number=30000;
|
||||
account_country:string="NG";
|
||||
account_type:string="";
|
||||
|
||||
Reference in New Issue
Block a user