@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'View'])
@include('components.alert')
@csrf

View Food Product Info

Food Product Info

Dish Photo


Ingredients

{{-- @foreach($recipes as $recipe)
@endforeach
--}}
@foreach ($recipes as $recipe) @endforeach
Ingredient Weight Cost (RM)
{{ $recipe->ingredient->ingredient_name }}
{{ $recipe->recipe_weight }}
{{ round(($recipe->ingredient->lowestPrice->ingredient_price / $recipe->ingredient->ingredient_weight) * $recipe->recipe_weight/1000, 2) }}
@include('layouts.footers.auth.footer')
@endsection