<%- include('partials/sidebar', { activePage: activePage || 'custom_qr', company }) %>
QR-Custom Payment
Admin Logout
<% if (msg) { %>
<%= msg.text %>
<% } %> <% if (typeof hasQrisPayload !== 'undefined' && !hasQrisPayload) { %>
QRIS statis belum diatur. Isi QRIS static payload di Pengaturan agar QR bisa dibuat.
<% } %>
Buat QR Nominal Custom
Pembayaran masuk
<%= stats.paidCount %>
Rp <%= Number(stats.paidTotal||0).toLocaleString('id-ID') %>
Menunggu (pending)
<%= stats.pendingCount %>
Warning (lewat 20 menit)
<%= stats.warningCount %>
Ditolak / refund
<%= stats.rejectedCount %>
<% if (detail) { %>
<%= detail.title %> — Rp <%= Number(detail.amount_unique||0).toLocaleString('id-ID') %>
<% if (detail.status === 'paid' || detail.status === 'rejected') { %>
QR tidak aktif — status: <%= detail.status %>
<% } else { %> QRIS
<% } %>
Status: <%= detail.status %>
Nominal dasar: Rp <%= Number(detail.amount||0).toLocaleString('id-ID') %>
Kode unik: <%= detail.unique_code %>
Nominal bayar: Rp <%= Number(detail.amount_unique||0).toLocaleString('id-ID') %>
Kategori: <%= detail.category || '-' %>
Dibuat: <%= detail.created_at %>
Kedaluwarsa: <%= detail.expires_at || '-' %>
<% if (detail.note) { %>
Catatan: <%= detail.note %>
<% } %>
Link share:
Buka
<% if (detail.status !== 'paid') { %>
<% } %> <% if (detail.status === 'warning') { %>
<% } %> <% if (detail.status !== 'paid' && detail.status !== 'rejected') { %>
<% } %>
<% } %>
Histori QR Custom
<% if (!rows || rows.length === 0) { %> <% } %> <% rows.forEach(function(r) { %> <% }); %>
JudulKategoriNominalStatusDibuatKedaluwarsaAksi
Belum ada QR custom.
<%= r.title %><% if (r.note) { %>
<%= r.note %>
<% } %>
<%= r.category || '-' %> Rp <%= Number(r.amount_unique||0).toLocaleString('id-ID') %> <%= r.status %> <%= r.created_at %> <%= r.expires_at || '-' %> <% if (r.status !== 'paid' && r.status !== 'rejected') { %>
<% } %>