@extends('apex-layouts.main') @section('title','Shop Recipes') @section('header-right') Total: {{ count($recipe) }} @endsection @section('content') @include('apex-layouts.includes._search',['fields'=>$searchFields]) # Image title total grams total calories cuisines Rating Created @foreach($recipe as $value) {{$value->id}} logo:env("NO_IMAGE_URL")}}" alt="{{$value->title}}"> {{$value->title}} {!! $value->category!!} Recipe {{$value->totalGrams}} {{ round($value->totalCalories, 2)}} {{($value->cuisines) ? $value->cuisines:'-'}} {{($value->rating)?$value->rating:0}} {!! $value->userName !!} {{\App\helpers\ViewCommonHelper::getDateFormat($value->created_at)}} {{\App\helpers\ViewCommonHelper::getDateFormat($value->updated_at)}} @endforeach @endsection @section('scripts') @stop @section('styles') @stop
Total
{{$value->title}}
{!! $value->category!!} Recipe
{!! $value->userName !!}