Verkaufszahl um Umsatz erweitern

This commit is contained in:
gitea_admin committed 2026-09-21 08:21:02 +02:00
1 parent d03f653848
commit 42127b0916
2 files changed
+15 -2

No files matched your search

+2 -1
View File
@@ -153,7 +153,8 @@ function auth_render_markets_large_table(array $marketTable): string
$statusValue = '<span' . ($statusSignalClass !== '' ? ' class="' . auth_escape_html($statusSignalClass) . '"' : '') . '>' . auth_escape_html(auth_market_status_label($status)) . '</span>';
$html[] = '<div class="sg-large-table__cell" role="cell">' . $statusValue . '</div>';
$soldItemCount = (int) round((float) ($row['sold_item_count'] ?? 0));
$html[] = '<div class="sg-large-table__cell" role="cell">' . $soldItemCount . '</div>';
$soldGrossRevenue = number_format((float) ($row['sold_gross_revenue'] ?? 0), 0, '.', "'");
$html[] = '<div class="sg-large-table__cell" role="cell">' . $soldItemCount . '/' . $soldGrossRevenue . 'CHF</div>';
$html[] = '</div>';
}