@lang('recipes.RecipeDetails')
{{ $recipe->name_ar }}
{{ $recipe->name_en }}
{{ $recipe->description_ar ?? __('recipes.NoDescription') }}
{{ $recipe->description_en ?? __('recipes.NoDescription') }}
{{ $recipe->time ?? __('recipes.time') }}
{{ $recipe->is_active ? __('recipes.Yes') : __('recipes.No') }}
@if ($recipe->images && $recipe->images->isNotEmpty())
@foreach ($recipe->images as $image)
@endforeach
@else
@lang('recipes.NoImages')
@endif
@if ($recipe->ingredients && $recipe->ingredients->isNotEmpty())
@else
| @lang('recipes.Product') | @lang('recipes.Quantity') | @lang('recipes.LossPercent') |
|---|---|---|
| {{ $ingredient->product->name_ar . " | " . $ingredient->product->name_en }} | {{ $ingredient->quantity }} | {{ $ingredient->loss_percent }}% |
@lang('recipes.NoIngredients')
@endif