Add spacing between open lot cards
This commit is contained in:
1 parent
ba65b05c08
commit
801695ea89
1 file changed
+1
-1
@@ -331,7 +331,7 @@ function auth_render_lager_open_lots(array $lagerProducts, string $manufacturerO
|
|||||||
$html = [];
|
$html = [];
|
||||||
foreach ($lagerProducts as $product) {
|
foreach ($lagerProducts as $product) {
|
||||||
$productId = (int) ($product['id'] ?? 0);
|
$productId = (int) ($product['id'] ?? 0);
|
||||||
$html[] = '<div data-lager-open-product="' . $productId . '" hidden>';
|
$html[] = '<div class="sg-content-group-box" data-component="content-group-box" data-lager-open-product="' . $productId . '" hidden>';
|
||||||
foreach (($product['open_lots'] ?? []) as $lot) {
|
foreach (($product['open_lots'] ?? []) as $lot) {
|
||||||
$lotId = (int) ($lot['lot_id'] ?? 0);
|
$lotId = (int) ($lot['lot_id'] ?? 0);
|
||||||
$selectedClass = !empty($lot['next_active']) ? ' sg-lager-open-lot--next-active' : '';
|
$selectedClass = !empty($lot['next_active']) ? ' sg-lager-open-lot--next-active' : '';
|
||||||
|
|||||||
Reference in new issue
Block a user