[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
siakad
/
mahasiswa
/
Keuangan
/
[
Home
]
File: PrintoutBuku.inc.php
<?php $nmTable = "keu_p_tabungan"; $formnama = "datatabungan"; $registerform = lastlogin($_SESSION["user-id"],$formnama); if(isset($_SESSION["id-profil"])) $idlogprof = $_SESSION["id-profil"]; else $idlogprof = 0; if($idlogprof == 0) echo "<script>window.alert('".$lsm."');location.href='index.php';</script>"; ?> <div id="wrapper"> <div class="content-wrapper container"> <div class="row"> <div class="col-sm-12"> <div class="page-title"> <h1> <small></small></h1> <ol class="breadcrumb"> <li><a href="index.php"><i class="fa fa-home"></i></a></li> <li>Laporan Keuangan</li> <li class="active">Printout Buku</li> </ol> </div> </div> </div><!-- end .page title--> <div class="row"> <div class="col-md-12"> <div class="panel panel-card "> <!-- Start .panel --> <div class="panel-heading"> <div class="panel-actions"> <a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a> <a href="#" class="panel-action panel-action-dismiss" data-panel-dismiss></a> </div> </div> <div class="panel-body"> <div class="table-responsive"> <table id="basic-datatables" class="table table-bordered"> <thead> <tr> <th>No.</th> <th>No Rek BRI</th> <th>Tanggal</th> <th>Debet</th> <th>Kredit</th> <th>Saldo</th> <th>Status</th> </tr> </thead> <tfoot> <tr> <th>No.</th> <th>No Rek BRI</th> <th>Tanggal</th> <th>Debet</th> <th>Kredit</th> <th>Saldo</th> <th>Status</th> </tr> </tfoot> <tbody> <?php $query="select * from ".$nmTable." a left join keu_p_pembayaran_siswa b on a.tabungan_id = b.id_tabungan where a.id_siswa = ".$_SESSION["id-siswa"]." order by tabungan_id asc"; // echo $query; $iData=sAllData($query); for($a=0,$b=count($iData);$a<$b;$a++) { ?> <tr> <td><?php echo ($a+1);?></td> <td><?php echo $iData[$a]["tabungan_norek"];?></td> <td><?php echo format_date($iData[$a]["tabungan_tgl"]);?></td> <?php if($iData[$a]["tabungan_debet"] <> 0) echo "<td align=right>Rp. ".format_currency($iData[$a]["tabungan_debet"])." </td>"; else echo "<td align=right> </td>"; if($iData[$a]["tabungan_kredit"] <> 0) echo "<td align=right>Rp. ".format_currency($iData[$a]["tabungan_kredit"])." </td>"; else echo "<td align=right> </td>"; ?> <!--td><-?php echo format_currency($iData[$a]["tabungan_debet"]);?></td> <td><-?php echo format_currency($iData[$a]["tabungan_kredit"]);?></td--> <td><?php echo format_currency($iData[$a]["tabungan_sisa"]);?></td> <td><?php echo $iData[$a]["tabungan_status"];?> <?php echo $iData[$a]["pembayaran_bulan"];?> <?php echo $iData[$a]["pembayaran_tahun"];?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div><!-- End .panel --> </div><!--end .col--> </div><!--end .row--> </div><div style="clear:both;"></div> </div>