@extends('front.layouts.frontlayout') @section('mainarea')
@if ($active_company->license_expired == 1)
Your companies account has been disabled. Please contact your manager for further details.
@endif @if ($active_company->license_expired != 1)

{{__('core.personalDetails')}}

{{__('core.name')}} {{$employee->full_name}}
{{__('core.father_name')}} {{$employee->father_name}}
{{__('core.dob')}} {!! date('d-M-Y',strtotime($employee->date_of_birth)) !!}
{{__('core.gender')}} {{ucfirst($employee->gender)}}
{{__('core.email')}} {{$employee->email}}
{{__('core.phone')}} {{$employee->mobile_number}}
{{__('core.local_address')}} {{$employee->local_address}}
{{__('core.permanent_address')}} {{$employee->permanent_address}}

{{__('core.companyDetails')}}

{{__('core.employeeID')}} {{ $employee->employeeID }}
{{__('core.department')}} {{ $employee->getDesignation->department->name}}
{{__('core.designation')}} {{$employee->getDesignation->designation}}
{{__('core.dateOfJoining')}} {!! date('d-M-Y',strtotime($employee->joining_date)) !!}
{{__('core.salary')}} ( {{$setting->currency_symbol}} ) @foreach($employee->salaries as $salary)

@lang('core.'.$salary->type) : {{$salary->salary}} {{$setting->currency_symbol}}

@endforeach

{{__('core.bankDetails')}}

{{__('core.accountHolder')}} {{isset($employee->bank_details->account_name) ? $employee->bank_details->account_name : ''}}
{{__('core.account_number')}} {{isset($employee->bank_details->account_number) ? $employee->bank_details->account_number : ''}}
{{__('core.bank')}} {{isset($employee->bank_details->bank) ? $employee->bank_details->bank : ''}}
{{__('core.bsb')}} {{isset($employee->bank_details->bsb) ? $employee->bank_details->bsb : ''}}
{{__('core.tax_payer_id')}} {{isset($employee->bank_details->tax_payer_id) ? $employee->bank_details->tax_payer_id : ''}}
{{__('core.bin')}} {{isset($employee->bank_details->bin) ? $employee->bank_details->bin : ''}}
{{__('core.branch')}} {{isset($employee->bank_details->branch) ? $employee->bank_details->branch : ''}}
@if($setting->notice_feature==1)

{{__('core.noticeBoard')}}

@forelse($noticeboards as $notice)
{!! date('d',strtotime($notice->created_at)) !!} {!! date('m, Y',strtotime($notice->created_at)) !!}

{{$notice->title}}

@if(strpos($notice->description,'src')==0)

{!! \Illuminate\Support\Str::limit(strip_tags($notice->description),100) !!}

@else

 

@endif
@empty

No Notice

@endforelse
@endif @if($setting->holidays_feature==1)

{{__('core.upcomingHolidays')}}

@forelse($holidays as $holiday) {{--Check for upcoming Holidays--}} @if(strtotime($holiday->date)>time())
{{$holiday->occassion}} {!! date('d M Y',strtotime($holiday->date)) !!}
@endif @empty

No Holiday

@endforelse
@endif @if($setting->award_feature==1)

{{__('core.awards')}}

@forelse($employee->awards as $award)
{!! \Illuminate\Support\Str::words($award->employee->full_name,1,'') !!} {{ucfirst($award->month)}} {{$award->year}} {{$award->award_name}}
@empty

No Award

@endforelse
@endif

@if($setting->attendance_feature==1)

{{__('core.attendance')}}

{{__('core.lastAbsent')}} {!! $employee->lastAbsent('date') !!} {!! $employee->lastAbsent()!!}
@endif
{{--------------------------Show Notice MODALS-----------------}} {{------------------------END Notice MODALS---------------------}} @endif @stop @section('footerjs') @if ($active_company->license_expired != 1) {!! HTML::script('front_assets/plugins/fullcalendar/fullcalendar.min.js') !!} {!! HTML::script("front_assets/plugins/fullcalendar/lang-all.js") !!} @endif @stop