{{-- @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 --}}
{!! Form::open(array('route' => 'pdmadatalist_export','method'=>'POST')) !!} {!! Form::hidden('pdma_export', $jsondata) !!} {!! Form::submit('Export PDNA Data', array('name' => 'export', 'class' => 'btn btn-danger')); !!} {!! Form::close() !!}
@if(Auth::user()->role==40) @endif @foreach($data->chunk(3) as $chunks) @foreach($chunks as $item) @if(Auth::user()->role==40) @endif @endforeach @endforeach
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 PotentialAction
{{$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}}Edit
{{ $data->links("pagination::bootstrap-4") }}
Showing {{ $data->firstItem() }} to {{ $data->lastItem() }} of total {{$data->total()}} entries