first commit
This commit is contained in:
47
detil_pembayaran_ranap_rinci.php
Normal file
47
detil_pembayaran_ranap_rinci.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<div align="center">
|
||||
<div id="frame">
|
||||
<div id="frame_title"><h5>List Pembayaran</h5></div>
|
||||
<fieldset>
|
||||
<legend>Detil Pembayaran Retribusi Pasien</legend>
|
||||
<?php $sql = "SELECT a.kode, a.nama_jasa, b.TANGGAL as TGL1, b.qty, b.TARIFRS, c.NAMA FROM m_tarif a, t_billranap b, m_pasien c WHERE a.kode=b.KODETARIF AND b.nomr=c.nomr AND b.idxdaftar='".$_GET["idxb"]."'";
|
||||
$getName = $db->query($sql);
|
||||
$dt = $getName->fetchAll()[0];
|
||||
echo "<div align=left><strong><h1>Atas Nama : $dt[NAMA]</h1></strong></div>";
|
||||
?>
|
||||
|
||||
<table width="95%" border="0" cellpadding="0" cellspacing="0" class="tb">
|
||||
<tr>
|
||||
<th width="27%">Nama Retribusi</th>
|
||||
<th width="17%">Tanggal </th>
|
||||
<th align="right" width="20%">Tarif</th>
|
||||
<th width="7%" colspan="2">Quantity</th>
|
||||
</tr>
|
||||
<tr <?php echo "class =";
|
||||
$count++;
|
||||
if ($count % 2) {
|
||||
echo "tr1"; }
|
||||
else {
|
||||
echo "tr2";
|
||||
}
|
||||
?>>
|
||||
<?php
|
||||
$qry = $db->query($sql);
|
||||
foreach($qry->fetchAll() as $data){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $data['nama_jasa']; ?></td>
|
||||
<td align="center"><?php echo $data['TGL1']; ?></td>
|
||||
<td align="right"><?php echo "Rp. ".number_format($data['TARIFRS'], 0).",00"; ?></td>
|
||||
<td align="center"><?php echo $data['qty']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
<form action="gudang/excelexport.php" enctype="multipart/form-data" method="post">
|
||||
<input type="hidden" value="<?php echo $sql; ?>" name="query" />
|
||||
<input type="hidden" value="<?php echo "Detil Pembayaran Retribusi Pasien"; ?>" name="header" />
|
||||
<input type="hidden" value="<?php echo "DetilPembayaranRetribusiPasien"; ?>" name="filename" />
|
||||
<input type="submit" value="Export To Excel" class="text"/>
|
||||
</form>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user