<style type="text/css">
#view_laporan .dodon tr td,  tr th {
	border: none;
}
</style>
<div style="padding:5px;min-width:1200px;">
<div style="padding:20px;">
</div>
<button class="btn btnExcel" style="width:150px;text-align:center;">Export Excel</button></div>
<table id="view_laporan" class="cetakExcel" border="0" cellpadding="2" cellspacing="0" style="margin:10px;min-width:1200px;">
	<tbody>
		<tr>
			<td align="center" colspan="8" style="text-align: center;border:0px;border-top:0;font-size:14px;border-right:0px;">LAPORAN KEADAAN PERKARA</td>
		</tr>
		<tr>
			<td align="center" colspan="8" style="text-align: center;border:0px;font-size:14px;border-right:0px;">YANG DIMOHONKAN KASASI</td>
		</tr>
		<tr>
			<td align="center" colspan="8" style="text-align: center;border:0px;font-size:14px;border-bottom:1px solid #000000;border-right:0px;">Bulan <?php echo fetch_montd($bulan);?> <?php echo $tahun;?></td>
		</tr>
	</tbody>
	<tr>
		<th rowspan="2">NO</th>
		<th rowspan="2">NOMOR PERKARA PTUN</th>
		<th colspan="5">TANGGAL</th>
		<th rowspan="2">KETERANGAN</th>
	</tr>
	<tr>
		<th>PENERIMAAN BERKAS PT.TUN</th>
		<th>PUTUSAN PT.TUN</th>
		<th>PEMBERITAHUAN PUTUSAN PT.TUN</th>
		<th>AKTA KASASI</th>
		<th>PENGIRIMAN BERKAS</th>
	</tr>
	<tr>
		<td><div align="center">1</div></td>
		<td><div align="center">2</div></td>
		<td><div align="center">3</div></td>
		<td><div align="center">4</div></td>
		<td><div align="center">5</div></td>
		<td><div align="center">6</div></td>
		<td><div align="center">7</div></td>
		<td><div align="center">8</div></td>
	</tr>
	<?php
	$i=1;
	if($listKasasi!=''){
		if($listKasasi->num_rows>0){
			$i=0;
			foreach ($listKasasi->result() as $row) { $i++;
			?>
				<tr>
					<td><?php echo $i; ?></td>
					<td><?php echo $row->nomor_perkara_pn; ?></td>
					<td><?php echo parse_date($row->penerimaan_berkas_PT); ?></td>
					<td><?php echo parse_date($row->putusan_banding); ?></td>
					<td><?php echo parse_date($row->pemberitahuan_putusan_banding); ?></td>
					<td><?php echo parse_date($row->permohonan_kasasi); ?></td>
					<td><?php echo parse_date($row->pengiriman_berkas_kasasi); ?></td>
					<td></td>
				</tr>
			<?php
			}
		}
	}
	?>
	</tr>
	</tbody>
</table>
</div>
<div style="padding:15px;"></div>
<script src="resources/js/jquery.table2excel.js"></script>
<script>
$(function() {
	$(".btnExcel").click(function(){
		$(".cetakExcel").table2excel({
			exclude: ".noExl",
			name: "Excel Document Name",
			filename: "Cetak Excel"
		});
	});
});
</script>