Schneespur — Open-source winter service documentation software (PWA + Admin). GPS tracking via OwnTracks, weather data, photo evidence, and legally compliant service records for winter maintenance operators. License: AGPL-3.0-or-later
21 lines
1.2 KiB
PHP
21 lines
1.2 KiB
PHP
@php $retentionStats = $widget['data']['retentionStats']; @endphp
|
|
<div class="mt-6">
|
|
<div class="bg-amber-50 border-l-4 border-amber-500 rounded-lg p-4">
|
|
<div class="flex">
|
|
<div class="flex-shrink-0">
|
|
<svg class="h-5 w-5 text-amber-400" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z" />
|
|
</svg>
|
|
</div>
|
|
<div class="ml-3">
|
|
<p class="text-sm text-amber-700">
|
|
{{ __('job.retention_hint', ['count' => $retentionStats->count]) }}
|
|
{{ __('job.retention_hint_oldest', ['date' => \Carbon\Carbon::parse($retentionStats->oldestDate)->format('d.m.Y')]) }}
|
|
</p>
|
|
<p class="mt-1">
|
|
<a href="{{ route('admin.settings.retention') }}" class="text-sm font-medium text-amber-700 underline hover:text-amber-600">{{ __('job.retention_hint_action') }} →</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|