Checklist Configuration

@csrf
@foreach ($checklists as $template) @php $i = "Active" @endphp @php $j = "Inactive" @endphp @endforeach
Sr.No Item Name Item Type Description Status Action
{{$template->checklist_id}} {{$template->item_name}} {{$template->item_type}} {{$template->description}} @php $var = $template->status==1 @endphp @if($var==1) @else @endif