@csrf
@switch($section) @case(1)
{{ $product->image_path }}
@if ($product->image_path)

{{ $product->image_path }}

@else

Sin imagen selecionada

@endif
{{ __('service.data.application_methods') }}
* Selecciona al menos 1 método de aplicación.
@foreach ($application_methods as $appMethod)
hasAppMethod($appMethod->id) ? 'checked' : '' }} />
@endforeach
@break @case(2)
@break @case(3)
@break @case(4)
@break @case(5)
@foreach ($pest_categories as $i => $pest_category)

@if (!$pest_category->pests->isEmpty()) @foreach ($pest_category->pests as $pest)
hasPest($pest->id) ? 'checked' : '' }} />
@endforeach @else

No hay plagas asociadas

@endif
@endforeach
@break @case(6)
@foreach ($inputs as $index => $method) @foreach ($method['pestCategories'] as $pest) @if ($loop->first) @endif @endforeach @endforeach
# Método de aplicación Plagas Cantidad {{ __('buttons.actions') }}
{{ $index + 1 }} {{ $method['application_method_name'] }}
{{ $pest['category'] }} {{ $pest['amount'] }} {{ $product->metric->value }} x lt de agua {{ __('buttons.delete') }}
@break @case(7)
@foreach ($filenames as $index => $filename) @endforeach
# Nombre del archivo Archivo Fecha de vencimiento {{ __('buttons.actions') }}
{{ $index + 1 }} {{ $filename->name }} @if ($product->file($filename->id)) {{ $filename->name }} @else

Sin archivo

@endif
{{ $product->file($filename->id)->expirated_at ?? 'S/A' }} {{ __('buttons.delete') }}
@break @endswitch
@if ($section < 6) @endif