@extends('layouts.app') @section('content')
Bitacora de Rutas
@php $fechaExpira = now(); if (Auth::user()->expired_confirmation_date) { $fechaExpira = \Carbon\Carbon::createFromFormat( 'd/m/Y', Auth::user()->expired_confirmation_date, ); } $control_access = false; @endphp @if (Auth::user()->confirmed_log != 1 && $fechaExpira > now()) @php $control_access = true; @endphp @endif @if (Auth::user()->confirmed_log != 1 && $fechaExpira > now()) @php $control_access = true; @endphp @endif
@foreach ($data as $fecha => $clientes)
Día {{ $fecha }}
@if (collect($clientes)->contains('is_upcoming', true)) @endif
@endforeach
@endsection @section('script') @endsection