@extends('layouts.master') @section('title','Show User Details') @section('action','Detail') @section('button')
@can('edit_employee') @endcan
@endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.users.common.breadcrumb')
profile
{{ucfirst($userDetail->name)}}

{{$userDetail->employee_code}}

{{ucfirst($userDetail->email)}}

User Detail

{{($userDetail->username)}}

{{ucfirst($userDetail->gender)}}

{{ucfirst($userDetail->marital_status)}}

{{ucfirst($userDetail->address)}}

{{($userDetail->phone)}}

{{ \App\Helpers\AppHelper::formatDateForView($userDetail->dob) }}

{{$userDetail->role ? ucfirst($userDetail->role->name):'N/A'}}

{{($userDetail->is_active == 1) ? 'Yes':'No'}}

Office Detail

{{($userDetail->branch ? ucfirst($userDetail->branch->name) : 'N/A')}}

{{$userDetail->department ? ucfirst($userDetail->department->dept_name) :'N/A'}}

{{ $userDetail->post ? ucfirst($userDetail->post->post_name) : 'N/A'}}

{{ucfirst($userDetail->employment_type)}}

{{isset($userDetail->joining_date) ? \App\Helpers\AppHelper::formatDateForView($userDetail->joining_date) : 'N/A'}}

{{ ($userDetail->workspace_type == 1) ? 'Office' : 'Home'}}

Account Detail

{{ucfirst($userDetail?->accountDetail?->bank_name)}}

{{($userDetail?->accountDetail?->bank_account_no)}}

{{ucfirst($userDetail?->accountDetail?->bank_account_type)}}

{{ucfirst($userDetail?->accountDetail?->account_holder)}}

@endsection