@extends('layouts.main') @section('page-title') {{ __('Manage Payroll Report') }} @endsection @section('page-breadcrumb') {{ __('Payroll Report') }} @endsection @section('page-action')
@endsection @push('scripts') @endpush @section('content'){{ __('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 : '#' : '#' }} | |
---|---|---|---|---|
@permission('employee show') {{ Workdo\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id) }} @else {{Workdo\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id)}} @endpermission | @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 == 0 ? $employee->salary : $emp_total) }} |