@extends('layouts.admin') @section('page-title') {{__('Employee')}} @endsection @section('breadcrumb') @endsection @section('action-btn')
@can('edit employee') @endcan
@endsection @section('content')
{{__('Personal Detail')}}

{{__('EmployeeId')}} : {{$employeesId}}
{{__('Name')}} : {{!empty($employee)?$employee->name:''}}
{{__('Email')}} : {{!empty($employee)?$employee->email:''}}
{{__('Date of Birth')}} : {{\Auth::user()->dateFormat(!empty($employee)?$employee->dob:'')}}
{{__('Phone')}} : {{!empty($employee)?$employee->phone:''}}
{{__('Address')}} : {{!empty($employee)?$employee->address:''}}
{{__('Salary Type')}} : {{!empty($employee->salaryType)?$employee->salaryType->name:''}}
{{__('Basic Salary')}} : {{!empty($employee)?$employee->salary:''}}
{{__('Company Detail')}}

{{__('Branch')}} : {{!empty($employee->branch)?$employee->branch->name:''}}
{{__('Department')}} : {{!empty($employee->department)?$employee->department->name:''}}
{{__('Designation')}} : {{!empty($employee->designation)?$employee->designation->name:''}}
{{__('Date Of Joining')}} : {{\Auth::user()->dateFormat(!empty($employee)?$employee->company_doj:'')}}
{{__('Document Detail')}}

@php $employeedoc = !empty($employee)?$employee->documents()->pluck('document_value','document_id'):[]; @endphp @if(!$documents->isEmpty()) @foreach($documents as $key=>$document) @endforeach @else
No Document Type Added.!
@endif
{{__('Bank Account Detail')}}

{{__('Account Holder Name')}} : {{!empty($employee)?$employee->account_holder_name:''}}
{{__('Account Number')}} : {{!empty($employee)?$employee->account_number:''}}
{{__('Bank Name')}} : {{!empty($employee)?$employee->bank_name:''}}
{{__('Bank Identifier Code')}} : {{!empty($employee)?$employee->bank_identifier_code:''}}
{{__('Branch Location')}} : {{!empty($employee)?$employee->branch_location:''}}
{{__('Tax Payer Id')}} : {{!empty($employee)?$employee->tax_payer_id:''}}
@endsection