@extends('layouts.dashboard.main') {{-- content --}} @section('content') {!! Form::open($form) !!} {!! Form::hidden('yy', $yy) !!} {!! Form::hidden('mm', $mm) !!} {{-- 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
{!! Form::checkbox('allchecked', '', null, [ 'class' => 'form-check-input border-secondary', 'id' => 'allchecked', ]) !!}
出力
#
{!! __('lang.application.attendance.date_created') !!} {!! __('lang.master.organization') !!} {!! __('lang.staff.staff_name') !!} {!! __('lang.application.attendance.date') !!} {!! __('lang.master.attendance_matter.title') !!} {!! __('lang.application.attendance.stime') !!} {!! __('lang.application.attendance.ftime') !!}
{!! Form::checkbox('appliction_code[]', $value['appliction_code'], null, [ 'class' => 'form-check-input border-secondary', 'data-value' => ($value['is_exported']) ? 1 : 0, ]) !!}
@if($value['is_exported'])
@endif
{!! $key + 1 !!}
{!! \Carbon\Carbon::parse($value['date_created'])->format(__('lang.date.yymmdd')) !!} {!! $value['organization_name'] !!} {!! 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
  {!! __('lang.error.empty') !!}
{{-- /.section --}} {{-- btn-fixed --}}
{{-- /.btn-fixed --}} {!! Form::close() !!} @endsection {{-- css --}} @section('css') @stop {{-- js --}} @section('js') @stop