@foreach ($leaveAllocations as $key => $leaveAllocation) @endforeach
{{ $organization->name }} - Leave Access Rule Report
{{ trans('master/master.id') }} {{ trans('master/master.allocation_type') }} {{ trans('master/master.allocation_to') }} {{ trans('master/master.created_by') }} {{ trans('master/master.created_date_and_time') }} {{ trans('common/common.actions') }}
{{ $key + 1 }} {{ $leaveAllocation->getMorphType() }} {{ $leaveAllocation->getMorphName()}} {{ isset($leaveAllocation->createdBy->name) ? $leaveAllocation->createdBy->name : '' }} {{ $leaveAllocation->created_at ? date('d/m/Y H:i:s', strtotime($leaveAllocation->created_at)) : '' }}