{{-- v1.15.0 §B — « Votre redevance » : le total qui suit chaque case, ligne par ligne. --}} @php $optionsCochees = collect($offre['prestations'])->where('origine', \App\Support\Prestations::OPTION); $prixFormule = round((float) $offre['montant_ttc'] - \App\Support\Prestations::totalOptions($offre['prestations']), 2); $periodeOffre = \App\Support\Prestations::periode($offre['periodicite']); @endphp
Votre redevance
{{ $optionsCochees->count() === 0 ? 'Aucune option' : ($optionsCochees->count() === 1 ? '1 option' : $optionsCochees->count().' options') }} · TTC, payable d'avance