@extends('layouts.dashboard.main')
{{-- content --}}
@section('content')
{{-- section --}}
@if($attendance_list_count > 0)
@foreach($attendance_list as $key => $value)
{!! __('lang.application.attendance.date_created') !!}
{!! __('lang.staff.staff_name') !!}
{!! __('lang.application.attendance.date') !!}
{!! __('lang.master.attendance_matter.title') !!}
{!! __('lang.application.attendance.stime') !!}
{!! __('lang.application.attendance.ftime') !!}
{!! __('lang.master.attendance_return.title') !!}
差戻理由詳細
@endforeach
@else
{!! \Carbon\Carbon::parse($value['date_created'])->format(__('lang.date.yymmdd')) !!}
{!! implode(' ', [
$value['staff_sname'],
$value['staff_gname'],
]) !!}
{!! \Carbon\Carbon::create(
$value['yy'],
$value['mm'],
$value['dd']
)->format(__('lang.date.yymmdd')) !!}
{!! $value['attendance_matter_label'] !!}
@if(!is_null($value['stime']))
{!! \Carbon\Carbon::parse($value['stime'])->format(__('lang.date.hhii')) !!}
@endif
@if(!is_null($value['ftime']))
{!! \Carbon\Carbon::parse($value['ftime'])->format(__('lang.date.hhii')) !!}
@endif
{!! $value['attendance_return_label'] !!}
{!! nl2br($value['reason']) !!}
@endif
{!! __('lang.error.empty') !!}