chore: release [ci skip]
This commit is contained in:
@@ -306,7 +306,8 @@ export default function AnalyticsPage() {
|
||||
{activeChart === "bar" && (
|
||||
<>
|
||||
<p className="mb-3 text-xs text-(--color-text-muted)">
|
||||
Comparing revenue of the first and second half of the current period
|
||||
Comparing revenue of the first and second half of the current
|
||||
period
|
||||
</p>
|
||||
<BarChart
|
||||
current={barCurrent}
|
||||
@@ -394,25 +395,19 @@ export default function AnalyticsPage() {
|
||||
{/* Summary row */}
|
||||
<div className="bg-background mt-4 flex flex-wrap gap-4 rounded-xl p-4 text-sm">
|
||||
<div>
|
||||
<span className="text-(--color-text-muted)">
|
||||
Total revenue:{" "}
|
||||
</span>
|
||||
<span className="text-(--color-text-muted)">Total revenue: </span>
|
||||
<span className="font-semibold text-(--color-primary)">
|
||||
{formatCurrencyFull(filteredRevenue)}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span className="text-(--color-text-muted)">
|
||||
Total profit:{" "}
|
||||
</span>
|
||||
<span className="text-(--color-text-muted)">Total profit: </span>
|
||||
<span className="font-semibold text-green-600">
|
||||
{formatCurrencyFull(filteredProfit)}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span className="text-(--color-text-muted)">
|
||||
Total units:{" "}
|
||||
</span>
|
||||
<span className="text-(--color-text-muted)">Total units: </span>
|
||||
<span className="text-foreground font-semibold">
|
||||
{filteredUnits.toLocaleString()} cups
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user