feat(manual): Bedienungsanleitung als Menüpunkt in „Mein Konto“

- Neue Seite /anleitung (views/manual.php, page_manual()) mit TOC: Schnellstart,
  Buchung anlegen, Unterlagen in der Buchung, die drei Mietvertrag-Varianten
  (Mit Lieferung, Selbstabholer, Truhe), Mietvertrag erzeugen, Unterschrift beim
  Kunden auf dem Tablet, Unterschriftslink, Drucken, Auftragsbestätigung,
  Rechnung aus Lexware, Fehlerfälle, Erinnerungen, Abwesenheiten, Fristen sowie
  Verwaltung (nur Admin).
- Verlinkt als Karte „Bedienungsanleitung“ in den Einstellungen (Mein Konto) und
  als Eintrag im Benutzermenü; neues Hilfe-Icon im Sprite.
- Styles für Schrittlisten, Hinweisboxen und Tabellen in der Anleitung,
  Asset-Version erhöht.
This commit is contained in:
torsten 2026-11-30 15:58:01 +01:00
parent 00ff8ba20d
commit fb98f9a355
8 changed files with 369 additions and 1 deletions

View file

@ -68,6 +68,7 @@ $navActive = static function (string $area) use ($path): string {
<symbol id="i-edit" viewBox="0 0 24 24"><path d="M4 20h4L20 8l-4-4L4 16z"/><path d="m13.5 6.5 4 4"/></symbol>
<symbol id="i-trash" viewBox="0 0 24 24"><path d="M4 7h16M9 7V4.5h6V7M6 7l1 13h10l1-13"/><path d="M10 11v5M14 11v5"/></symbol>
<symbol id="i-logout" viewBox="0 0 24 24"><path d="M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5"/><path d="M15 8l4 4-4 4M19 12H9"/></symbol>
<symbol id="i-help" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M9.6 9.3a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1-1.2 1.9v.3"/><path d="M12 17.2h.01"/></symbol>
<symbol id="i-user" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4.5 20a7.5 7.5 0 0 1 15 0"/></symbol>
<symbol id="i-alert" viewBox="0 0 24 24"><path d="M12 3.5 2.5 20.5h19z"/><path d="M12 9.5v5M12 17.6v.4"/></symbol>
<symbol id="i-snow" viewBox="0 0 24 24"><path d="M12 2v20M4.5 6.8l15 10.4M19.5 6.8 4.5 17.2M12 6.4 9.6 4M12 6.4 14.4 4M12 17.6 9.6 20M12 17.6l2.4 2.4"/></symbol>
@ -123,6 +124,7 @@ $navActive = static function (string $area) use ($path): string {
<p class="user-menu__who"><strong><?= e($user['first_name'] . ' ' . $user['last_name']) ?></strong>
<span><?= $isAdmin ? 'Administrator' : 'Mitarbeiter' ?></span></p>
<a href="<?= e(url('/account')) ?>"><svg class="ico" aria-hidden="true"><use href="#i-user"/></svg>Mein Konto</a>
<a href="<?= e(url('/anleitung')) ?>"><svg class="ico" aria-hidden="true"><use href="#i-help"/></svg>Bedienungsanleitung</a>
<button type="button" class="menu-button" data-install-app hidden><svg class="ico" aria-hidden="true"><use href="#i-download"/></svg>App installieren</button>
<?php if ($isAdmin): ?>
<a href="<?= e(url('/admin/users')) ?>"><svg class="ico" aria-hidden="true"><use href="#i-users"/></svg>Benutzerverwaltung</a>