Verkaufszahl als eigene Ganzzahlspalte darstellen

This commit is contained in:
gitea_admin committed 2026-09-21 08:16:26 +02:00
1 parent b1fd16cf06
commit d03f653848
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -152,7 +152,8 @@ function auth_render_markets_large_table(array $marketTable): string
$statusSignalClass = trim(auth_market_status_signal_class($status));
$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>';
$html[] = '<div class="sg-large-table__cell" role="cell">' . auth_escape_html((string) ($row['sold_item_count'] ?? 0)) . '</div>';
$soldItemCount = (int) round((float) ($row['sold_item_count'] ?? 0));
$html[] = '<div class="sg-large-table__cell" role="cell">' . $soldItemCount . '</div>';
$html[] = '</div>';
}