@extends('layouts.default') @section('title','请假信息') @section('content') @include('shared._messages')
员工英文名       新增请假
{{ csrf_field() }} 开始日期      结束日期    
@foreach ($absences as $absence) @endforeach
员工编号 员工姓名 英文名 所属部门 请假类型 请假时间 时长 是否批准 备注 创建日期 上次修改 操作
{{ $absence->staff->id }} {{ $absence->staff->staffname }} {{ $absence->staff->englishname }} {{ $absence->staff->department_name }} {{ $absence->absence_type }} {{ date("Y-m-d H:i", strtotime($absence->absence_start_time)) }} 至 {{ date("Y-m-d H:i", strtotime($absence->absence_end_time)) }} {{ $absence->duration }} @if ($absence->approve == true) 是 @else 否 @endif {{ $absence->note }} {{ $absence->created_at }} {{ $absence->updated_at }} 编辑
{{ method_field('DELETE') }} {{ csrf_field() }}
@if (count($absences)>config('page.PAGE_SIZE')) @include('shared._pagination') @endif @stop