@extends('layouts.main') @section('page-id', '60392bf840371584d548bb20') @section('content')
@if ($category->tagline) @endif

{{ $category->name }}

{!! $category->description !!}
@if ($category->benefits)
@foreach ($category->benefits as $key => $benefit) @if ($key % 2 != 0) @continue @endif
{{ $benefit }}
@endforeach
@foreach ($category->benefits as $key => $benefit) @if ($key % 2 == 0) @continue @endif
{{ $benefit }}
@endforeach
@endif @if ($category->sowing_rates || $category->sowing_period || $category->utilisation_period)
@if ($category->sowing_rates)

Sowing Rates

{!! nl2br(e($category->sowing_rates)) !!}

@endif @if ($category->sowing_period)

Sowing Period

{{ $category->sowing_period }}

@endif @if ($category->utilisation_period)

Utilisation Period

{{ $category->utilisation_period }}

@endif
@endif
@if (count($category->varietyTypes) > 0)
@if ($category->seed_illustration)
@endif
@if ($category->seed_illustration)
@endif
{{ $category->name }}
@if (count($category->varietyTypes) % 2 == 0)
@endif
@foreach ($category->varietyTypes as $type)
@if (count($category->varietyTypes) > 1)
@endif
{{ $type->name }}
{{ $type->description }}
@if (count($type->products)) @endif
@endforeach
@endif

All {{ $category->name }} Varieties

@foreach ($category->products as $product) @php if ($product->pivot->has_unique_details) { $detailsType = $product->pivot->type; } else { $detailsType = $product->type; } @endphp @if ($detailsType === 'mixtures') @elseif ($detailsType === 'flower') @elseif ($detailsType === 'cover_mixture') @elseif ($detailsType === 'agri_enviro') @elseif ($detailsType === 'herb_legume') @else @endif @endforeach
@if ($category->show_crop_suitability)

Crop Suitability

Dairy
@if ($category->suitable_for_dairy) @endif
Sheep
@if ($category->suitable_for_sheep) @endif
Graze in Situ
@if ($category->suitable_for_graze_in_situ) @endif
Zero Grazing
@if ($category->suitable_for_zero_grazing) @endif
Beef
@if ($category->suitable_for_beef) @endif
Pig
@if ($category->suitable_for_pig) @endif
Ensile
@if ($category->suitable_for_ensile) @endif
Lift & Store
@if ($category->suitable_for_lift_and_store) @endif
@endif
@endsection