iCal-Regelentwuerfe sichtbar speichern und Aktivierungsstand anzeigen
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m0s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m0s
This commit is contained in:
1 parent
e7efb06277
commit
7d998e2b81
5 files changed
+147
-14
No files matched your search
@@ -1,6 +1,7 @@
|
||||
@php($preview = $this->preview())
|
||||
<div class="space-y-4" style="min-width:0;overflow-wrap:anywhere">
|
||||
<p><strong>{{ count($preview['rows']) }} Originalereignisse</strong> · {{ $preview['unmatched'] }} noch nicht erkannt.</p>
|
||||
<p>Dies ist die Vorschau des aktuellen Entwurfs. Die Einordnung im Belegungsplan ändert sich erst durch „Speichern & anwenden“. Ein Führungskandidat wird dadurch noch nicht automatisch mit anderen Einträgen zusammengeführt.</p>
|
||||
@foreach ($preview['rules'] as $index => $rule)
|
||||
<p class="text-sm"><strong>{{ $rule['name'] ?? 'Neue Regel' }}:</strong> {{ $preview['counts'][$index] ?? 0 }} Treffer nach Priorität.</p>
|
||||
@endforeach
|
||||
@@ -12,6 +13,9 @@
|
||||
<p><strong>Zeitraum:</strong> {{ $row['starts_on'] ?? 'kein belegender Zeitraum' }} @if ($row['ends_on']) bis {{ $row['ends_on'] }} (Abreise exklusiv) @endif</p>
|
||||
<p><strong>UID:</strong> {{ $row['uid'] }}</p>
|
||||
<p><strong>Treffende Regel:</strong> {{ $result['rule'] ?? 'Keine' }}</p>
|
||||
@if ($row['occupation_url'])
|
||||
<p><a href="{{ $row['occupation_url'] }}" class="font-medium underline">Importierten Eintrag öffnen</a></p>
|
||||
@endif
|
||||
<p><strong>Einordnung:</strong> {{ \App\Channels\ICal\ICalRuleEngine::REPRESENTATIONS[$result['representation']] ?? 'Unbestimmt' }} · Priorität {{ $result['priority'] }}</p>
|
||||
<p><strong>Erkannter Ursprung:</strong> {{ $result['origin_channel_id'] ? ($this->record->property->channels->firstWhere('id', $result['origin_channel_id'])?->name ?? 'Unbekannt') : 'Unbekannt' }}</p>
|
||||
@foreach ($result['fields'] as $field => $value)
|
||||
@@ -20,9 +24,13 @@
|
||||
@if ($row['candidates'])
|
||||
<div class="rounded-lg bg-gray-50 p-3 dark:bg-gray-900">
|
||||
<p class="font-medium">Mögliche Zusammenhänge: exakt derselbe Zeitraum</p>
|
||||
<p>Das ist ein Hinweis, kein Identitätsnachweis. Eine erkannte Reservierung kann die führende Darstellung sein. Unter „Sperrzeiten → Belegung zuordnen / klären“ persönlich zuordnen.</p>
|
||||
<p>Das ist ein Hinweis, kein Identitätsnachweis. Den führenden Datensatz bestehen lassen. In den Details der zusätzlichen Darstellung über „Belegung zuordnen / klären“ die führende Belegung persönlich auswählen.</p>
|
||||
@foreach ($row['candidates'] as $candidate)
|
||||
<p>Sperre #{{ $candidate['id'] }} · {{ $candidate['reason'] }} · Führungsvorrang {{ $candidate['priority'] }}</p>
|
||||
<p>Kalendereintrag #{{ $candidate['id'] }} · {{ $candidate['reason'] }} · {{ $candidate['kind'] }} · Führungsvorrang {{ $candidate['priority'] }}
|
||||
@if ($candidate['url'])
|
||||
<a href="{{ $candidate['url'] }}" class="font-medium underline">Belegungsdetails öffnen</a>
|
||||
@endif
|
||||
</p>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user