@extends('apex-layouts.main') @section('title',"Meals") @section('header-right') Total: {{ $meals->total() }} {!! \App\helpers\ViewCommonHelper::headerExportButton() !!} @endsection @section('content') @include('apex-layouts.includes._search',['fields'=>$searchFields]) title Image Category Recipes total grams total calories Price Rating Created @foreach($meals as $meal) {{$meal->id}} {{$meal->title}} logo: env("NO_IMAGE_URL")}}" alt="{{$meal->title}}"> {!! $meal->category !!} {{$meal->type}} {{$meal->recipe_title}} {{$meal->totalGrams}} G {{ round($meal->totalCalories, 2)}} kcal {{($meal->perOrderAmount)??0}} {{($meal->rating)?$meal->rating:0}} {{\App\helpers\ViewCommonHelper::getDateFormat($meal->created_at)}} {{\App\helpers\ViewCommonHelper::getDateFormat($meal->updated_at)}} @endforeach @if($meals->total() > $meals->perPage()) @endif @endsection @section('styles') @stop
Total
{{$meal->title}}
{{$meal->type}}
{{\App\helpers\ViewCommonHelper::getDateFormat($meal->created_at)}}
{{\App\helpers\ViewCommonHelper::getDateFormat($meal->updated_at)}}