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