{{-- SLA Overview widget content — refocused (Phase 2B). The outer card, title and description are rendered by the dashboard frame. This view returns only the inner content (a compact table of per-store SLA configuration). --}}
@if (empty($this->rows))
{{ __('No stores yet. Create one from the Stores page.') }}
@else
@foreach ($this->rows as $row) @php /** @var \App\Models\Store $store */ $store = $row['store']; @endphp @endforeach
{{ __('Store') }} {{ __('SLA') }} {{ __('Warning threshold') }} {{ __('Flags') }} {{ __('SLA risk') }}
{{ $store->name }}
{{ $store->slug }}
@if ($row['settings_present']) {{ trans_choice('{1} :n working day|[2,*] :n working days', $row['sla_working_days'], ['n' => $row['sla_working_days']]) }} @else {{ __('Settings missing') }} @endif @if ($row['warning_threshold']) {{ trans_choice('{1} :n hour|[2,*] :n hours', $row['warning_threshold'], ['n' => $row['warning_threshold']]) }} @else @endif
@if ($row['high_volume']) {{ __('High volume') }} @endif @if ($row['wismo_auto_close']) {{ __('WISMO auto-close') }} @endif @if (! $row['high_volume'] && ! $row['wismo_auto_close']) @endif
{{-- SLA risk placeholder. The future engine will compute a per-store risk band against working-day SLA math. --}} {{ __('Unknown') }}
@endif