@extends('app-new') @push('head-script') @endpush @push('content-header')
@endpush @push('prev-next-head')| {{trans('master/master.sn')}} | {{trans('master/master.employee_name')}} | {{trans('master/master.employee_code')}} | {{trans('master/master.contractor')}} | {{trans('master/master.department')}} | @foreach($slots as $slot){{$slot->title}} | @endforeach{{trans('master/master.total_puchin')}} | {{trans('master/master.amount')}} |
|---|---|---|---|---|---|---|---|
| {{ $attendances->firstItem() + $key }} | {{@$attendance->employee->name}} | {{@$attendance->employee->employee_code}} | {{@$attendance->employee->contractor->name}} | {{@$attendance->employee->department->name}} | @php $totalDays = 0; @endphp @foreach($slots as $slot) @php $slotTitle = \App\Helpers\GeneralHelper::generateAlias($slot->title); $totalDays = $totalDays + $attendance->$slotTitle; @endphp{{$attendance->$slotTitle}} | @endforeach{{$totalDays}} | {{@$attendance->employee->getCanteenCharge($month,$year)}} |
| Record not found | |||||||