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

Id card

Print
@include('partials.message')
@foreach($teachers as $user)

{{ Auth::user()->school->name }}

Year : {{$academic->name}}

Cell : {{Auth::user()->school->phone}}

Name :

{{ ucfirst($user->FullName) }}

designation :

{{($user->teacherprofile[0]->designation)}},

DOJ :

{{($user->userprofile->joining_date)}},

Address :

{{$user->userprofile->address}},
{{$user->userprofile->city->name}}, {{$user->userprofile->pincode}}

Validate Date :

{{$academic->name}},

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

D.O.B

{{ optional($user->userprofile)->date_of_birth ? \Carbon\Carbon::parse($user->userprofile->date_of_birth)->format('d-m-Y') : '' }}

Mobile :

{{ $user->mobile_no }}

Blood Group :

@if($user->userprofile->blood_group!=null) {{ucwords($user->userprofile->blood_group)}} VE @else - @endif

Signature of Principal
@endforeach
@endsection