Clients

@csrf
@foreach ($clients as $client) @php $i = "Active" @endphp @php $j = "Inactive" @endphp @endforeach
Client ID Client Name Contact Person Mobile No Email City Status Action
{{$client->client_id}} {{$client->client_name}} {{$client->contact_person}} {{$client->mobile_no}} {{$client->email}} {{$client->city}} @php $var = $client->status==1 @endphp @if($var==1) @else @endif