{{$title}}

@foreach($offers as $offer)
{{$offer->declination->product->name}}
@foreach($offer->declination->criterions as $criterion)
{{$criterion->title}} : {{$criterion->pivot->value}}
@endforeach
@if( $offer->status == \App\Models\Offer::statusReserved && $offer->type == \App\Models\Offer::typeSell && $offer->buyOffer) {{$offer->price}}€ {{$offer->buyOffer->price}}€ @else {{$offer->price}} @endif
@if($offer->isValid() && $offer->isSellOffer() && $offer->possibleBuyOffers()->count() > 0) @endif @if($offer->status == \App\Models\Offer::statusValid) @if($offer->isSellOffer() || ($offer->isBuyOffer() && !$offer->offer_id)) @if(!isset($pause) || $pause !== false)
@csrf @if(isset($buyOffer) && $buyOffer) @endif
@endif
@csrf @if(isset($buyOffer) && $buyOffer) @endif
@else
@csrf
@endif @elseif($offer->status == \App\Models\Offer::statusPause)
@csrf
@csrf
@endif
@if($offer->isSellOffer()) @if($offer->status == \App\Models\Offer::statusValid)
Validité de l'offre : {{$offer->expire_at->format('d/m/Y')}}
@csrf
@endif @endif @if($offer->isValid() && $offer->isSellOffer() && $offer->possibleBuyOffers()->count() > 0) @endif @endforeach