+ @if (isLoading)
+ {
+
Messungen werden geladen…
+ }
+ else
+ {
+ @if (!string.IsNullOrEmpty(error))
+ {
+
⚠️ @error
+ }
+
+ @if (AllowEdit)
+ {
+
+
+
+
+ }
+
+ @if (editing != null)
+ {
+
+
@(isNew ? "Neue Messung" : "Messung bearbeiten")
+
+
+
+
+
+
+ @if (!string.IsNullOrEmpty(editing.ReportUrl))
+ {
+
Original-Report öffnen ↗
+ }
+
+
+ }
+
+ @if (inspections.Count == 0)
+ {
+ @if (editing == null)
+ {
+
Noch keine Profiltiefen-Messung fĂĽr diesen Satz vorhanden.
+ }
+ }
+ else
+ {
+
+ @foreach (var insp in inspections)
+ {
+ -
+
+
+ @((insp.MeasuredAt ?? insp.CreatedAt).ToLocalTime().ToString("dd.MM.yyyy HH:mm"))
+ @if (insp == latest) { aktuell }
+
+ @insp.Source@(string.IsNullOrEmpty(insp.RecordSn) ? "" : $" · {insp.RecordSn}")
+ @if (AllowEdit)
+ {
+
+
+ @if (confirmDeleteId == insp.Id)
+ {
+
+
+ }
+ else
+ {
+
+ }
+
+ }
+
+
+ VL @Fmt(insp.TreadDepthFL)
+ VR @Fmt(insp.TreadDepthFR)
+ HL @Fmt(insp.TreadDepthRL)
+ HR @Fmt(insp.TreadDepthRR)
+
+
+ @if (!string.IsNullOrEmpty(insp.LicensePlate)) {
đźš— @insp.LicensePlate }
+ @if (insp.Mileage.HasValue) {
@insp.Mileage.Value.ToString("N0", De) km }
+ @if (!string.IsNullOrEmpty(insp.ReportUrl)) {
Report ↗ }
+
+ @if (!string.IsNullOrEmpty(insp.Recommendation))
+ {
+ đź’ˇ @insp.Recommendation
+ }
+
+ }
+
+ }
+ }
+
+ }
+