@props([ 'id', 'title' => 'Add credits', 'description' => '', 'topupAction', 'minTopup' => 5, 'suggestedAmount' => 10, 'ladillWalletBalance' => 0, 'serviceBalance' => null, 'serviceBalanceLabel' => 'Current balance', 'openOnLoad' => false, 'returnUrl' => null, ]) @php // Single-wallet (siloing step 2): there is one Ladill wallet, so "pay from // wallet into service credits" is a meaningless round-trip — top up the one // wallet directly (Paystack). Transfer option removed. $canPayFromWallet = false; @endphp

{{ $title }}

@if($description)

{{ $description }}

@endif
@csrf @if($returnUrl) @endif @if($serviceBalance !== null)

GHS {{ number_format((float) $serviceBalance, 2) }}

{{ $serviceBalanceLabel }}

@endif

Minimum GHS {{ number_format($minTopup, 2) }}

@if($canPayFromWallet)

Payment method

@else

Pay with Paystack.

@endif
@include('partials.paystack-sheet')