From e1c64ed3f0ebde6e2a34c5e2c035477f8c3d4fc6 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 14 Nov 2024 19:53:49 +0530 Subject: [PATCH] fix: added cards list --- billing/src/components/ChangeCardModal.vue | 2 +- billing/src/icons/RefreshIcon.vue | 18 ++ billing/src/pages/BillingHistory.vue | 2 +- billing/src/pages/Cards.vue | 237 ++++++++++++++++++++- 4 files changed, 254 insertions(+), 5 deletions(-) create mode 100644 billing/src/icons/RefreshIcon.vue diff --git a/billing/src/components/ChangeCardModal.vue b/billing/src/components/ChangeCardModal.vue index 595292f199..abb32ffe92 100644 --- a/billing/src/components/ChangeCardModal.vue +++ b/billing/src/components/ChangeCardModal.vue @@ -107,7 +107,7 @@ const removeCard = (card) => { message: 'Are you sure you want to remove this card?', actions: [ { - label: 'Delete', + label: 'Remove', variant: 'solid', theme: 'red', onClick: (close) => { diff --git a/billing/src/icons/RefreshIcon.vue b/billing/src/icons/RefreshIcon.vue new file mode 100644 index 0000000000..9e1806f4ec --- /dev/null +++ b/billing/src/icons/RefreshIcon.vue @@ -0,0 +1,18 @@ + diff --git a/billing/src/pages/BillingHistory.vue b/billing/src/pages/BillingHistory.vue index 675fde32ce..0a673af252 100644 --- a/billing/src/pages/BillingHistory.vue +++ b/billing/src/pages/BillingHistory.vue @@ -7,7 +7,7 @@
-

- {{ 'Cards' }} -

+
+

+ {{ 'Cards' }} +

+
+ + +
+
+
+ + + + + +
+ +
{{ item.last_4 }}
+ +
+ + + +
+
+
+
+
+ +