@extends('Reports.template') @section('title') Employee Report @endsection @section('ExternalCss') @parent @endsection @section('Content')
@php $currentTime = \Carbon\Carbon::now(); @endphp {{-- --}} @if(isset($column_name)) @foreach ($column_name as $column) @endforeach @endif @if(isset($select_head)) @foreach ($select_head as $column) @endforeach @endif @foreach($empData as $key=>$empdir) @php $reporting_name=''; foreach($reporting_employee_name as $reporting_key=>$reporting_empdir) { if($reporting_key==$empdir->employee_id) { $reporting_name=implode(',
',$reporting_empdir); } } @endphp @if(isset($column_name)) @foreach ($columnDisplayValue as $column) @php $display_value=$empdir->$column; if($column=="employee_gender") { if($empdir->$column=='M') { $display_value="Male"; } else if($empdir->$column=='F') { $display_value="Female"; } } if($column=="employee_dob" || $column=="employee_hire_date" || $column=="probation_completion_date" || $column=="confirmation_date" || $column=="absconded_date" || $column=="resigned_date" || $column=="last_working_date") { if($empdir->$column!="") { $display_value=date('d/m/Y',strtotime($empdir->$column)); } else { $display_value=''; } } if($column=="employee_marital_status") { if($empdir->$column=='M') { $display_value="Married"; } else if($empdir->$column=='U') { $display_value="Un-Married"; } else if($empdir->$column=='D') { $display_value="Divorced"; } else if($empdir->$column=='W') { $display_value="Widowed"; } } if($column=="employee_department_id") { $display_value=$empdir->department_name; } if($column=="employee_job_title_id") { $display_value=$empdir->job_title_name; } if($column=="employee_job_category_id") { $display_value=$empdir->job_category_name; } @endphp @endforeach @endif @foreach ($salary_employee_details as $key=>$value) @if ($key==$empdir->employee_id) @foreach ($value as $v) @endforeach @endif @endforeach @endforeach
@if($businessEntityMasterData[0]->logo != null) Pharmacy Logologo )}}"/> @endif
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
Employee Report As on: {{$currentTime->format('d/m/Y H:i:s ')}}
Emp ID Name Designation DepartmentSupervisors{{ $column }}{{ $column }}
{{$empdir->employee_id }}  {{ $empdir->employee_name }} {!! $reporting_name !!}{{ $display_value }}{{ $v }}
{{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}}
Back
@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection