<style type="text/css">
.receipt
{
font-size:9px;
font-family:"Times New Roman", Times, serif;
}
.div1 {
    resize: both;
    overflow: auto;
    border: 3px solid BLACK;
}

</style>


<table style="border-color:#FFFFFF;font-family:Times New Roman" align="center" width="80%">
	<tr>
		<td align="center">
			<img width="130px" height="70px" src="images/logo phssb.png" />
		</td>
		<td >
			<b>
			PERUMAHAN DAN HARTANAH SELANGOR SDN BHD</b>
			<BR/>
			<div class="div1"><small>RESIT RASMI</small><small STYLE="float:right">NO. SIRI :  <?php echo $receipt_no ?></small></div></b>
			</center>
		</td>
	</tr>
</table>

<table class="receipt" align="center" style="border:none;border-color:#999999;font-size:12px;" background="images/phssbwatermark.png" width="80%" cellpadding="2">
	<tr>
		<td width="100">NAMA</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
			<?php echo strtoupper($tenant_name) ?>
			</font>
		</td>
	</tr>
	<tr>
		<td>NO. UNIT</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
				<?php echo strtoupper($unit_no) ?> , <?php echo strtoupper($location_name) ?>  
			</font>
		</td>
	</tr>
	<tr>
		<td>KADAR SEWA</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
				RM<?php echo number_format($rental_rate,2) ?>  
			</font>
		</td>
	</tr>
	<!-- <tr>
		<td>KETERANGAN</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
				<?php echo strtoupper($description)?>
			</font>
		</td>
	</tr> -->
	<tr>
		<td valign="top">BAYARAN</td>
		<td><table style="font-family: Courier New, Courier, monospace; font-size:12px;  border: 1px solid black; border-collapse: collapse;">
				<tr>
					<tH style="border: 1px solid black; border-collapse: collapse;">PERKARA</tH>
					<tH>RM</tH>
				</tr>
				<tr style="border: 1px solid black; border-collapse: collapse;">
					<td style="border: 1px solid black; border-collapse: collapse;">Yuran Pelbagai</td>
					<td align="right"> <?php echo number_format($yp_paid,2,".",","); ?></td>
				</tr>
				<tr style="border: 1px solid black; border-collapse: collapse;">
					<td style="border: 1px solid black; border-collapse: collapse;">SST Charges From Yuran Pelbagai</td>
					<td align="right"> <?php echo number_format($sst_paid,2,".",","); ?></td>
				</tr>
				<tr style="border: 1px solid black; border-collapse: collapse;">
					<td style="border: 1px solid black; border-collapse: collapse;">Stamping Charges</td>
					<td align="right"> <?php echo number_format($stamping_paid,2,".",","); ?></td>
				</tr>
				<tr style="border: 1px solid black; border-collapse: collapse;">
					<TH style="border: 1px solid black; border-collapse: collapse;">JUMLAH BAYARAN </TH>
					<TH align="right"> <?php echo number_format($total_deposit_others,2,".",","); ?></TH>
				</tr>
			</table>
			
			
		</td>
	</tr>
	<tr>
		<td>TARIKH</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
				<?php echo date("d/m/Y g:i A",strtotime($created_at)) ?>
			</font>
		</td>
	</tr>
	
	<tr>
		<td>PIC</td>
		<td>: 
			<font face="Courier New, Courier, monospace">
				 <?php echo ucfirst($PICname)?>
			</font>
		</td>
	</tr>
</table>