@php $m3 = fn (float $v) => rtrim(rtrim(number_format($v, 1, ',', ' '), '0'), ',').' m³'; @endphp {{-- ================= RÉSULTAT ================= --}}

Simulateur de volume

@if ($reference === null)

Aucun résultat à afficher

Lancez le simulateur pour estimer le volume dont vous avez besoin, puis revenez ici pour découvrir le tarif correspondant.

@else

Votre volume estimé

{{ $m3($reference) }}

@if ($usedVolume !== null && $volume !== null && $usedVolume < $volume)

Volume réellement occupé par vos biens : {{ $m3($usedVolume) }}

@endif @if ($quantity > 1)

Répartis sur {{ $quantity }} box

@endif @endif
@if ($reference !== null) {{-- ================= TARIF ================= --}}
@if ($tier)

Votre tarif

{{ $tier['price'] }} €/mois

{{ $tier['label'] }}

@else

{{ config('site.pricing_above') }}

@endif
{{-- ================= RÉCAPITULATIF ================= --}}
@if ($items)

Ce que vous stockez

    @foreach ($items as $item)
  • {{ $item['label'] }} × {{ $item['quantity'] }}
  • @endforeach

{{ count($items) }} type{{ count($items) > 1 ? 's' : '' }} d’objet{{ count($items) > 1 ? 's' : '' }}, {{ array_sum(array_column($items, 'quantity')) }} article{{ array_sum(array_column($items, 'quantity')) > 1 ? 's' : '' }} au total.

@endif
$items])> {{-- Le volume et le tarif suivent, pour préremplir le message de contact --}} Réserver mon box Refaire une simulation
{{-- Grille tarifaire complète --}}

Nos tarifs

    @foreach ($pricing as $line) @php $current = $tier && $tier['max'] === $line['max']; @endphp
  • $current, ])> $current])> {{ $line['label'] }} @if ($current) votre palier @endif ! $current, 'text-ink-dark' => $current])> {{ $line['price'] }} €/mois
  • @endforeach

{{ config('site.pricing_above') }}

@endif