@extends('layouts.dashboard.main') {{-- content --}} @section('content') {{-- section --}}
{{-- toolbar --}}
{!! \Carbon\Carbon::create( $yy, $mm, 1 )->format(__("lang.date.yymm")) !!}
{{-- /.toolbar --}} {{-- toolbar --}}
@for($i = 1; $i <= 12; $i++) {!! implode('', [ $i, __("lang.date.mm"), ]) !!} @endfor
{{-- /.toolbar --}}
{{-- /.section --}} {{-- section --}}
{!! __("lang.common.count") !!} : {!! $attendance_list_count !!}
@if($attendance_list_count > 0) @foreach($attendance_list as $key => $value) @endforeach @else @endif
#
 
{!! __('lang.form.status') !!}
{!! __('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') !!} 差戻理由詳細
{!! $key + 1 !!}
@if($value['is_done']) @if($value['is_approved']) {!! __('lang.application.attendance.is_approved') !!} @else {!! __('lang.application.attendance.is_returned') !!} @endif @else {!! __('lang.dictionary.is_done.0') !!} @endif
{!! \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']) !!}
  {!! __('lang.error.empty') !!}
{{-- /.section --}} {{-- btn-fixed --}}
{{-- /.btn-fixed --}} @endsection {{-- css --}} @section('css') @stop {{-- js --}} @section('js') @stop