{{-- Summary Cards --}}
{{ __('Total Transactions') }}
{{ $statsTotal }}
โณ {{ __('Pending') }}
{{ $statsPending }}
โœ… {{ __('Approved') }}
{{ $statsApproved }}
โŒ {{ __('Rejected') }}
{{ $statsRejected }}
๐Ÿ’ฐ {{ __('Total Paid') }}
@forelse ($statsPaidByCurrency as $cur => $total)
{{ \Plugins\PayManual\Helpers\CurrencyHelper::format($total, $cur) }}
@empty
โ€”
@endforelse
@if ($proofs->isEmpty())
๐Ÿ“ญ {{ __('No payment proofs found.') }}
@else
@foreach ($proofs as $proof) @endforeach
{{ __('Order') }} {{ __('Customer') }} {{ __('Plan') }} {{ __('Method') }} {{ __('Amount') }} {{ __('Proof') }} {{ __('Status') }} {{ __('Date') }} {{ __('Actions') }}
{{ $proof->order_ref }}
{{ $proof->sender_name }}
{{ $proof->sender_phone }}
@if ($proof->plan_name) {{ $proof->plan_name }} @else โ€” @endif @if ($proof->method === 'qris') ๐Ÿ“ฑ QR Code @else ๐Ÿฆ {{ $proof->bank_name }} @endif {{ \Plugins\PayManual\Helpers\CurrencyHelper::format($proof->amount, $proof->currency ?? 'USD') }} @if ($proof->proof_image) ๐Ÿ–ผ @else โ€” @endif @if ($proof->status === 'pending') โณ {{ __('Pending') }} @elseif ($proof->status === 'approved') โœ… {{ __('Approved') }} @else โŒ {{ __('Rejected') }} @endif {{ $proof->created_at->format('d M Y H:i') }} @if ($proof->status === 'pending') @else {{ $proof->notes }} @endif
{{ $proofs->links() }}
@endif
๐Ÿ“ท {{ __('QR Code Payment') }}
@if ($qrisImage)
@else @endif
{{ $qrisImage ? basename($qrisImage) : __('No file chosen') }}
{{ __('JPG/PNG/WEBP, max 3MB') }}
๐Ÿฆ {{ __('Bank & E-Wallet Accounts') }}
{{-- Global visibility toggle โ€” same pattern as QR Code --}}
{{ __('Accounts') }}
{{ __('Type') }}
{{ __('Bank / Wallet Name') }} *
{{ __('Account Number') }} *
{{ __('Account Name') }}
@foreach ($bankAccounts as $i => $bank) @include('pay-manual::partials.bank-row', ['bank' => $bank]) @endforeach

{{ __('No accounts yet. Click "Add Account" to add one.') }}

๐ŸŽŸ {{ __('Promo / Discount Codes') }}
{{ __('Loading...') }}
{{-- WA Notification Settings --}}
๐Ÿ“ฑ {{ __('WhatsApp Notification Settings') }}
{{ __('Notifications of new proofs will be sent here.') }}
{{-- Templates --}}
๐Ÿ’ฌ {{ __('WhatsApp Notification Templates') }}

{{ __('Leave blank to use the default template. Supported variables shown below each field.') }}

@php $tplFields = [ 'user_proof_received' => [ 'label' => __('โœ… User: Proof Received'), 'vars' => '{customer_name}, {order_id}, {plan_name}, {method}, {amount}, {discount_line}, {final_amount}', ], 'admin_new_proof' => [ 'label' => __('๐Ÿ”” Admin: New Proof Submitted'), 'vars' => '{customer_name}, {phone}, {order_id}, {plan_name}, {method}, {amount}, {discount_line}, {final_amount}, {proof_url}, {approve_url}', ], 'user_approved' => [ 'label' => __('๐ŸŽ‰ User: Payment Approved'), 'vars' => '{customer_name}, {order_id}, {plan_name}, {method}', ], 'user_rejected' => [ 'label' => __('โŒ User: Payment Rejected'), 'vars' => '{customer_name}, {order_id}, {plan_name}, {method}, {reason}', ], ]; @endphp @foreach ($tplFields as $key => $meta)
{{ __('Variables') }}: {{ $meta['vars'] }}
@endforeach
@php $pmI18n = [ 'pleaseEnterReason' => __('Please enter a reason.'), 'phBankName' => __('e.g. Chase, Revolut'), 'phAccountName' => __('Account holder name'), 'phRemove' => __('Remove'), 'fillBankFields' => __('Please fill in Bank Name and Account Number for all rows (highlighted in red).'), 'addAtLeastOne' => __('Add at least one account.'), 'deletePromo' => __('Delete this promo code?'), 'editPromoTitle' => __('Edit Promo Code'), 'newPromoTitle' => __('New Promo Code'), 'codeValueRequired' => __('Code and Value are required.'), 'resetConfirm' => __('Reset all templates to default? Your custom templates will be lost.'), 'templatesCleared' => __('Templates cleared. Save to apply defaults.'), 'loadingPromos' => __('Loading...'), 'noPromos' => __('No promo codes yet.'), 'copied' => __('Copied'), 'apply' => __('Apply'), ]; @endphp