Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Components/admin/Owners/AnalyticsClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function AnalyticsClient({ summary, revenueByHaven, monthlyRevenu
value: `₱${summary.total_revenue.toLocaleString()}`,
change: `${summary.revenue_change >= 0 ? '+' : ''}${summary.revenue_change.toFixed(1)}%`,
trending: summary.revenue_change >= 0 ? "up" : "down",
icon: DollarSign,
icon: () => <span className="text-5xl font-bold opacity-50">₱</span>,
color: "bg-green-500" // Match Bookings "Confirmed" card color
},
{
Expand Down
2 changes: 1 addition & 1 deletion Components/admin/Owners/DashboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const DashboardPage = ({
{
title: "Total Revenue",
value: `₱${Number(totalRevenue).toLocaleString('en-US', { maximumFractionDigits: 0 })}`,
Icon: DollarSign,
Icon: () => <span className="text-5xl font-bold opacity-50">₱</span>,
color: "bg-green-500",
loading: analyticsLoading,
subtitle: "Last 30 days"
Expand Down
2 changes: 1 addition & 1 deletion Components/admin/Owners/RevenueManagementPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const RevenueManagementPage = () => {
value: formatCurrency(summary?.total_revenue || 0),
change: `${summary?.revenue_change?.toFixed(1) || 0}%`,
color: "bg-blue-500",
icon: DollarSign,
icon: () => <span className="text-5xl font-bold opacity-50">₱</span>,
positive: (summary?.revenue_change || 0) >= 0
},
{
Expand Down
Loading