Verkaufte Produkte in Durchführungen anzeigen
This commit is contained in:
1 parent
b2cb88e4ff
commit
b1fd16cf06
2 files changed
+12
-1
No files matched your search
@@ -126,6 +126,7 @@ function auth_render_markets_large_table(array $marketTable): string
|
||||
$html[] = '<div class="sg-large-table__cell sg-large-table__cell--header" role="columnheader" aria-sort="' . $headerDirection . '" data-sort-key="' . $headerIndex . '"><button class="sg-large-table__sort-button" type="button" aria-label="' . auth_escape_html($ariaLabel) . '" data-markets-sort-button="true" data-markets-sort-column="' . auth_escape_html($column) . '" data-markets-sort-direction="' . auth_escape_html($targetDirection) . '"><span class="sg-large-table__sort-label">' . auth_escape_html($label) . '</span><span class="sg-large-table__sort-icon" aria-hidden="true" data-direction="' . auth_escape_html($iconDirection) . '"></span></button></div>';
|
||||
$headerIndex++;
|
||||
}
|
||||
$html[] = '<div class="sg-large-table__cell sg-large-table__cell--header" role="columnheader">Verkaufte Produkte</div>';
|
||||
$html[] = '</div>';
|
||||
|
||||
foreach ($rows as $index => $row) {
|
||||
@@ -151,6 +152,7 @@ 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>';
|
||||
$html[] = '</div>';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user