@foreach($planMediaProposal->operations as $op) @endforeach
Type Média Dotation Frais technique Frais technique remisés Périodes Sélectionnées par le client
@if($op->media?->type) {{ $op->media->type->name }} @else @endif {{ $op->media?->name ?? '—' }} @if(is_null($op->pivot->period))
Période non définie
@endif
{{ number_format($op->amount, 2, '.', ' ') }} € {{ number_format($op->technical_cost, 2, '.', ' ') }} € @if($op->pivot->discount_price) {{ number_format($op->pivot->discount_price, 2, '.', ' ') }} € @else @endif @php $selectPeriod = $op->pivot->select_period ? json_decode($op->pivot->select_period, true) : []; @endphp @if(!empty($selectPeriod))
@foreach($selectPeriod as $p) {{ ucfirst(\Carbon\Carbon::parse($p)->locale('fr')->shortMonthName) }} {{ \Carbon\Carbon::parse($p)->format('Y') }} @endforeach
@else Aucune @endif
Fiche média
Retirer