{% load humanize i18n static %} {% language 'en-US' %}
| ---------------------------------------------------------------Obat-------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | Paket 1 : Rp 50,000 | --------------------------------------------------------------------------------------------------------------------------------- | ||||||
| {{ y.barang.nama }} | {% with rowspan_value=invoicebarang|length %} {% if rowspan_value > 3 %} {% if forloop.first %}Paket 2100,000 | {% endif %} {% elif rowspan_value <= 1 %} {% if forloop.first %}Rp {{y.barang.harga_jual|floatformat:0|intcomma}} | {% endif %} {% else %} {% if forloop.first %}Paket 150,000 | {% endif %} {% endif %} {% endwith %} {% with rowspan_value=invoicebarang|length %} {% if rowspan_value > 3 %} {% if forloop.first %}100,000 | {% endif %} {% elif rowspan_value <= 1 %} {% if forloop.first %}Rp {{sumOfBarang|floatformat:0|intcomma}} | {% endif %} {% else %} {% if forloop.first %} {% endif %} {% endif %} {% endwith %}||||
| SUB TOTAL | Rp {{ summaryinvoicebarang|floatformat:0|intcomma}} | ||||||||
| -------------------------------------------------------------Layanan----------------------------------------------------------- | |||||||||
| Nama Barang | Harga | Kuantitas | Jumlah | ||||||
|---|---|---|---|---|---|---|---|---|---|
| {{ y.barang.nama }} | {{ y.barang.harga_jual|floatformat:0}} | {{ y.kuantitas|floatformat|default:"0" }} | {{y.total_harga}} {% widthratio y.barang.harga_jual 1 y.kuantitas as summary %}{{ summary}} | ||||||
| SUB TOTAL | Rp {{ summaryinvoicebarang|floatformat:0}} | ||||||||
| 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}} | ||||||||
| DISKON | - {{ potongan|floatformat:0|intcomma }} | ||||||||
| UANG PASIEN | Rp {{ pembayaranselesai.uang_pasien|floatformat:0|intcomma}} | ||||||||
| KEMBALIAN | Rp {{ pembayaranselesai.kembalian|floatformat:0|intcomma}} | ||||||||