{% extends 'basic.html' %} {% load humanize i18n static %} {% block title %} Siapkan Kasir {% endblock %} {% block head %} {% endblock %} {% block content %} {% language 'en-US' %}
{% include "header.html" %}
{% for x in messages %} {% endfor %}

{% include 'pembayaran/siapkankasir/data-pasien.html' %}
Pembayaran untuk pasien
{% if invoicebed %} {% for y in invoicebed %} {% endfor %} {% endif %} {% if invoicebarang %} {% if info_dasar_faskes.is_paket == 1 %} {% for y in invoicebarang %} {% with rowspan_value=invoicebarang|length %} {% if forloop.first %} {% endif %} {% endwith %} {% with rowspan_value=invoicebarang|length %} {% if forloop.first %} {% endif %} {% endwith %} {% endfor %} {% else %} {% for y in invoicebarang %} {% endfor %} {% endif %} {% endif %} {% if invoicelayanan %} {% for x in invoicelayanan %} {% endfor %} {% endif %} {% if invoicelab %} {% for x in invoicelab %} {% endfor %} {% endif %} {% if is_voucher %} {% endif %}
# Nama Harga Tanggal Masuk Jumlah Kamar Dibayar
{{ forloop.counter }} {{ y.kamar.nama }} {{ y.kamar.harga }} {{ y.tanggal_masuk }} {{ y.kamar.harga|intcomma }} {{ y.nama }} {{ y.kamar.nama }} {{ y.is_dibayar }}
TOTAL BED Rp. {{ summaryinvoicebed|intcomma }}
# Nama Barang Harga Kuantitas Diskon Cara Pakai Status
{{ forloop.counter }} {{ y.barang.nama }}{{info_paket}}{{harga_paket|intcomma}}{{ y.kuantitas|floatformat|default:"0" }} {% if y.diskon_pembelian == "0" %}0 %{% else %}{% if y.tipe_diskon != "%" %}-{%endif%}{{ y.diskon_layanan|floatformat:0|intcomma }} {% if y.tipe_diskon == "%" %}%{%endif%}{%endif%} {{ y.catatan }} {% if y.is_dibayar == False %} Belum Bayar {% else %} Dibayar {% endif %}
SUB TOTAL Rp {{ harga_paket|intcomma }}
# Nama Harga Kuantitas Diskon Jumlah Status
{{ forloop.counter }} {{ y.barang.nama }} {{ y.barang.harga_jual|floatformat:0|intcomma }} {{ y.kuantitas|floatformat|default:"0" }} {% if y.diskon_pembelian == "0" %}0 %{% else %}{% if y.tipe_diskon != "%" %}-{%endif%}{{ y.diskon_layanan|floatformat:0|intcomma }} {% if y.tipe_diskon == "%" %}%{%endif%}{%endif%} {{ y.total_harga|floatformat:0|intcomma }} {% if y.is_dibayar == False %} Belum Bayar {% else %} Dibayar {% endif %}
TOTAL BARANG Rp {{ summaryinvoicebarang|floatformat:0|intcomma }}
# Nama Layanan Harga Kuantitas Diskon Jumlah Status
{{ forloop.counter }} {{ x.tarif_layanan.nama }} {{ x.tarif_layanan.harga|floatformat:0|intcomma }} {{ x.kuantitas|floatformat|default:"0" }} {% if x.diskon_pembelian == "0" %}0 %{% else %}{% if x.tipe_diskon != "%" %}-{%endif%}{{ x.diskon_layanan|floatformat:0|intcomma }} {% if x.tipe_diskon == "%" %}%{%endif%}{%endif%} {{ x.total_harga|floatformat:0|intcomma }} {% if x.is_dibayar == False %} Belum Bayar {% else %} Dibayar {% endif %}
TOTAL LAYANAN Rp {{ summaryinvoicelayanan|floatformat:"0"|intcomma }}
# Nama Layanan Lab Harga Kuantitas Diskon Jumlah Dibayar
{{ forloop.counter }} {{ x.tarif_lab.nama }} {{ x.tarif_lab.harga|floatformat:0|intcomma }} {{ x.kuantitas|floatformat|default:"0" }} {% if x.diskon_pembelian == "0" %}0 %{% else %}{% if x.tipe_diskon != "%" %}-{%endif%}{{ x.diskon_layanan|floatformat:0|intcomma }} {% if x.tipe_diskon == "%" %}%{%endif%}{%endif%} {{ x.total_harga|floatformat:0|intcomma }} {% if x.is_dibayar == False %} Belum Bayar {% else %} Dibayar {% endif %}
TOTAL LAYANAN LAB Rp {{ summaryinvoicelab|floatformat:0|intcomma }}
Administrasi Pendaftaran {% if semuapendaftaran.is_new_pasien == True %} Rp {{ info_dasar_faskes.fee_new_pasien|floatformat:0|intcomma }} {% else %} Rp {{ info_dasar_faskes.fee_old_pasien|floatformat:0|intcomma }} {% endif %}
TOTAL KESELURUHAN Rp {{ allsummary|floatformat:0|intcomma }}
VOUCHER DISKON Rp - {{ potongan|floatformat:0|intcomma }}
UANG PASIEN Rp {{ pembayaranselesai.uang_pasien|floatformat:0|intcomma }}
KEMBALIAN Rp {{ pembayaranselesai.kembalian|floatformat:0|intcomma }}
{% csrf_token %}
{% if not is_voucher %} {% else %} {% endif %}

Rp {{ allsummary|floatformat:0|intcomma }} {% if is_voucher %}  {{ total_bayar|floatformat:0|intcomma }} {%endif%}

Rp {{ pembayaranselesai.kembalian|floatformat:0|intcomma }}

{% include 'footer.html' %}
{% endlanguage %} {% endblock %}