@extends('layouts.main') @section('page-title') {{ __('Manage Payroll Report') }} @endsection @section('page-breadcrumb') {{ __('Payroll Report') }} @endsection @section('page-action')
| {{ __('Employee ID') }} | {{ __('Employee') }} | {{ __('Payroll Type') }} | @php $dates = ''; if(isset($_GET['start_month']) && isset($_GET['end_month'])) { $dates = date("M-Y", strtotime($_GET['start_month'])).' - '. date("M-Y", strtotime($_GET['end_month'])); } @endphp{{ isset($_GET['report_type']) ? !empty($_GET['report_type']) ? str_replace('_', ' ',$_GET['report_type']).' '.$dates : '#' : '#' }} | |
|---|---|---|---|---|
| @can('employee show') {{ Modules\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id) }} @else {{Modules\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id)}} @endcan | @else-- | @endif{{ $employee->name}} | {{ !empty($employee->salary_type()) ? ($employee->salary_type()) ?? '' : '' }} | @php $emp_total = 0; if(count($data) > 0 && array_key_exists($key,$data)) { $emp_total = end($data[$key]); } @endphp{{ currency_format($emp_total) }} |