@if(!empty($user->pic_path)) Profile Picture
@lang('Remove') ×
@else @if(\Auth::user()->role == 'admin' || \Auth::user()->id == $user->id)
@endif @endif

{{$user->name}} {{ucfirst($user->role)}} {{ucfirst($user->gender)}} @if ($user->role == 'teacher' && $user->section_id > 0) @lang('Class Teacher of Section'): {{ucfirst($user->section->section_number)}} @endif @if(Auth::user()->role == 'admin') @if (!Session::has('section-attendance')) @lang('Edit') @endif @endif @if($user->role == "student") @if(Auth::user()->role == 'student' || Auth::user()->role == 'teacher' || Auth::user()->role == 'admin') @lang('View Attendance') {{--@if (!Session::has('section-attendance')) @lang('View Marks') @endif --}} @endif

{{$user->section->class->school->name}}

{{$user->section->class->school->about}}

@lang('Student Profile')

@lang('Printing Date') : {{Carbon\Carbon::now()->format('d/m/Y')}}

@lang('Academic Information')

@lang('Student ID'): {{$user->student_code}} @lang('Student\'s Name'): {{$user->name}}
@lang('Class'): {{$user->section->class->class_number}} @lang('Section'): {{$user->section->section_number}}
@lang('Session'): @isset($user->studentInfo['session']){{$user->studentInfo['session']}}@endisset @lang('Version'): @isset($user->studentInfo['version']){{$user->studentInfo['version']}}@endisset
@lang('Group'): @isset($user->studentInfo['group']){{$user->studentInfo['group']}}@endisset
@if(!empty($user->pic_path)) @lang('Profile Picture') @else @if(strtolower($user->gender) == trans('male')) @lang('Profile Picture') @else @lang('Profile Picture') @endif @endif

@lang('Personal details')

@lang('Email'): {{$user->email}} @lang('Contact Number') {{$user->phone_number}}
@lang('Gender'): {{$user->gender}} @lang('Blood Group'): {{$user->blood_group}}
@lang('Nationality'): {{$user->nationality}} @lang('Birthday'): {{Carbon\Carbon::parse($user->birthday)->format('d/m/Y')}}
@lang('Religion'): @isset($user->studentInfo['religion']){{$user->studentInfo['religion']}}@endisset @lang('Father Name'): @isset($user->studentInfo['father_name']){{$user->studentInfo['father_name']}}@endisset
@lang('Mother Name'): @isset($user->studentInfo['mother_name']){{$user->studentInfo['mother_name']}}@endisset @lang('Address'): {{$user->address}}
@lang('Phone Number'): {{$user->phone_number}} @lang('Father\'s Phone Number'): @isset($user->studentInfo['father_phone_number']){{$user->studentInfo['father_phone_number']}}@endisset
@lang('Father\'s National ID'): @isset($user->studentInfo['father_national_id']){{$user->studentInfo['father_national_id']}}@endisset @lang('Father\'s Occupation'): @isset($user->studentInfo['father_occupation']){{$user->studentInfo['father_occupation']}}@endisset
@lang('Father\'s Designation'): @isset($user->studentInfo['father_designation']){{$user->studentInfo['father_designation']}}@endisset @lang('Father\'s Annual Income'): @isset($user->studentInfo['father_annual_income']){{$user->studentInfo['father_annual_income']}}@endisset
@lang('Mother\'s Phone Number'): @isset($user->studentInfo['mother_phone_number']){{$user->studentInfo['mother_phone_number']}}@endisset @lang('Mother\'s National ID'): @isset($user->studentInfo['mother_national_id']){{$user->studentInfo['mother_national_id']}}@endisset
@lang('Mother\'s Occupation'): @isset($user->studentInfo['mother_occupation']){{$user->studentInfo['mother_occupation']}}@endisset @lang('Mother\'s Designation'): @isset($user->studentInfo['mother_designation']){{$user->studentInfo['mother_designation']}}@endisset
@lang('Mother\'s Annual Income'): @isset($user->studentInfo['mother_annual_income']){{$user->studentInfo['mother_annual_income']}}@endisset @lang('About'): {{$user->about}}
{{-- --}} @endif

@if($user->role == "student") @else @endif @if($user->role == "student") @endif @if($user->role == "student") @endif @if($user->role == "student") @endif
@lang('Code'): {{$user->student_code}} @lang('Session'): @isset($user->studentInfo['session']){{$user->studentInfo['session']}}@endisset@lang('Code'): {{$user->student_code}} @lang('About'): {{$user->about}}
@lang('Class'): {{$user->section->class->class_number}} @lang('Section'): {{$user->section->section_number}}
@lang('Version'): @isset($user->studentInfo['version']){{$user->studentInfo['version']}}@endisset @lang('Blood Group'): {{$user->blood_group}}
@lang('Group'): @isset($user->studentInfo['group']){{$user->studentInfo['group']}}@endisset @lang('Birthday'): {{Carbon\Carbon::parse($user->birthday)->format('d/m/Y')}}
@lang('Nationality'): {{$user->nationality}} @lang('Religion'): @isset($user->studentInfo['religion']){{$user->studentInfo['religion']}}@endisset
@lang('Father Name'): @isset($user->studentInfo['father_name']){{$user->studentInfo['father_name']}}@endisset @lang('Mother Name'): @isset($user->studentInfo['mother_name']){{$user->studentInfo['mother_name']}}@endisset
@lang('Address'): {{$user->address}} @lang('Phone Number'): {{$user->phone_number}}
@lang('Father\'s Phone Number'): @isset($user->studentInfo['father_phone_number']){{$user->studentInfo['father_phone_number']}}@endisset @lang('Father\'s National ID'): @isset($user->studentInfo['father_national_id']){{$user->studentInfo['father_national_id']}}@endisset
@lang('Father\'s Occupation'): @isset($user->studentInfo['father_occupation']){{$user->studentInfo['father_occupation']}}@endisset @lang('Father\'s Designation'): @isset($user->studentInfo['father_designation']){{$user->studentInfo['father_designation']}}@endisset
@lang('Father\'s Annual Income'): @isset($user->studentInfo['father_annual_income']){{$user->studentInfo['father_annual_income']}}@endisset @lang('Mother\'s Phone Number'): @isset($user->studentInfo['mother_phone_number']){{$user->studentInfo['mother_phone_number']}}@endisset
@lang('Mother\'s National ID'): @isset($user->studentInfo['mother_national_id']){{$user->studentInfo['mother_national_id']}}@endisset @lang('Mother\'s Occupation'): @isset($user->studentInfo['mother_occupation']){{$user->studentInfo['mother_occupation']}}@endisset
@lang('Mother\'s Designation'): @isset($user->studentInfo['mother_designation']){{$user->studentInfo['mother_designation']}}@endisset @lang('Mother\'s Annual Income'): @isset($user->studentInfo['mother_annual_income']){{$user->studentInfo['mother_annual_income']}}@endisset
@lang('About'): {{$user->about}}