feat: Equipment-System, Buchungsbearbeitung, Kundenadresse, LexOffice-Fix

- Vintage Modell hinzugefuegt
- Equipment Multi-Select (Neue Buchung + Bearbeitung)
- Kundenadresse in Formularen
- Bearbeiten-Seite fuer Buchungen
- Abbau-Zeiten in Formularen und Uebersicht
- Vertrag PDF nur bei Privatkunden
- LexOffice Kontakt-Erstellung Fix (BUSINESS)
- Zurueck-Pfeil auf Touren-Seite
This commit is contained in:
Julia Wehden
2026-03-19 16:21:55 +01:00
parent 0b6e429329
commit a2c95c70e7
79 changed files with 7396 additions and 538 deletions

View File

@@ -42,7 +42,7 @@ export default function DashboardSidebar({ user }: DashboardSidebarProps) {
];
return (
<aside className="w-64 bg-gradient-to-br from-gray-800 to-gray-900 border-r border-gray-700 shadow-lg min-h-screen">
<aside className="w-64 bg-gradient-to-br from-gray-800 to-gray-900 border-r border-gray-700 shadow-lg min-h-screen flex flex-col">
<div className="p-6 border-b border-gray-700">
<h1 className="text-xl font-bold text-white">
SaveTheMoment <span className="text-red-400">Atlas</span>
@@ -50,7 +50,7 @@ export default function DashboardSidebar({ user }: DashboardSidebarProps) {
<p className="text-sm text-gray-400 mt-1">{user?.name || 'Benutzer'}</p>
</div>
<nav className="p-4 space-y-2">
<nav className="p-4 space-y-2 flex-1 overflow-y-auto">
{navItems.map((item) => {
const Icon = item.icon;
const active = isActive(item.href);
@@ -104,12 +104,12 @@ export default function DashboardSidebar({ user }: DashboardSidebarProps) {
</div>
</nav>
<div className="absolute bottom-4 left-4 right-4">
<div className="p-4 border-t border-gray-700">
<button
onClick={() => signOut({ callbackUrl: '/' })}
className="flex items-center gap-3 px-4 py-3 text-gray-300 hover:bg-red-500/20 hover:text-red-400 rounded-lg w-full transition-colors"
className="flex items-center justify-center gap-2 px-4 py-2 text-sm text-gray-300 hover:bg-red-500/20 hover:text-red-400 rounded-lg transition-colors border border-gray-700 hover:border-red-500/50 w-full"
>
<FiLogOut /> Abmelden
<FiLogOut size={16} /> Abmelden
</button>
</div>
</aside>