{{-- SMS-utskick (DESIGN.md Page patterns 2, list page; #2957 slice 5a, card #3019). Same data and query parameters as before the reskin: SMSSendoutController@index paginates the company's SMS sendouts, "q" searches the name and "archived=1" also shows the archived ones (SMSSendout::scopeSearch). Rows, row actions and the abort dialog are in partials/list. --}} @extends('layouts.nuhet') @php $query = trim((string) request('q', '')); $showArchived = request()->filled('archived'); $filtered = $query !== '' || $showArchived; @endphp @section('_pageTitle', __('sms.sendout.pageTitle')) @section('pagename', __('sms.sendout.headerTitle')) @section('page')

{{ __('sms.sendout.headerTitle') }}

{{ __('sms.nhList.lead') }}

{{ __('sms.nhList.create') }}
@if ($smsSendouts->isEmpty() && ! $filtered) {{ __('sms.nhList.emptyText') }} {{ __('sms.nhList.create') }} @else @push('scripts') @endpush @if ($smsSendouts->isEmpty()) {{ __('sms.nhList.noMatchText') }} {{ __('sms.nhList.showAll') }} @else @include('sms.partials.list', ['data' => $smsSendouts, 'archived' => $showArchived]) @endif @endif @endsection