<% if (msg) { %>
<%= msg.text %>
<% } %>
<% if (typeof hasQrisPayload !== 'undefined' && !hasQrisPayload) { %>
QRIS statis belum diatur. Isi QRIS static payload di Pengaturan agar QR bisa dibuat.
<% } %>
<% 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 { %>
<% } %>
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:
<% if (detail.status !== 'paid') { %>
<% } %>
<% if (detail.status === 'warning') { %>
<% } %>
<% if (detail.status !== 'paid' && detail.status !== 'rejected') { %>
<% } %>
<% } %>
Histori QR Custom
| Judul | Kategori | Nominal | Status | Dibuat | Kedaluwarsa | Aksi |
<% if (!rows || rows.length === 0) { %>
| Belum ada QR custom. |
<% } %>
<% rows.forEach(function(r) { %>
| <%= 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') { %>
<% } %>
|
<% }); %>