<style type="text/css" media="print">
.no-print		{ display:none; }
</style>
<script language="Javascript1.2">
  <!--
  function printpage() {
  window.print();
  }
  //-->
</script>

<input type="button" class="no-print" value="Print this Page" onclick="window.print();">

<table width="863" border="0" cellpadding="1" cellspacing="1">
  <tr> 
    <td width="529" rowspan="5"><img src="<?php echo $this->config->item('base_url');?>/etc/images/wgilogo.png" width="516" height="58" /></td>
    <td width="80" height="28">NO. PO</td>
    <td width="3">:</td>
    <td width="238"><?php echo $txt_ebeln;?></td>
  </tr>
  <tr>
    <td>NO. PR</td>
    <td>:</td>
    <td><?php echo $txt_pr;?></td>
  </tr>
  <tr>
    <td>NO. MIGO</td>
    <td>:</td>
    <td><?php echo $txt_migo;?></td>
  </tr>
  <tr>
    <td>DATE.</td>
    <td>:</td>
    <td><?php echo $txt_adddate; ?></td>
  </tr>
  <tr> 
    <td>VENDOR</td>
    <td>:</td>
    <td><?php echo $txt_vendor; ?></td>
  </tr>
  <tr>
    <td colspan="4"><center>
      <h1>PURCHASE ORDER</h1>
    <h3>( <?php echo $txt_po_typ; ?> )</h3></center></td>
  </tr>
  <tr>
    <td colspan="4">Branch : <?php echo $txt_cabname; ?></td>
  </tr>
  <tr>
    <td height="46" colspan="4"><table width="856" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
      <tr>
        <td width="43" height="25" align="center">No.</td>
        <td width="290" align="center">Name / Specification of Goods</td>
        <td width="201" align="center">Quantity</td>
        <td width="62" align="center">Uom</td>
        <td width="103" align="center">Unit Price</td>
        <td width="129" align="center">Amount</td>
      </tr>
      <tr>
        <td>1.</td>
        <td>R101 - Used oil feedstock</td>
        <td align="center"><?php echo $txt_qty; ?></td>
        <td align="center">L</td>
        <td align="right"><?php echo $txt_net_price; ?></td>
        <td align="right"><?php echo $txt_total; ?></td>
      </tr>
      <tr>
        <td height="23">&nbsp;</td>
        <td>&nbsp;</td>
        <td colspan="3" align="right">ROUNDING DISCOUNT</td>
        <td align="right"><?php echo $txt_disc; ?></td>
      </tr>
      <tr>
        <td height="23">&nbsp;</td>
        <td>&nbsp;</td>
        <td colspan="3" align="right">PPN</td>
        <td align="right"><?php echo $txt_ppn; ?></td>
      </tr>
      <tr>
        <td height="23">&nbsp;</td>
        <td>&nbsp;</td>
        <td colspan="3" align="right">TOTAL</td>
        <td align="right"><?php echo $txt_total_all; ?></td>
      </tr>
      <tr>
        <td height="28" colspan="2" align="right">Says :</td>
        <td colspan="4"># <?php echo $txt_terbilang; ?> #</td>
      </tr>
      <tr>
        <td colspan="6"><table width="854" height="138" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="93" height="26" align="center">Create By</td>
            <td width="159" align="center">App Branch Mgr</td>
            <td width="158" align="center">Approve Adm Mgr</td>
            <td width="129" align="center">GM Reflog</td>
            
          </tr>
          <tr>
            <td align="center" valign="bottom"><?php echo strtoupper($txt_addby); ?></td>
            <td align="center" valign="bottom"><?php echo strtoupper($this->session->userdata('pic')); ?></td>
            <td align="center" valign="bottom">Sugeng S</td>
            <td align="center" valign="bottom">Syahruddin</td>
             </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
