@php $hasQris = $qrisEnabled && $qrisImage; $hasBanks = ($banksEnabled ?? true) && count($bankAccounts) > 0; $defaultMethod = $hasQris ? 'qris' : ($hasBanks ? 'transfer' : null); @endphp
@csrf @php $pmI18nData = [ 'apply' => __('Apply'), 'fileTooLarge'=> __('File too large. Maximum size is 5MB.'), 'selectProof' => __('Please select a payment proof image before submitting.'), 'invalidMime' => __('Only image files are allowed (JPG, PNG, WEBP).'), 'pleaseWait' => __('Sending...'), 'copied' => __('Copied'), 'copy' => __('Copy'), ]; @endphp @if (!$hasQris && !$hasBanks)
⚠️ {{ __('No payment methods configured yet. Please contact admin.') }}
@else @if ($hasQris && $hasBanks)
{{ __('Select Payment Method') }}
@endif @if ($hasQris)
QR Code @if ($qrisName)
{{ $qrisName }}
@endif
{{ __('Scan this QR code with your mobile banking or e-wallet app') }}
@endif @if ($hasBanks)
{{ __('Select Destination Account') }}
@foreach ($bankAccounts as $idx => $bank)
{{ $bank['type'] ?? 'Bank' }}
{{ $bank['name'] ?? '' }}
{{ $bank['account_number'] ?? '' }}
{{ $bank['account_name'] ?? '' }}
@if (!empty($bank['swift_code']))
SWIFT: {{ $bank['swift_code'] }}
@endif @if (!empty($bank['ifsc_code']))
IFSC: {{ $bank['ifsc_code'] }}
@endif @if (!empty($bank['branch']))
{{ __('Branch') }}: {{ $bank['branch'] }}
@endif @if (!empty($bank['notes']))
{{ $bank['notes'] }}
@endif
@endforeach @if (count($bankAccounts) > 0) @endif
@endif @endif
{{ __('Upload Payment Proof') }}
+
{{ __('Include country code, e.g. 628123... (no leading zero)') }}
{{ __('Payment Proof Image') }} *
{{ __('No file chosen') }}
{{ __('Order Total') }} {{ \Plugins\PayManual\Helpers\CurrencyHelper::format($order->amount, $currency) }}