@php $loc = app()->getLocale(); $priceCents = (int) config('provisioning.storage_addon.price_cents', 0); @endphp {{-- Null buchbare Blöcke: Absage statt Kaufzusage. Das Fenster wird von einer Karte geöffnet, deren Zahl älter sein kann als der Vertrag — und ein Dialog, der einen Block verspricht, den purchase() danach ablehnt, ist eine Falle. --}} @if ($packs < 1)

{{ __('billing.storage_confirm_blocked_title') }}

{{ $refusal }}

{{ __('common.close') }}
@else

{{ __('billing.storage_confirm_title', ['count' => $packs]) }}

{{ __('billing.storage_confirm_body', [ 'count' => $packs, 'gb' => $packs * $packGb, 'total' => Number::currency($packs * $priceCents / 100, in: 'EUR', locale: $loc), ]) }}

{{ __('billing.storage_confirm_cancel') }} {{ __('billing.storage_confirm_cta') }}
@endif