@foreach ($leave_types as $leave_type)
@endforeach
@lang('modules.leaves.leaveType') @lang('app.date') @lang('modules.leaves.reason') @foreach ($leave_types as $item) @foreach ($item->leaves as $key => $leave) {!! $leave->duration == 'half day' ? '' . __('modules.leaves.halfDay') . '' : '' !!} {{ $leave->leave_date->format(global_setting()->date_format) }} {{ $leave->reason }} @endforeach @endforeach