@extends('admin.layout.master') @section('content')
@php $i = 0; @endphp @foreach ($gd as $item) @if ($item->police_station == Auth::user()->police_station && Auth::user()->user_type == "police_station" ) {{-- --}} @elseif(Auth::user()->user_type == "super_admin") {{-- --}} @endif @endforeach
# Name Police Station Phone No Email Status Action
{{ ++$i }}{{ substr($item->title,0,30) }}{{ $item->name }} {{ $item->policestation->name}}
{{ $item->phone_no}} {{ $item->email}} {{-- {{ $item->status}} --}} status == "Solved" ? 'checked' : '' }}>
{{ ++$i }} {{ $item->name }}{{ substr($item->description,0,30) }} {{ $item->policestation->name}}
{{ $item->phone_no}} {{ $item->email}} {{-- {{ $item->status}} --}} status == 1 ? 'checked' : '' }}>
@endsection