@extends('layouts.admin') @section('content') Tomorrow Tiffins Tomorrow Tiffin Tomorrow Tiffin @include('include.errors') @csrf Select Date * @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 {{$item->title}} @if(isset($item->tomorrow_tiffin)) @php $name=$item->tomorrow_tiffin->title @endphp @else @php $name='' @endphp @endif @endforeach @endsection