@php $managePermission = user()->permission('manage_emergency_contact'); @endphp
@if ($managePermission == 'all' || ($employee->id == user()->id))
@lang('app.createNew')
@endif
@lang('app.name') @lang('app.email') @lang('app.mobile') @lang('app.relationship') @lang('app.action') @forelse ($employee->emergencyContacts as $count => $contact) {{ $contact->name }} {{ $contact->email }} {{ $contact->mobile }} {{ $contact->relation }}
@empty @endforelse