@extends('layouts.adminlayout') @section('content') @include("admin.users.viewHead")

Parents Information

@if(isset($user->parent[0]) && $user->parent[0] ? $user->parent[0]['relation_type'] == 'parent' :'') @elseif(isset($user->parent[0]) && $user->parent[0] ? $user->parent[0]['relation_type'] == 'guardian' : '') @endif
Id {{ isset($user->parent[0]) && $user->parent[0] ? $user->parent[0]->id : '' }}
Father Name {{ isset($user->parent[0]) && $user->parent[0]->father_name ? $user->parent[0]->father_name : "" }}
Mother Name {{ isset($user->parent[0]) && $user->parent[0]->mother_name ? $user->parent[0]->mother_name : "" }}
Guardian Name {{ isset($user->parent[0]) && $user->parent[0]->guardian_name ? $user->parent[0]->guardian_name : "" }}
Guardian Relation {{ isset($user->parent[0]) && $user->parent[0]->guardian_relation ? $user->parent[0]->guardian_relation : "" }}
Occupation @if(isset($user->parent[0]) && $user->parent[0]->occupation) {{ $user->parent[0]->occupation }} @else --- @endif
Email {{ isset($user->parent[0]) && $user->parent[0]->email ? $user->parent[0]->email : "" }}
Phone Number {{ isset($user->parent[0]) && $user->parent[0]->phone_number ? $user->parent[0]->phone_number : "" }}
@endsection