@foreach($staffs as $user)
{{ Auth::user()->school->name }}
Year : {{$academic->name}}
Cell : {{Auth::user()->school->phone}}
Name :
{{$user->FullName}}
designation :
{{($user->teacherprofile[0]->designation)}},
DOJ :
{{($user->userprofile->joining_date)}},
Address :
{{$user->userprofile->address}},
{{$user->userprofile->city->name}},
{{$user->userprofile->pincode}}

ID : {{($user->teacherprofile[0]->employee_id)}}

D.O.B
{{ \Carbon\Carbon::parse($user->userprofile->date_of_birth)->format('d-m-Y') }}
Mobile :
{{$user->mobile_no}}
Blood Group :
@if($user->userprofile->blood_group!=null) {{$user->userprofile->blood_group}} VE @else - @endif
Signature of Principal
@if( $loop->iteration % 1 == 0 ) @php echo '
'; @endphp @endif @endforeach