@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{ @$data->name }}

{{ @$data->first_name }} {{ @$data->last_name }}

{{ @$data->role->name }}

{{ ___('common.Staff Details') }}

{{ ___('common.edit') }}

{{ ___('staff.staff_id') }}

{{ @$data->staff_id }}

{{ ___('common.roles') }}

{{ @$data->role->name }}

{{ ___('staff.select_designation') }}

{{ @$data->designation->name }}

{{ ___('staff.departments') }}

{{ @$data->department->name }}

{{ ___('staff.first_name') }}

{{ @$data->first_name }}

{{ ___('staff.last_name') }}

{{ @$data->last_name }}

{{ ___('staff.father_name') }}

{{ @$data->father_name }}

{{ ___('staff.mother_name') }}

{{ @$data->mother_name }}

{{ ___('common.email') }}

{{ @$data->email }}

{{ ___('staff.genders') }}

{{ @$data->gender->name }}

{{ ___('staff.date_of_birth') }}

{{ dateFormat(@$data->dob) }}

{{ ___('staff.joining_date') }}

{{ dateFormat(@$data->joining_date) }}

{{ ___('staff.phone') }}

{{ @$data->phone }}

{{ ___('staff.emergency_contact') }}

{{ @$data->emergency_contact }}

{{ ___('staff.marital_status') }}

@if (@$data->marital_status == App\Enums\MaritalStatus::MARRIED) {{ ___('staff.married') }} @else {{ ___('staff.unmarried') }} @endif

{{ ___('common.status') }}

@if (@$data->status == App\Enums\Status::ACTIVE) {{ ___('common.active') }} @else {{ ___('common.inactive') }} @endif

{{ ___('staff.current_address') }}

{{ @$data->current_address }}

{{ ___('staff.permanent_address') }}

{{ @$data->permanent_address }}

{{ ___('staff.basic_salary') }}

{{ @$data->basic_salary }}

{{ ___('staff.Documents') }}

@if (@$data->upload_documents) @foreach (@$data->upload_documents as $key=>$item)

{{ $item['title'] }}

Download

@endforeach @endif
@endsection