diff --git a/src/app/investor/investments/[id]/page.tsx b/src/app/investor/investments/[id]/page.tsx index 71e8bef..9a47fbe 100644 --- a/src/app/investor/investments/[id]/page.tsx +++ b/src/app/investor/investments/[id]/page.tsx @@ -104,9 +104,9 @@ export default function InvestorInvestmentDetailPage({ params }: { params: Promi }; return ( -
+
-
+
@@ -114,17 +114,33 @@ export default function InvestorInvestmentDetailPage({ params }: { params: Promi
-
+

- {investment.planName} + + {investment.planName}

- {investment.planType} - {investment.status} + +
+ + {investment.planType} + + + + {investment.status} + +

ID: #{investment.id?.toUpperCase()} • Started: {investment.startDate}

-
@@ -147,7 +163,7 @@ export default function InvestorInvestmentDetailPage({ params }: { params: Promi

Total Return

-

৳{(investment.actualEarnings / 1000).toFixed(0)}k

+

৳{investment.actualEarnings.toLocaleString()}

@@ -173,20 +189,18 @@ export default function InvestorInvestmentDetailPage({ params }: { params: Promi
-
+
{[ { key: 'overview', label: 'Overview', icon: FileText, count: null }, { key: 'bikes', label: 'Bikes', icon: Bike, count: demoBikes.length }, - { key: 'payments', label: 'Payments', icon: Wallet, count: null }, { key: 'transactions', label: 'Transactions', icon: CreditCard, count: demoTransactions.length }, { key: 'statement', label: 'Statement', icon: Receipt, count: null }, - ].map((tab) => { const Icon = tab.icon; return ( @@ -267,6 +281,41 @@ export default function InvestorInvestmentDetailPage({ params }: { params: Promi
+ +
+
+

+ Payment History +

+ +
+
+ + + + + + + + + + + + {paymentHistory.map((payment) => ( + + + + + + + + ))} + +
DateTypeMethodAmountStatus
{payment.date}{payment.type}{payment.method}৳{payment.amount.toLocaleString()}{payment.status}
+
+
)}