Bestellungen-Tabelle im Content initialisieren

This commit is contained in:
2026-06-15 14:55:45 +02:00
parent fe7e7b6575
commit 78ffb18aed
+1 -2
View File
@@ -220,7 +220,7 @@ function render_auth_home_page(array $user, array $otcProducts = [], array $best
); );
$moduleContentCards = json_encode( $moduleContentCards = json_encode(
[ [
'Bestellungen' => '<article class="sg-card" data-component="basic-card"><div class="sg-card-segment sg-card-segment--body sg-card-segment--gray" data-component-part="card-body"><div class="sg-component-row sg-basic-card__actions"><button class="sg-interaction-element sg-button sg-button--active" type="button" aria-haspopup="dialog" aria-expanded="false" data-component="button" data-component-state="active" data-otc-order-open>OTC-Bestellung erfassen</button></div></div></article>', 'Bestellungen' => '<article class="sg-card" data-component="basic-card"><div class="sg-card-segment sg-card-segment--body sg-card-segment--gray" data-component-part="card-body"><div class="sg-component-row sg-basic-card__actions"><button class="sg-interaction-element sg-button sg-button--active" type="button" aria-haspopup="dialog" aria-expanded="false" data-component="button" data-component-state="active" data-otc-order-open>OTC-Bestellung erfassen</button></div></div></article>' . auth_render_bestellungen_large_table($bestellungenTable),
], ],
JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES
); );
@@ -299,7 +299,6 @@ function render_auth_home_page(array $user, array $otcProducts = [], array $best
echo '</div>'; echo '</div>';
echo '</div>'; echo '</div>';
echo '</article>'; echo '</article>';
echo auth_render_bestellungen_large_table($bestellungenTable);
echo '</div>'; echo '</div>';
echo '</section>'; echo '</section>';
echo '</div>'; echo '</div>';