@php $columns = [ ['label' => 'ID', 'column' => 'id', 'sort' => true], ['label' => 'Title', 'column' => 'title', 'sort' => true], ['label' => 'Tax', 'column' => 'tax', 'sort' => true], ['label' => 'Status', 'column' => 'status', 'sort' => true], ['label' => 'Actions', 'column' => 'action', 'sort' => false], ]; @endphp @foreach ($tax as $key => $item) {{ $item->id }} {{ $item->title }} {{ $item->percent }} @if ($item->status) Active @else In-Active @endif @endforeach
@push('scripts') @endpush