<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?=getCss()?>cetak.css" rel="stylesheet" type="text/css" />
</head>

<body>

<h3><?=$this->title?></h3>
<br />

<table cellpadding="0" cellspacing="0" border="1" width="100%" >
	<thead>
		<tr>
			<th>No.</th>
            <th>Outgoing No.</th>
            <th>Outgoing Date</th>
			<th>Type</th>
            <th>Receiver</th>
            <th>Currency</th>
            <th>Kurs</th>
            <th>Jenis BC</th>
            <th>No. Dok. Pabean</th>
            <th>Tgl. Dok. Pabean</th>
            <th>Item Code</th>
            <th>Item Description</th>
            <th>UOM</th>
            <th>Qty.</th>
            <th>Price</th>
            <th>Amount</th>
		</tr>
	</thead>	
	<tbody>	
		<?php if(count($rs['rows']) == 0){?>
			<tr>
				<td colspan="16">
					No records found.
				</td>
			</tr>
		<?php 	} else {
		$no = 1;	
		foreach($rs['rows'] as $r){
		?>					
	            <tr>
					<td align="center"><?=$no++?></td>
					<td><?=$r->matout_no?></td>
					<td><?=$r->Fmatout_date?></td>
                    <td><?=$r->matout_name?></td>
                    <td><?=$r->NmPrshn?></td>    
                    <td><?=$r->currency?></td>
                    <td><?=$r->kurs?></td>   
                    <td><?=$r->NmJnsDok?></td>
                    <td><?=$r->NoDaf?></td>
                    <td><?=$r->FTgDaf?></td>
                    <td><?=$r->mat_id?></td>
                    <td><?=$r->NmBarang?></td>
                    <td><?=$r->Sat?></td>
                    <td align="right"><?=$r->Fqty?></td>
                    <td align="right"><?=$r->Fprice?></td>
                    <td align="right"><?=$r->amount?></td>
                 </tr>
		
		<?php } }?>
			
     </tbody>
</table>

</body>
</html>