@php $columns = [ ['label' => 'Id', 'column' => 'id', 'sort' => true], ['label' => 'Satus', 'column' => 'is_subscribed', 'sort' => false], ['label' => 'Email', 'column' => 'email', 'sort' => true], ['label' => 'Actions', 'column' => 'action', 'sort' => false], ]; @endphp @foreach ($subscribers as $key => $item) {{-- --}} {{ $item->id }} {{ $item->is_subscribed ? 'Subscribed' : 'Unsubscribed' }} {{ $item->email }} @endforeach
@push('scripts') @endpush