Billing @php $fmt = fn ($m) => 'GHS '.number_format($m / 100, 2); $fmtBytes = function (int $bytes) { if ($bytes >= 1073741824) { return number_format($bytes / 1073741824, 2).' GB'; } if ($bytes >= 1048576) { return number_format($bytes / 1048576, 1).' MB'; } return number_format($bytes / 1024, 0).' KB'; }; @endphp

Billing

Storage is billed monthly at GHS {{ number_format($pricePerGb, 2) }} per GB while your wallet can pay. Renewals debit your Ladill wallet; unpaid renewals keep files for {{ (int) config('transfer.grace_period_days', 15) }} days before deletion.

Storage used

{{ $fmtBytes($storageBytes) }}

Monthly estimate

GHS {{ number_format($monthlyTotalGhs, 2) }}

Spent on Transfer

{{ $fmt($spentMinor) }}

Refunded / credited

{{ $fmt($creditedMinor) }}

Active transfer storage

GHS {{ number_format($pricePerGb, 2) }}/GB/mo
@if($activeTransfers->isEmpty())

No active transfers with stored files yet.

@else
    @foreach($activeTransfers as $transfer)
  • {{ $transfer->title }}

    {{ $fmtBytes($transfer->storage_bytes) }} @if($transfer->isInGracePeriod()) · payment due · kept until {{ $transfer->grace_ends_at?->format('M j, Y') }} @elseif($transfer->paid_until) · paid through {{ $transfer->paid_until->format('M j, Y') }} @endif

    GHS {{ number_format($transfer->monthlyCostGhs(), 2) }}/mo
  • @endforeach
Monthly total GHS {{ number_format($monthlyTotalGhs, 2) }}
@endif

Wallet balance

{{ $fmt($balanceMinor) }}

Keep your wallet funded so monthly renewals succeed. If a renewal fails, you have {{ (int) config('transfer.grace_period_days', 15) }} days to top up before files are deleted.