@extends('payroll.employee_frontend.layouts.employee') @section('custom_style') @endsection @section('content') Create late Application @if (session('success')) {{ session('success') }} @endif @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @csrf date in time Policiy Type @foreach ($policies as $p) {{$p->name}} @endforeach Purpose Recent late in History date in time Purpose Status @foreach ($lates as $ei) {{$ei->date}} {{$ei->expected_in_time}} {{$ei->purpose}} {{ $ei->approve_status == 2 ? 'Active' : ($ei->approve_status == 3 ? 'rejected' : ($ei->approve_status == 1 ? 'pending' : 'Completed' ) )}} @endforeach @endsection @section('script') @endsection