@extends('layouts.app') @section('title','Accounts') @section('pages')
@include('layouts.partials.nav-menu')
@if(in_array('accounts-edit', $authRolePermissions)) @endif
Account Details

Account Name {{$account->name}}
Account Code {{$account->code}}
Account Type {{$account->type_name}}
Account Category {{$account->category_name}}
Accounting Group {{$account->group_name}}
Additional Details

Print Name {{$account->print_name}}
Account Settlement Type {{$account->settlement_type}}
Account Balance Type {{$account->balance_type}}
Opening Balance {{$account->opening_balance}}
Referred By {{$account->credit_limit}}
@if($account->image != '') @else @endif

Update Profile Image

@if($account->primary_account == 0)
Personal Details

Date Of Birth: {{ formatedTime($account->date_of_birth) }}, Marital Status: {{$account->marital_status}}, Gender: {{$account->gender}}, Blood Group: {{$account->blood_group}}, @if($account->guardian_name != '') Guardian Name: {{$account->guardian_name}}, @endif @if($account->anniversary_date != '') @php $auth_format = \Session::get('company_data')['date_format'] ?? ''; @endphp Anniversary date: {{ date($auth_format, strtotime($account->anniversary_date)) }}, @endif Any Known Allergies: {{$account->any_known_allergies}},
@if(!empty($relative))
Next Of Kin (Relatives)
@if(in_array('account-relatives-edit', $authRolePermissions)) @endif

Name: {{ $relative->relation_name }}, Relation: {{ $relative->relation_type }}, Phone No: {{ $relative->relation_phone }}
@endif @endif
@if($account->primary_account == 0 && empty($relative))
@endif
@if($account->primary_account == 0)
@endif {{--
--}}
@endsection @section('js') @endsection