diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index 243b943..1e1b235 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -300,7 +300,7 @@ function auth_format_lager_quantity(float $value): string function auth_render_lager_documents(array $documents, bool $editable, string $scope): string { - $html = '

Dokumente

'; + $html = '

Dokumente

'; $html .= '
'; if ($documents === []) { $html .= '

Keine Dokumente vorhanden.

'; @@ -325,10 +325,10 @@ function auth_render_lager_documents(array $documents, bool $editable, string $s $comment = (string) ($document['comment'] ?? ''); $html .= '
'; } - $html .= '

Noch keine Dateien ausgewählt.

'; + $html .= '

Noch keine Dateien ausgewählt.

'; $html .= '
'; } - return $html . '
'; + return $html . '
'; } function auth_render_lager_historical_lots(array $lagerProducts): string @@ -352,8 +352,9 @@ function auth_render_lager_historical_lots(array $lagerProducts): string . 'MHD: ' . auth_format_lager_date($lot['expiry_date'] ?? null) . '
' . 'Hersteller: ' . auth_escape_html((string) ($lot['manufacturer_name'] ?? 'Nicht hinterlegt')) . '
' . 'Hersteller-Chargennummer: ' . auth_escape_html((string) ($lot['manufacturer_lot_number'] ?? 'Nicht hinterlegt')) . '

' + . '

' . auth_render_lager_documents($lot['documents'] ?? [], false, 'historical-' . (int) ($lot['lot_id'] ?? 0)) - . ''; + . ''; } $html[] = ''; } @@ -445,7 +446,7 @@ function auth_render_lager_content(array $lagerProducts, array $lagerArtikel, ar . '
' . auth_render_lager_open_lots($lagerProducts, $manufacturerOptions) . '
' . '
' . '
Aktive Charge
' - . '

Naurua-Chargennummer:
Aktueller Bestand:
Eingangsmenge:
Hersteller:
Hersteller-Chargennummer:
Herstellungsdatum:
MHD:
Einkaufsdatum:

' . auth_render_lager_documents([], false, 'current-read') . '
' + . '

Naurua-Chargennummer:
Aktueller Bestand:
Eingangsmenge:
Hersteller:
Hersteller-Chargennummer:
Herstellungsdatum:
MHD:
Einkaufsdatum:

' . auth_render_lager_documents([], false, 'current-read') . '