um Poolfahrzeuge erweitert

This commit is contained in:
Erik Thiele
2026-05-19 20:22:18 +02:00
parent 60a5dc39b2
commit 0199a21a66
12 changed files with 487 additions and 43 deletions

View File

@@ -51,6 +51,15 @@
<div class="stat-icon"><i class="ti ti-credit-card"></i></div>
</div>
</div>
<div class="card stat-card stat-card-pool" style="background: linear-gradient(135deg, #1f6f8b 0%, #14505f 100%); color: #ffffff;">
<div class="card-body">
<div>
<div class="stat-label">Poolfahrzeuge</div>
<div class="stat-value">{{ stats.active_pool_vehicles }}</div>
</div>
<div class="stat-icon"><i class="ti ti-car"></i></div>
</div>
</div>
</div>
</div>
</section>
@@ -70,6 +79,7 @@
<th>Abteilung</th>
<th>Tuerchip</th>
<th>Parkkarte</th>
<th>Poolfahrzeug</th>
</tr>
</thead>
<tbody>
@@ -94,6 +104,14 @@
-
{% endif %}
</td>
<td>
{% if user.pool_vehicle_code %}
{{ user.pool_vehicle_code }}<br>
<span class="muted">seit {{ user.pool_vehicle_assigned_at }}</span>
{% else %}
-
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>