@extends('Manager.layout') @section('title', 'Admin Details') @section('page-name', 'Admin Details') @section('page-detail', 'Admin Information') @section('body')
@if (!empty($employee->image)) Employee Image @else {{ strtoupper(implode('', array_merge(array_map(fn($part) => is_numeric($part) ? $part : $part[0], array_slice(explode(' ', $employeeOrg->name), 0, 2)),preg_match('/\d/', $employeeOrg->name, $matches) ? [$matches[0]] : []))) }} @endif

Personal Information

Name

{{$employeeOrg->name ?? 'N/A'}}

Empolyee ID

{{$employeeOrg->employee_id}}

Mobile Number

{{$employeeOrg->phn ?? 'N/A'}}

Email Address

{{$employeeOrg->email ?? 'N/A'}}

Date of Birth

{{\Carbon\Carbon::parse($employeeOrg->dob)->format('M d, Y') ?? 'N/A'}}

Marital Status

{{$employeeOrg->marital ?? 'N/A'}}

Gender

{{$employeeOrg->gender ?? 'N/A'}}

Nationality

{{$employeeOrg->nationality ?? 'N/A'}}

Address

{{$employeeOrg->address ?? 'N/A'}}

Zip Code

{{$employeeOrg->zip ?? 'N/A'}}

State

{{$employeeOrg->state ?? 'N/A'}}

City

{{$employeeOrg->city ?? 'N/A'}}

Redeemed Points

@endsection @section('custom-scripts') @endsection