{{ $tenant->name }} — SMS Credit

{{ $tenant->customer?->name ?? $tenant->slug }}

Back to Balances
@if (session('success'))
{{ session('success') }}
@endif
Current Balance
{{ number_format($balance->balance) }}
Purchased
{{ number_format($balance->total_purchased) }}
Used
{{ number_format($usage['used']) }}
Failed
{{ number_format($usage['failed']) }}
Messages
{{ number_format($usage['messages']) }}

Credit Ledger

Every movement, with the balance it produced.

@forelse($transactions as $transaction) @empty @endforelse
Date Type Change Balance After Detail
{{ $transaction->created_at?->format('M d, Y H:i') }} {{ $transaction->type->label() }} {{ $transaction->quantity >= 0 ? '+' : '' }}{{ number_format($transaction->quantity) }} {{ number_format($transaction->balance_after) }} {{ $transaction->description ?? '—' }} @if($transaction->creator) by {{ $transaction->creator->name }} @endif
No credit movements recorded for this tenant.
@if($transactions->hasPages())
{{ $transactions->links() }}
@endif

Manual Adjustment

Use a negative number to claw credit back.

@csrf
@error('quantity')

{{ $message }}

@enderror
@error('reason')

{{ $message }}

@enderror

Recent Orders

@forelse($orders as $order) @empty @endforelse
#{{ $order->id }}
{{ $order->created_at?->format('M d, Y') }}
{{ number_format($order->sms_quantity) }} {{ $order->payment_status->label() }}
No orders yet.