@extends('layouts.admin') @section('content')

{{trans('auth.Offender Detail')}} {{$user->fname}} {{$user->lname}}

{{ csrf_field() }}
{{trans('auth.Officer Name')}}
{{ucfirst($officer_details['fname'])}} {{$officer_details['mname']}} {{$officer_details['lname']}}
{{trans('auth.Profie Image')}}
@if ($user->image != "") profile Pic @else profile Pic @endif;
{{trans('auth.Battery Status')}}
profile Pic {{$user->battery_status}} %
{{trans('auth.First Name')}}
{{ucfirst($user->fname)}}
{{trans('auth.Middle Name')}}
@if($user->mname!="") {{$user->mname}} @else -- @endif
{{trans('auth.Last Name')}}
{{ucfirst($user->lname)}}
{{trans('auth.Email')}}
{{ucfirst($user->email)}}
@if (isset($user_detail))
{{trans('auth.Mobile Number 1')}}
@if($user_detail->mobile_number1!="") {{$user_detail->mobile_number1}} @else -- @endif
{{trans('auth.Mobile Number 2')}}
@if($user_detail->mobile_number2!="") {{$user_detail->mobile_number2}} @else -- @endif
{{trans('auth.Gender')}}
{{ucfirst($user->gender)}}
{{trans('auth.Address')}}
{{$user->address}}
{{trans('auth.Batch Number')}}
@if($user->batch_no!="") {{$user->batch_no}} @else -- @endif
{{trans('auth.Offender Number')}}
@if($user_detail->offender_number!="") {{$user_detail->offender_number}} @else -- @endif
{{trans('auth.Blood Groups')}}
@if($user_detail->blood_group!="") {{$user_detail->blood_group}} @else -- @endif
{{trans('auth.Father Name')}}
@if($user_detail->father_name!="") {{$user_detail->father_name}} @else -- @endif
{{trans('auth.Mother Name')}}
@if($user_detail->mother_name!="") {{$user_detail->mother_name}} @else -- @endif
@else
{{trans('auth.Mobile Number 1')}}
--
{{trans('auth.Mobile Number 2')}}
--
{{trans('auth.Offender Number')}}
--
{{trans('auth.Blood Groups')}}
--
{{trans('auth.Father Name')}}
--
{{trans('auth.Mother Name')}}
--
@endif
@if (isset($user_detail))
{{trans('auth.Code Section')}}
@if($user_detail->code_section!="") {{$user_detail->code_section}} @else -- @endif
{{trans('auth.Social Security No')}}
@if($user_detail->s_s_no!="") {{$user_detail->s_s_no}} @else -- @endif
{{trans('auth.Incarceration No')}}
@if($user_detail->incarceration_no!="") {{$user_detail->incarceration_no}} @else -- @endif
{{trans('auth.Case Number')}}
@if($user_detail->case_number!="") {{$user_detail->case_number}} @else -- @endif
{{trans('auth.Offence')}}
@if($user_detail->offence!="") {{$user_detail->offence}} @else -- @endif
{{trans('auth.Imprisonment Start')}}
@if($user_detail->imprisonment_start!="") @php $convert_time_zone = convert_time_zone_one(date('Y-m-d H:i',strtotime($user_detail->imprisonment_start))); @endphp @else -- @endif
{{trans('auth.Imprisonment End')}}
@if($user_detail->imprisonment_start!="") @php $convert_time_zone = convert_time_zone_one(date('Y-m-d H:i',strtotime($user_detail->imprisonment_end))); @endphp @else -- @endif
@else
{{trans('auth.Code Section')}}
--
{{trans('auth.Social Security No')}}
--
{{trans('auth.Offender Detail')}} Incarceration No
--
{{trans('auth.Case Number ')}}
--
{{trans('auth.Offence')}}
--
{{trans('auth.Imprisonment Start')}}
--
{{trans('auth.Imprisonment End')}}
--
@endif
@if(count($user_photos)>=1) @foreach($user_photos as $plaza) @endforeach @else
{{trans('auth.No Images Upload')}}.
@endif
@if(count($user_victims)>=1) @php if(isset($_GET['page'])){ $i=($limit*$_GET['page'])-$limit; } else{ $i=0; } @endphp @foreach($user_victims as $user_victim) @endforeach @else @endif
ID# {{trans('auth.Name')}} {{trans('auth.Photo')}} {{trans('auth.Email')}} {{trans('auth.Phone Number')}} {{trans('auth.Address')}} {{trans('auth.Created')}}
{{$user_victim->id}} {{$user_victim->name}} @if ($user_victim->file_name != "") image-1 @else profile Pic @endif; {{$user_victim->email_address}} {{$user_victim->m_number}} {{$user_victim->address}} @php convert_time_zone(date('Y-m-d H:i:s',strtotime($user_victim->created_at))); @endphp
{{trans('auth.No record found')}}.
@if(count($user_relatives)>=1) @php if(isset($_GET['page'])){ $i=($limit*$_GET['page'])-$limit; } else{ $i=0; } @endphp @foreach($user_relatives as $user_relative) @endforeach @else @endif
{{trans('auth.S.No')}}. ID# {{trans('auth.Name')}} {{trans('auth.Photo')}} {{trans('auth.Phone Number')}} {{trans('auth.Email')}} {{trans('auth.Relation')}} {{trans('auth.Address')}} {{trans('auth.Created')}}
{{ ++$i }} {{$user_relative->id}} {{$user_relative->name}} @if ($user_relative->file_name != "") image-1 @else profile Pic @endif; {{$user_relative->m_number}} {{$user_relative->email_address}} {{$user_relative->relations}} {{$user_relative->address}} @php convert_time_zone(date('Y-m-d H:i:s',strtotime($user_relative->created_at))); @endphp
{{trans('auth.No record found')}}.
@if(count($user_criminals)>=1) @php if(isset($_GET['page'])){ $i=($limit*$_GET['page'])-$limit; } else{ $i=0; } @endphp @foreach($user_criminals as $user_criminal) @endforeach @else @endif
{{trans('auth.S.No')}}. ID# {{trans('auth.Name')}} {{trans('auth.Photo')}} {{trans('auth.Email')}} {{trans('auth.Phone Number')}} {{trans('auth.Address')}} {{trans('auth.Created')}}
{{ ++$i }} {{$user_criminal->id}} {{$user_criminal->name}} @if ($user_criminal->file_name != "") image-1 @else profile Pic @endif; {{$user_criminal->m_number}} {{$user_criminal->email}} {{$user_criminal->address}} @php convert_time_zone(date('Y-m-d H:i:s',strtotime($user_criminal->created_at))); @endphp
{{trans('auth.No record found')}}.
{{trans('auth.Gang Name')}}
@if ($user->gang_name) {{ucfirst($user->gang_name)}} @else -- @endif
{{trans('auth.Gang Logo')}}
@if ($user->gang_logo != "") image-1 @else profile Pic @endif;
{{trans('auth.Gang Description')}}
@if ($user->gang_description) {{ucfirst($user->gang_description)}} @else -- @endif
@endsection