@extends('apex-layouts.main') @section("title",($member->exists())?"{$member->name} One Day Meal":"Add One Day Meal") @section('header-right') {{-- Go Back--}} @endsection @section('content') @csrf Source @foreach(\App\helpers\CommonHelper::getReferences() as $index=>$value) {{$value}} @endforeach @if ($errors->has('source')) {{ $errors->first('source') }} @endif Meal Plan @foreach($mealplans as $index=>$value) {{$value}} @endforeach @if ($errors->has('meal_plan_id')) {{ $errors->first('meal_plan_id') }} @endif on Date @if ($errors->has('onDate')) {{ $errors->first('onDate') }} @endif Amount @if ($errors->has('amount')) {{ $errors->first('amount') }} @endif Breakfast Lunch Snack Dinner {{ 'Lead info' }} search by phone @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Email @if ($errors->has('email')) {{ $errors->first('email') }} @endif Gender