<div class="the_struk" style="width:345px;padding:30px">
	<table border=0 style="width:345px">
		<tr>
			<td style="width:60px">
				<img src="{% nav public %}img/logo attaawun small.png" style="display:block;width:60px"/>
			</td>
			<td>
				<div style="text-align:center;font-family:verdana;font-size:12px">
					KLINIK RUMAH SEHAT AT-TA'AWUN
				</div>
				<div style="text-align:center;font-family:verdana;font-size:9px">
					Ruko Grand Galaxy City Blok RSK 3 No. 11<br>
					Jl. Boulevard Raya Timur, Jaka Setia, Bekasi<br>
					Telp. : 021-82748989, E-mail : rs.attaawun@gmail.com
				</div>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="border-top:2px solid #ccc;border-bottom:2px solid #ccc">
		</tr>
		<tr>
			<td colspan="2" style="height:30px">
				<h2 style="text-align:center;font-family:verdana;font-size:13px">
					BUKTI BEROBAT JALAN
				</h2>
			</td>
		</tr>
	</table>
	<table style="font-size:12px">
		<tr>
			<td style="width:140px"><b>No. RM</b></td>
			<td style="width:180px"><b>: {{ data.kunjungan.pasien.no_rekmed }}</b></td>
		</tr>
		<tr>
			<td>Tgl Kunjungan</td>
			<td>: {{ data.kunjungan.tanggal}}</td>
		</tr>
		<tr>
			<td>Nama Pasien / Nama Keluarga</td>
			<td>: {{ data.kunjungan.pasien.nama }}</td>
		</tr>
		<tr>
			<td>No. Telp / HP</td>
			<td>: {{ data.kunjungan.pasien.tlp }}</td>
		</tr>
		<tr>
			<td>Poli / Dokter</td>
			<td>: {{ data.kunjungan.poli }} / {{ data.kunjungan.dokter }}</td>
		</tr>
		<tr>
			<td colspan="2" style="padding-top:10px">
				<b><i>TINDAKAN DAN LAYANAN MEDIS</i></b>
			</td>
		</tr>
	</table>
	<div style="height:180px">
	<table style="font-size:12px;border:2px solid #ccc">
		<tr>
			<th style="width:240px;border-bottom:2px solid #ccc">Jenis Pemeriksaan</th>
			<th style="width:100px;border-bottom:2px solid #ccc">Biaya</th>
		</tr>
		{% for t in data.tindakan %}
		<tr>
			<td style="padding-left:10px">{{t.nama}}</td>
			<td style="padding-right:10px;text-align:right">{{ t.harga | currency }}</td>
		</tr>
		{% endfor %}
		<tr>
			<td style="padding-left:10px">Obat</td>
			<td style="padding-right:10px;text-align:right">{{ totalobat | currency }}</td>
		</tr>
		{% for b in data.biaya %}
		<tr>
			<td style="padding-left:10px">{{b.nama}}</td>
			<td style="padding-right:10px;text-align:right">{{ b.harga | currency }}</td>
		</tr>
		{% endfor %}
		<tr>
			<td style="padding-left:10px;border-top:2px solid #ccc">TOTAL BIAYA RAWAT JALAN</td>
			<td style="padding-right:10px;text-align:right;border-top:2px solid #ccc">{{ total | currency }}</td>
		</tr>
	</table>
	</div>
	<table style="font-size:12px">
		<tr>
			<td style="width:330px;text-align:right">Bekasi, {{ data.kunjungan.tanggal}}</td>
		</tr>
	</table>
</div>