+
-
+
- Why Using Figma ?
- 10 mins
+ {{item.recipient}}
+ {{item.added | date}}
-
+
diff --git a/src/app/pages/payment/payment.page.ts b/src/app/pages/payment/payment.page.ts
index 2a89f7f..64125f9 100644
--- a/src/app/pages/payment/payment.page.ts
+++ b/src/app/pages/payment/payment.page.ts
@@ -21,6 +21,7 @@ export class PaymentPage implements OnInit {
ngOnInit() {
this.getUsersCardsList();
+ this.getMyRecipientsData();
}
onAddCard() {
@@ -59,4 +60,27 @@ export class PaymentPage implements OnInit {
);
}
+
+ myRecipientsTotalData:any;
+ myRecipientsData:any;
+ getMyRecipientsData(){
+ this.usrData = {action:11175,
+ member_id: this.sessionDataProviderService.member_id,
+ uid: this.sessionDataProviderService.member_uid,
+ sessionid: this.sessionDataProviderService.session ,
+ limit:20, page:1,
+ offset: 0}
+
+ this.wrenchService.recipientAccount(this.usrData).subscribe(
+ myRecipientsTotalData => {
+ this.myRecipientsTotalData = myRecipientsTotalData;
+ console.log("myRecipientsTotalData RETURN->", this.myRecipientsTotalData);
+ this.myRecipientsData = this.myRecipientsTotalData.result_list;
+ // debugger;
+ console.log("myRecipientsData RETURN DATA->", this.myRecipientsData);
+ }
+ );
+
+ }
+
}
diff --git a/src/app/pages/profile/profile.page.html b/src/app/pages/profile/profile.page.html
index 80d492a..e56a299 100644
--- a/src/app/pages/profile/profile.page.html
+++ b/src/app/pages/profile/profile.page.html
@@ -135,7 +135,7 @@
- Payment & Accounts
+ Card & Accounts
diff --git a/src/app/services/wrench.service.ts b/src/app/services/wrench.service.ts
index 33af036..678ab85 100644
--- a/src/app/services/wrench.service.ts
+++ b/src/app/services/wrench.service.ts
@@ -111,6 +111,8 @@ export class WrenchService {
getusersCardList(usrData){
return this.getPostData('paylistcard',usrData);
}
+
+ //recipients
getHomeBanners(usrData){
return this.getPostData('homebanners',usrData);
}
diff --git a/src/assets/images/cards/bank.png b/src/assets/images/cards/bank.png
new file mode 100644
index 0000000..3e1c335
Binary files /dev/null and b/src/assets/images/cards/bank.png differ