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

Id card

Print
@include('partials.message')

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

Year : {{$academic->name}}

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

Name :

{{ ucfirst($teacher->FullName ?? '') }}

designation :

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

DOJ :

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

Address :

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

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

D.O.B

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

Mobile :

{{ $teacher->mobile_no }}

Blood Group :

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

Signature of Principal
@endsection