{% from 'admin/icons.html' import icon %} {% from 'admin/setup_guide.html' import setup_guide %} {% macro money(value) %}Rp{{ '{:,.0f}'.format(value).replace(',', '.') }}{% endmacro %} {% macro action_fields(action, target=tab) %}{% endmacro %} {% macro dialog_heading(title, key) %}

{{ title }}

×
{% if error and active_dialog == key %}{% endif %}{% endmacro %} Pembayaran · Photobok
ADMIN PHOTOBOOTH

Pembayaran

Paket, transaksi, dan akses pengunjung.

{{ 'Pembayaran aktif' if settings.effective else 'Tanpa pembayaran' }}
{% if success %}
{{ success }}
{% endif %} {% if error and not active_dialog %}{% endif %} {{ setup_guide('payment-' ~ tab, tab == 'paket' and not active_packages) }} {% if (pending_attempts or print_jobs) and tab != 'transaksi' %}{{ pending_attempts|length + print_jobs|length }} pembayaran / cetak perlu diperiksa Periksa →{% endif %} {% if tab == 'paket' %}

Mulai dari starter paket

Tambah sekali. Harga dan jumlah cetak bisa kamu ubah.

{% for starter in starter_packages %}{% set match = namespace(added=false) %}{% for package in active_packages %}{% if package.name == starter.name and package.price == starter.price and package.prints == starter.prints and not package.max_extra_prints and not package.extra_print_price %}{% set match.added = true %}{% endif %}{% endfor %}

{{ starter.name }}

{{ 'Digital' if starter.prints == 0 else starter.prints|string ~ ' cetak' }}
{{ money(starter.price) }}{% if display_price(starter.price) > starter.price %}Tampil QRIS {{ money(display_price(starter.price)) }}{% endif %}

{{ starter.description }}

{{ action_fields('starter_package') }}
{% endfor %}

Paket foto

{{ active_packages|length }} paket aktif

+ Tambah paket
{% if visible_packages %}
{% for package in visible_packages %}{% endfor %}
PaketHargaCetakStatusTindakan paket
{{ package.name }}{% if package.max_extra_prints %}Tambahan {{ money(package.extra_print_price) }}/cetak · maks. {{ package.max_extra_prints }}{% endif %}{{ money(package.price) }}{% if display_price(package.price) > package.price %}Tampil QRIS {{ money(display_price(package.price)) }}{% endif %}{{ package.prints }}{{ 'Aktif' if package.active else 'Nonaktif' }}
Edit
{{ action_fields('package_active') }}
{% else %}

{{ 'Belum ada paket aktif. Tambahkan paket untuk mulai menerima pembayaran.' if not packages else 'Belum ada paket aktif.' }}

{% endif %} {% if packages|length > active_packages|length %}{% endif %}

Promo

Potongan harga saat membayar QRIS.

+ Tambah promo
{{ setup_guide('payment-promo') }} {% if promos %}
{% for promo in promos %}{% endfor %}
KodeDiskonBerakhirStatusTindakan promo
{{ promo.code }}{{ (promo.amount|string ~ '%') if promo.kind == 'percent' else money(promo.amount) }}{{ promo.expires_label }}{{ 'Aktif' if promo.active else 'Nonaktif' }}
{{ action_fields('promo_active') }}
{% else %}

Belum ada promo.

{% endif %}
{% set initial_price = form_values.get('price', package_editor.get('price', 25000)) %} {% set initial_price_int = initial_price|int if initial_price != '' else 0 %} {% set initial_fee = service_fee_for(initial_price_int) %} {% set initial_display = display_price(initial_price_int) %}

{{ 'Edit paket' if editing_package_id else 'Tambah paket' }}

×
{% if error and active_dialog == 'paket' %}{% endif %}
{{ action_fields('package_edit' if editing_package_id else 'package') }}
Harga tampil ke pengunjung (QRIS) {{ money(initial_display) }}

{% if fee_config.bearer == 'customer' and initial_fee > 0 %}Ini jumlah yang akan kamu dapatkan. Admin fee dibebankan ke pengunjung saat bayar QRIS.{% elif fee_config.bearer == 'tenant' %}Ini harga paket yang tampil ke pengunjung. Biaya layanan diatur dari dashboard pusat.{% else %}Ini jumlah yang akan kamu dapatkan. Saat ini admin fee Rp0.{% endif %}

Cetak tambahan Opsional

Voucher lama tetap memakai paket semula.

Batal

Tambah promo

×
{% if error and active_dialog == 'promo' %}{% endif %}
{{ action_fields('promo') }}
Lanjutan
Batal
{% endif %} {% if tab == 'transaksi' %}
QRIS dibayar · 30 hari{{ money(finance_rows|sum(attribute='dibayar')) if finance_synced_at else '—' }}
Penjualan voucher staf · total{{ money(staff_sales.amount) }}{{ staff_sales.count }} penjualan
Perlu diperiksa{{ pending_attempts|length + print_jobs|length }}
{% if pending_attempts or print_jobs %}

Perlu diperiksa

Periksa hasil sebelum membuat pembayaran atau cetakan pengganti.

{% for attempt in pending_attempts %}
{{ 'Tambah cetak' if attempt.kind == 'print' else 'Pembayaran sesi' }}{{ attempt.created_label }}
{{ (attempt.checkout_id or attempt.request_id)[:12] }}

Lanjutkan pemeriksaan dari layar pembayaran app.

{% endfor %} {% for job in print_jobs %}
{{ action_fields('resolve_print') }}{{ job.copies }} cetakan · {{ job.id[:12] }}
{% endfor %}
{% endif %}

Transaksi QRIS

30 transaksi terbaru dari pusat.

Perbarui
{% set statuses = {'paid':'Dibayar','pending':'Menunggu','expired':'Kedaluwarsa','unknown':'Perlu diperiksa','paid_review':'Perlu ditinjau','creating':'Menyiapkan','failed':'Gagal','cancelled':'Dibatalkan'} %}{% for checkout in qris_checkouts %}{% else %}{% endfor %}
WaktuPaketTotalStatus
{{ checkout.created_label }}{{ checkout.package }}{% if checkout.environment == 'sandbox' %}Mode uji{% endif %}{{ money(checkout.total) }}{{ statuses.get(checkout.status, 'Perlu diperiksa') }}{{ ' · dipakai' if checkout.status == 'paid' and checkout.consumedAt else '' }}
{{ 'Belum ada transaksi QRIS.' if finance_synced_at else 'Laporan pusat belum tersedia. Periksa koneksi lalu perbarui.' }}
Rincian pendapatan & biaya 30 hari{% if finance_synced_at %}

Diperbarui {{ finance_synced_at }}. Pencairan dikelola di dashboard pusat.

{% endif %} {% if finance_rows %}
{% for row in finance_rows %}{% endfor %}
Waktu WIBPaketDibayarApp feeBiaya providerNet tenant
{{ row.waktu_wib }}{{ row.package_name }}{{ money(row.dibayar) }}{{ 'Menunggu settlement' if row.status != 'settled' and row.fee_bps else money(row.app_fee) }}{{ 'Menunggu' if row.biaya_provider is none else money(row.biaya_provider) }}{{ 'Menunggu' if row.net_tenant is none else money(row.net_tenant) }}
{% else %}

{{ 'Belum ada pendapatan QRIS pada periode ini.' if finance_synced_at else 'Hubungkan booth ke pusat untuk memuat laporan.' }}

{% endif %}

Penjualan staf

Penerimaan voucher tunai atau transfer langsung ke tenant.

{{ action_fields('export_staff_sales') }}
{% if payment_events %}
Aktivitas lokal
{% for event in payment_events %}{% endfor %}
WaktuAktivitasReferensi
{{ event.created_label }}{{ event.action }}{{ event.entity_id[:12] }}
{% endif %} {% endif %} {% if tab == 'voucher' %}

Voucher sesi

{{ voucher_summary.issued }} diterbitkan · {{ voucher_summary.redeemed }} dipakai · {{ voucher_summary.expired }} kedaluwarsa

{% for batch in batches %}{% else %}{% endfor %}
BatchDibuatJumlahDipakaiTindakan batch
{{ batch.id[:12] }}{{ batch.created_label }}{{ batch.issued }}{{ batch.redeemed }}
{{ action_fields('revoke_batch') }}
Belum ada voucher. Buat kode akses untuk satu sesi foto.

Periksa voucher

Lihat status satu kode voucher.

{% if lookup %}
{{ lookup.package_name or 'Paket lama' }}

{{ {'issued':'Belum dipakai','redeemed':'Sudah dipakai','revoked':'Dibatalkan','expired':'Kedaluwarsa'}.get(lookup.status, lookup.status) }} · berakhir {{ lookup.expires_label }}

{% if lookup.kind == 'staff_sale' %}{{ 'Sudah dicatat terjual' if lookup.sale_amount is not none else 'Belum dicatat terjual' }}{% endif %}
{% if lookup.status == 'issued' and lookup.sale_amount is none %}
{{ action_fields('voucher_revoke') }}
{% endif %}
{% endif %}
{{ dialog_heading('Buat voucher', 'voucher') }}
{{ action_fields('voucher') }}
Batal
{{ dialog_heading('Catat penjualan voucher', 'penjualan') }}
{{ action_fields('voucher_sale') }}
Batal
{% endif %} {% if tab == 'pengaturan' %}

Metode pembayaran

Berlaku untuk booth ini.

{{ action_fields('settings') }}

Tanpa metode aktif, booth berjalan tanpa pembayaran. Gateway dan pencairan dikelola di dashboard pusat.

{% endif %}