@extends('layouts.admin') @section('content')
@include('include.errors')
@csrf
@php $dateSelected=date('Y-m-d',strtotime('tomorrow')) @endphp @if(isset($date)) @php $dateSelected=date('Y-m-d',strtotime($date)) @endphp @endif
@foreach($items as $item)
@if(isset($item->tomorrow_tiffin)) @php $active=1 @endphp @else @php $active=0 @endphp @endif
@if(isset($item->tomorrow_tiffin)) @php $name=$item->tomorrow_tiffin->title @endphp @else @php $name='' @endphp @endif
@endforeach
@endsection