diff --git a/src/components/admin/SubscriptionsTable.jsx b/src/components/admin/SubscriptionsTable.jsx
index e3881fe..e12adbc 100644
--- a/src/components/admin/SubscriptionsTable.jsx
+++ b/src/components/admin/SubscriptionsTable.jsx
@@ -33,6 +33,17 @@ const HeaderCell = ({ align, children }) => (
);
+const TableCell = ({ align = 'text-left', className = '', style, children, ...props }) => (
+
+ {children}
+ |
+);
+
+
const SubscriptionRow = ({
sub,
isExpanded,
@@ -47,41 +58,53 @@ const SubscriptionRow = ({
}) => (
<>
- |
+
{sub.user.first_name} {sub.user.last_name}
{sub.user.email}
- |
-
+
+
{sub.plan.name}
{sub.plan.billing_cycle}
- |
-
+
+
- |
-
+
+
{formatDate(sub.start_date)}
to {formatDate(sub.end_date)}
- |
-
+
+
{formatPrice(sub.base_subscription_cents || 0)}
- |
-
+
+
{formatPrice(sub.donation_cents || 0)}
- |
-
+
+
{formatPrice(sub.amount_paid_cents || 0)}
- |
-
+
+
- |
-
+
+
{hasPermission('subscriptions.edit') && (
- |
+
{isExpanded && (
- |
+
Transaction Details
@@ -260,7 +283,7 @@ const SubscriptionRow = ({
- |
+
)}
>
@@ -307,9 +330,14 @@ const SubscriptionsTable = ({
))
) : (
- |
+
No subscriptions found
- |
+
)}