Extends omsorgCore with full CRUD for Facility/Contract/Order plus configurable value lists and an audit trail, and wires the omsorgapp frontend up to the new facilities, settings, and audit-log modules; includes a sidebar active-nav-item highlight. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
19 lines
660 B
PHP
19 lines
660 B
PHP
<?php
|
||
require_once __DIR__ . '/../lib/auth.php';
|
||
require_once __DIR__ . '/../lib/layout.php';
|
||
require_login();
|
||
|
||
// Nach Direct-Anlage/Admin-Reset muss zuerst ein eigenes Passwort gesetzt werden, bevor es
|
||
// weitergeht (Flag kommt aus der Login-Response, siehe _apply_token_pair in lib/auth.php).
|
||
if (!empty($_SESSION['omsorgcore_must_change_password'])) {
|
||
header('Location: settings.php?forced=1');
|
||
exit;
|
||
}
|
||
|
||
layout_start('Dashboard – Mitarbeiter-App');
|
||
?>
|
||
<h1 class="main-title">Willkommen, <span><?= e(current_name()) ?></span></h1>
|
||
<p class="main-sub">Eingeloggt als <?= e(current_username()) ?> (<?= e(current_role()) ?>).</p>
|
||
<?php
|
||
layout_end();
|