@extends('admin.admin_master')
@section('admin')

<div class="page-content">
<div class="container-fluid">

<div class="row">
    <div class="col-lg-6">
        <div class="card"><br><br>
            <div class="card-body">
                @if(isset($adminData->user_type) && in_array($adminData->user_type, [46, 47]) && $adminData->business)
                    <h4 class="card-title">Business Name : {{ $adminData->business->business_name }}</h4>
                    <hr>
                    <h4 class="card-title">BIN : {{ $adminData->business->registration_number }}</h4>
                    <hr>
                    <h4 class="card-title">Registration Date : {{ $adminData->business->registration_date }}</h4>
                    <hr>
                    <h4 class="card-title">Entity Status : {{ $adminData->business->entity_status }}</h4>
                    <hr>
                    <h4 class="card-title">Email : {{ $adminData->email }} </h4>
                    <hr>
                    <h4 class="card-title">Mobile No : {{ $adminData->mobileNo }}</h4>
                    <hr>
                    <h4 class="card-title">Address : {{ $adminData->business->address }}</h4>
                    <hr>
                @else
                    <h4 class="card-title">NIN : {{ $adminData->nin }} </h4>
                    <hr>
                    <h4 class="card-title">Email : {{ $adminData->email }} </h4>
                    <hr>
                    <h4 class="card-title">Name : {{ $adminData->givennames }} {{ $adminData->presentsurname }}  </h4>
                    <hr>
                    <h4 class="card-title">Date of Birth : {{ $adminData->dob }}</h4>
                    <hr>
                    <h4 class="card-title">Gender : {{ $adminData->sex }}</h4>
                    <hr>
                    <h4 class="card-title">Nationality : {{ $adminData->nationality }}</h4>
                    <hr>
                    <h4 class="card-title">Address : {{ $adminData->postaladdress1 }}</h4>
                    <hr>
                    <h4 class="card-title">Mobile No : {{ $adminData->mobileNo }}</h4>
                    <hr>
                @endif
            </div>
        </div>
    </div> 
                            
        
                        </div> 


</div>
</div>

@endsection
