<script type="text/javascript">	
	window.print();
</script>

<?php
	include '../../inc/inc.koneksi.php';
	include '../../inc/fungsi_tanggal.php';
	
	$kode 		= $_GET[kode];
	$tanggal	= $_GET[tanggal];
	$tagihan	= $_GET[tagihan];
	$kodepl 	= $_GET[kodepl];
	$namapl 	= $_GET[namapl];
	$tglaw  	= $_GET[tglaw];
	$tglak  	= $_GET[tglak];
	$tbl		= $_GET[terbilang];
		
	echo "<table width='100%'>
	    <tr>
	        <td style='border-top:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td align='center' style='border-left:double 1px;border-right:double 1px;font:18px arial'> PT BUMI PAGUYANGAN GESIT</td>
	    </tr>
	    <tr>
	        <td align='center' align='center' style='border-left:double 1px;border-right:double 1px;font:18px arial'> SPBU PAGUYANGAN</td>
	    </tr>
	    <tr>
	        <td style='border-bottom:double 1px;border-left:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td style='border-left:double 1px;border-right:double 1px'></td>
	    </tr>
			<td align='center' align='center' style='border-left:double 1px;border-right:double 1px;font:20px arial'><b>INVOICE / KWITANSI</b></td>
		<tr>
		</tr>
			<td style='border-bottom:double 1px;border-left:double 1px;border-right:double 1px'></td>
		</tr>
	</table>
			
	<table width='100%'>
		<tr>
		    <td style='border-left:double 1px'></td>
		    <td style='font:14px arial'></td>
		    <td style='font:14px arial'></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td width='17%' style='font:14px arial'> Nomor Kwitansi</td>
			<td width='3%' style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$kode</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Telah terima dari</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$namapl</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Uang sejumlah</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$tbl</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Guna membayar</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>TAGIHAN PENGISIAN BBM PERIODE ".jin_date_str($tglaw)." S/D ".jin_date_str($tglak)."</b></td>
	   </tr>
	   <tr>
	        <td width='2%' style='border-left:double 1px;border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px;border-right:double 1px'></td>
		</tr>
	</table>
		
	<table width='100%'>
	    <tr>
	        <td style='border-left:double 1px'></td>
		    <td></td>
		    <td></td>
		    <td></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td width='8%' style='font:14px arial'>Terbilang</td>
			<td width='3%' style='font:14px arial'>:</td>
			<td width='60%' style='font:14px arial'>Rp ".number_format($tagihan,0)."</td>
			<td style='font:14px arial;border-right:double 1px'>Purwokerto, ".jin_date_str($tanggal)."</td>
		</tr>
		<tr>
		    <td style='border-left:double 1px'></td>
		    <td></td>
		    <td></td>
		    <td></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
	</table>
	
	<table width='100%'>
	    <tr>
	        <td style='border-top:double 1px;border-left:double 1px'></td>
	        <td style='border-top:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td width='2%' style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'> * Invoice akan berubah menjadi kwitansi apabila pembayaran telah dilakukan</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'> * Apabila pembayaran menggunakan transfer harap bukti transfer / setor</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>  diinformasikan kepada Supervisor SPBU Paguyangan dan jika bukti belum</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>  diterima akan dianggap belum melakukan pembayaran.</td>
		</tr>
	</table>
	
	<table width='100%'>
	    <tr>
	        <td width='75%' style='border-left:double 1px'></td>
	        <td width='25%' style='border-right:double 1px'></td>
	    </tr>
	    <tr>
			<td style='border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>an/ Indrawan Setiady</td>
		</tr>
		<tr>
	        <td style='border-bottom:double 1px;border-left:double 1px'></td>
	        <td style='border-bottom:double 1px;border-right:double 1px'></td>
	    </tr>
	</table>
	<br><br><br><br><br><br>
	
	<table width='100%'>
	    <tr>
	        <td style='border-top:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td align='center' style='border-left:double 1px;border-right:double 1px;font:18px arial'> PT BUMI PAGUYANGAN GESIT</td>
	    </tr>
	    <tr>
	        <td align='center' align='center' style='border-left:double 1px;border-right:double 1px;font:18px arial'> SPBU PAGUYANGAN</td>
	    </tr>
	    <tr>
	        <td style='border-bottom:double 1px;border-left:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td style='border-left:double 1px;border-right:double 1px'></td>
	    </tr>
			<td align='center' align='center' style='border-left:double 1px;border-right:double 1px;font:20px arial'><b>INVOICE / KWITANSI</b></td>
		<tr>
		</tr>
			<td style='border-bottom:double 1px;border-left:double 1px;border-right:double 1px'></td>
		</tr>
	</table>
			
	<table width='100%'>
		<tr>
		    <td style='border-left:double 1px'></td>
		    <td style='font:14px arial'></td>
		    <td style='font:14px arial'></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td width='17%' style='font:14px arial'> Nomor Kwitansi</td>
			<td width='3%' style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$kode</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Telah terima dari</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$namapl</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Uang sejumlah</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>$tbl</b></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td style='font:14px arial'> Guna membayar</td>
			<td style='font:14px arial'>:</td>
			<td style='font:14px arial;border-right:double 1px'><b>TAGIHAN PENGISIAN BBM PERIODE ".jin_date_str($tglaw)." S/D ".jin_date_str($tglak)."</b></td>
	   </tr>
	   <tr>
	        <td width='2%' style='border-left:double 1px;border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px'></td>
			<td style='border-bottom:double 1px;border-right:double 1px'></td>
		</tr>
	</table>
		
	<table width='100%'>
	    <tr>
	        <td style='border-left:double 1px'></td>
		    <td></td>
		    <td></td>
		    <td></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
		<tr>
		    <td width='2%' style='border-left:double 1px'></td>
			<td width='8%' style='font:14px arial'>Terbilang</td>
			<td width='3%' style='font:14px arial'>:</td>
			<td width='60%' style='font:14px arial'>Rp ".number_format($tagihan,0)."</td>
			<td style='font:14px arial;border-right:double 1px'>Purwokerto, ".jin_date_str($tanggal)."</td>
		</tr>
		<tr>
		    <td style='border-left:double 1px'></td>
		    <td></td>
		    <td></td>
		    <td></td>
			<td style='font:14px arial;border-right:double 1px'></td>
		</tr>
	</table>
	
	<table width='100%'>
	    <tr>
	        <td style='border-top:double 1px;border-left:double 1px'></td>
	        <td style='border-top:double 1px;border-right:double 1px'></td>
	    </tr>
	    <tr>
	        <td width='2%' style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'> * Invoice akan berubah menjadi kwitansi apabila pembayaran telah dilakukan</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'> * Apabila pembayaran menggunakan transfer harap bukti transfer / setor</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>  diinformasikan kepada Supervisor SPBU Paguyangan dan jika bukti belum</td>
		</tr>
		<tr>
		    <td style='double 1px;border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>  diterima akan dianggap belum melakukan pembayaran.</td>
		</tr>
	</table>
	
	<table width='100%'>
	    <tr>
	        <td width='75%' style='border-left:double 1px'></td>
	        <td width='25%' style='border-right:double 1px'></td>
	    </tr>
	    <tr>
			<td style='border-left:double 1px'></td>
			<td style='border-right:double 1px;font:14px arial'>an/ Indrawan Setiady</td>
		</tr>
		<tr>
	        <td style='border-bottom:double 1px;border-left:double 1px'></td>
	        <td style='border-bottom:double 1px;border-right:double 1px'></td>
	    </tr>
	</table>";
?>
<script type="text/javascript">
	history.back();
</script>