@extends('layouts.app') @section('content')

{{ trans('lang.recipes') }}

@csrf @method('PUT')
@include('alerts.error_messages')
{{ trans('lang.recipes_edit') }}
{{ trans('lang.recipes_name_help') }}
{{ trans('lang.category_description_help') }}
{{ trans('lang.recipes_store_help') }}
{{ trans('lang.recipes_chef_help') }}
{{ trans('lang.recipes_category_help') }}
{{ trans('lang.recipes_steps_help') }}
{{ trans('lang.recipes_price_help') }}
{{-- Recipe Thumbnail --}}
{{-- Upload New Thumbnail --}}
{{ trans('lang.recipe_thumbnail_help') }}
{{-- Existing Thumbnails --}} @php $thumbnails = $recipe->getMedia('recipe_video_thumbnails'); @endphp @if ($thumbnails->count()) @foreach ($thumbnails as $thumb) @endforeach
{{ trans('lang.thumbnail') }} {{ trans('lang.action') }}
Recipe Thumbnail
@endif
{{-- Upload new video --}}
{{ trans('lang.recipes_video_help') }}
{{-- Existing Video --}} @if ($recipe->hasMedia('recipe_video'))
@foreach ($recipe->getMedia('recipe_video') as $media) @endforeach
{{ trans('lang.video') }} {{ trans('lang.action') }}
@endif
is_active == 1) checked @endif>
is_featured) ? 'checked' : '' }}>
is_published) ? 'checked' : '' }}>
is_daily) ? 'checked' : '' }}>
daily_days) != null ? 'checked' : '' }}>
{{ trans('lang.is_daily_recipe_desc') }}
@php $selectedDays = old('daily_days', explode(',', $recipe->daily_days ?? '')); @endphp
{{ trans('lang.select_days_help') }}
{{ trans('lang.product_ingredients') }}
@php $recipeIngredients = $recipeIngredients ?? []; @endphp @foreach($recipeIngredients as $index => $ingredient) @endforeach
{{ trans('lang.ingredients') }} {{ trans('lang.description') }} {{ trans('lang.unit') }} {{ trans('lang.unit_value') }} {{ trans('lang.note') }} {{ trans('lang.action') }}
@if(isset($recipe->additionalProducts) && count($recipe->additionalProducts)) @foreach($recipe->additionalProducts as $product) @endforeach @endif
{{ trans('lang.select_product') }} {{ trans('lang.action') }}
{{ trans('lang.cancel') }}
@endsection @section('scripts') @endsection