@php // The same validated accent the orders PDF uses: Brand::accentHex() proves // the stored colour is #rrggbb and falls back to the product seed otherwise, // so one helper answers "what colour is this panel" for both documents. // Passed through Css::color() as well because it is printed raw into
{{-- ── HEADER ── --}}| {{ __('Description') }} | {{ __('Qty') }} | {{ __('Unit price') }} | {{ __('Amount') }} |
|---|---|---|---|
|
{{ __('Wallet top-up') }} — {{ $txn->method?->name ?? ucfirst(str_replace('_', ' ', $txn->driver)) }}
{{ $invoiceNumber }} · {{ rf_datetime($txn->created_at) }}
|
1 | {{ strtoupper($paidCurrency) }} {{ money_number($paidAmount) }} | {{ strtoupper($paidCurrency) }} {{ money_number($paidAmount) }} |
|
{{ __('Deposit bonus') }}
{{ __('Promotional bonus applied to this deposit') }}
|
1 | {{ strtoupper($baseCurrency) }} {{ money_number($bonus) }} | {{ strtoupper($baseCurrency) }} {{ money_number($bonus) }} |
| {{ __('Subtotal') }} | {{ strtoupper($paidCurrency) }} {{ money_number($paidAmount) }} |
| {{ __('Bonus') }} | + {{ strtoupper($baseCurrency) }} {{ money_number($bonus) }} |
| {{ __('Total credited') }} | {{ strtoupper($baseCurrency) }} {{ money_number($credited) }} |