<link rel="stylesheet" href="../themes/theme_default/theme-print.css" /> <script type="text/javascript"> function cetak() { window.print(); setTimeout(function(){ window.close();},300); } </script> <?php include_once '../models/transaksi.php'; include_once '../models/masterdata.php'; include_once '../inc/functions.php'; $param = array('print' => TRUE, 'id' => $_GET['id_pasien']); $pelanggan = load_data_customer($param); foreach ($pelanggan['data'] as $rows) { } header_surat(); ?> <body onload="cetak();"> <table width="100%"> <tr valign="top"> <td width="50%" colspan="3"> <table width="100%" class="attribute"> <tr><td width="40%">No. RM:</td><td><?php echo $rows->id; ?> </td></tr> <tr><td width="40%">Nama Pasien:</td><td><?php echo $rows->nama; ?> </td></tr> <tr><td>Alamat Pasien:</td><td><?php
<?php include_once '../models/transaksi.php'; include_once '../inc/functions.php'; ?> <link rel="stylesheet" href="../themes/theme_default/theme-print.css" /> <script type="text/javascript"> function cetak() { window.print(); setTimeout(function(){ window.close();},300); } </script> <body onload="cetak();"> <?php echo header_surat(); ?> <h1> LAPORAN ARUS STOK TAHUNAN <br /> TAHUN <?php echo $_GET['tahun']; ?> </h1> <table cellspacing="0" width="100%" class="list-data-print"> <thead> <tr class="italic"> <th width="2%">No.</th> <th width="10%">Transaksi</th> <th width="10%">Awal</th> <th width="10%">Masuk</th> <th width="10%">Keluar</th> </tr> </thead>