@extends('layouts.master') @section('page_title', 'Student Profile - '.$sr->user->name) @section('content')
photo

{{ $sr->user->name }}

{{--Basic Info--}}
@if($sr->my_parent_id) @endif @if($sr->user->email) @endif @if($sr->user->phone) @endif @if($sr->user->bg_id) @endif @if($sr->user->nal_id) @endif @if($sr->user->state_id) @endif @if($sr->user->lga_id) @endif @if($sr->dorm_id) @endif
Name {{ $sr->user->name }}
ADM_NO {{ $sr->adm_no }}
Class {{ $sr->my_class->name.' '.$sr->section->name }}
Parent {{ $sr->my_parent->name }}
Year Admitted {{ $sr->year_admitted }}
Gender {{ $sr->user->gender }}
Address {{ $sr->user->address }}
Email {{$sr->user->email }}
Phone {{$sr->user->phone.' '.$sr->user->phone2 }}
Birthday {{$sr->user->dob }}
Blood Group {{$sr->user->blood_group->name }}
Nationality {{$sr->user->nationality->name }}
State {{$sr->user->state->name }}
LGA {{$sr->user->lga->name }}
Dormitory {{$sr->dorm->name.' '.$sr->dorm_room_no }}
{{--Student Profile Ends--}} @endsection