{{-- @php $current_user = Auth::user(); if ($current_user) { $allow_access = DB::table('users') ->join('roles', 'users.id', '=', 'users.role') ->where('users.id', '=', $current_user->id) ->first(); } $settlement_management = json_decode($allow_access->user_management); array_unshift($settlement_management, 0); @endphp @if($settlement_management[1] == 1) @endif --}}
| S no | Reference Number | Province | CNIC | Survey Date | Address | District | Tehsil | Uc | Beneficiary Name | Father/Husbent Name | Contact number | Gender | Age | Name of next kin | Cnic of kin | Damaged Rooms | Damaged Type | Damaged Category | Auto Gender | IS CNIC | IS Contact | IS Complete | IS Potential | @if(Auth::user()->role==40)Action | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$item->id}} | {{$item->b_reference_number}} | {{$item->province}} | {{$item->cnic}} | {{$item->survey_date}} | {{$item->address}} | {{$item->getdistrict->name ?? ''}} | {{$item->gettehsil->name ?? ''}} | {{$item->getuc->name ?? ''}} | {{$item->beneficiary_name}} | {{$item->father_name}} | {{$item->contact_number}} | {{$item->gender}} | {{$item->age}} | {{$item->name_next_of_kin}} | {{$item->cnic_of_kin}} | {{$item->damaged_rooms}} | {{$item->damaged_type}} | {{$item->damaged_category}} | {{$item->auto_gender}} | {{$item->is_cnic}} | {{$item->is_contact}} | {{$item->is_complete}} | {{$item->is_potential}} | @if(Auth::user()->role==40)Edit | @endif