@extends('layouts.app' ) @section('title') Employee Detail @stop @section('breadcrumb') @stop @section('content')

{{$employee->name}}


Employment Details


{{number_format($employee->basic_salary)}} PKR
{{$employee->employee_id}}
@if($employee->designation) {{$employee->designation->name}} @endif
@if($employee->department) {{$employee->department->name}} @endif
{{date('d-m-Y', strtotime($employee->start_date)) }}
{{$employee->reference}}

Employment Status


@if($employee->status == \App\Employee::active) Active @elseif($employee->status == \App\Employee::pending) Pending @elseif($employee->status == \App\Employee::terminated) Terminated @endif
@if($employee->employee_type == \App\Employee::full) Full Time @elseif($employee->employee_type == \App\Employee::part) Part Time @elseif($employee->employee_type == \App\Employee::intern) Intern @endif
{{$employee->working_hours}} hours
{{$employee->working_days}} Days

Payment Information


{{$employee->bank_name}}
{{$employee->account_name}}
{{$employee->account_number}}

Basic Information


{{$employee->phone_number}}
{{$employee->email}}
{{$employee->address}}
@if($employee->gender == \App\Employee::male) Male @elseif($employee->gender == \App\Employee::female) Female @endif
{{date('d-m-Y', strtotime($employee->dob)) }}

Emergency Contact


{{$employee->emer_person}}
{{$employee->emer_relation}}
{{$employee->phone_number}}
{{$employee->emer_email}}

Documents


@foreach($employee->documents as $d) @endforeach
{{$c++}} {{$d->url}}

Benefits & Deductions


@foreach($employee->policies as $policy)
{{number_format($policy->policy->amount)}} PKR
@endforeach
@foreach($employee->payroll as $payroll) @endforeach
Date Basic Benefits Deductions Net Pay
{{date('d-m-Y', strtotime($payroll->date)) }} {{number_format($payroll->employee->basic_salary)}} PKR {{number_format($payroll->benefits)}} PKR {{number_format($payroll->deductions)}} PKR {{number_format($payroll->net_pay)}} PKR

{{number_format($basic_salary)}} PKR

{{number_format($benefits)}} PKR

({{number_format($deduction)}}) PKR

{{number_format($net_pay)}} PKR
@stop @section('js') @stop