<style>
    body{
        font-size: 14px;
    }
</style>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<table height="" width="100%">
<tbody>
<tr>
<td rowspan="1" colspan="2" valign="top"><img src="<?php echo base_url()?>assets/img/logo-new.png" alt="" width="150px"></td>
</tr>
<tr>
    <td width="75%"> <span style="font-size:22px;">PT. CIPTA MEDIKA INDONESIA</span></td>
    <td width="25%"> <span style="font-size:14px;">Jakarta, <?php echo tglindo($lastq[0]['tgl']) ?></span></td>
</tr>
<tr>
    <td width="50%" valign="top">
        <span style="font-size:11px;">Jl. Raya Setu Cipayung No. 32, RT. 005 RW. 04, Kel. Cilangkap - Kec. Cipayung</span><br/>
        <span style="font-size:11px;">Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13870 Indonesia</span><br/>
        <span style="font-size:11px;">Telp.: 021- 84300465, Email : cs2@ciptamedika.com </span><br/>
        <span style="font-size:11px;">www.ciptamedika.com</span><br/>
    </td>
<td width="50%"> <span style="font-size:14px;"> Kepada Yth </span><br><br/>
<?php echo GetValue('title','master_pelanggan',array('id'=>'where/'.$lastq[0]['customer'])) ?>
<br>
<span style="font-size:12px;">
<?php echo GetValue('alamat','master_pelanggan',array('id'=>'where/'.$lastq[0]['customer'])) ?>
</span>
<br><br/>
<span style="font-size:13px;"> Tlp : <?php echo GetValue('telp1','master_pelanggan',array('id'=>'where'.$lastq[0]['customer'])) ?></span><br>
</td>
</tr>
</table>
<table width='100%'>
    <tr align="center">
        <td rowspan="1" colspan="2" valign="top">
            <font size="+1"><b>SURAT JALAN</b></font><br>
        </td>
    </tr>
    <tr align="center">
        <td rowspan="1" colspan="2" valign="top">
            No : <?php echo $no_sj ?><br>
        </td>
    </tr>
    <tr>
        <td valign="top">Harap diterima dengan baik barang dibawah ini<br>
        </td>
        <td valign="top"><br>
        </td>
    </tr>
    <tr>
        <td colspan="2">
<table border="1" height="68" cellspacing="0" cellpadding="1" width="100%" >
    <tbody>
    <tr>
        <td valign="top" align="center">No<br>
        </td>
        <td valign="top" align="center">Nama Barang<br>
        </td>
        <td valign="top" align="center">Jumlah<br>
        </td>
        <td valign="top" align="center">Keterangan<br>
        </td>
    </tr>
    <?php $bb=1; foreach($isinya as $la){?>
    <tr>
        <td valign="top" align='center'><?php echo $bb ?><br>
        </td>
        <td valign="top"><?php echo GetValue('title','master_brand',array('id'=>'where/'.$la['brand'])) ?> -<?php echo GetValue('title','master_jenis_produk',array('id'=>'where/'.$la['jenis_produk'])) ?> - <?php echo GetValue('title','master_produk',array('id'=>'where/'.$la['produk'])) ?><br>
            Part Number : <?php echo $la['part_number'] ?><br/>
            Lot Number : <?php echo $la['lot_number'] ?><br/>
            Expired : <?php echo GetValue('expired','sv_stok_view',array('produk'=>'where/'.$la['produk'],'tgl'=>'where/'.$la['tgl_tiba'])) ?><br/><br/>
        </td>
        <td valign="top" align='center'><?php echo $la['total'] ?>&nbsp;<?php echo GetValue('title', 'ref_satuan',array('id'=>'where/'.$la['satuan'])) ?><br>
        </td>
        <td valign="top">PO Number : <?php echo $la['code'] ?><br>
            Date : <?php echo tglindo($la['tgl']) ?><br>
        </td>
    </tr>
    <?php $bb++; }?>
    </tbody>
</table>
    </td>
</tr>
    <tr>
        <td align="center"><br/> Penerima </td>
        <td align="center"><br/> Pengirim </td>
    </tr>
    <tr>
        <td align="center"> <br>
            <br>
            <br>
        </td>
        <td align="center"> <br>
            <br>
            <br>
        </td>
    </tr>
    <tr>
        <td align="center"> (...................................) </td>
        <td align="center"> (...................................) </td>
    </tr>
    <tr>
        <td></td>
        <td>Cross Check by</td>
    </tr>
    <tr>
        <td valign="top"><br>
        </td>
        <td valign="top"><br>
        </td>
    </tr>
    <tr>
        <td valign="top"><br>
        </td>
        <td valign="top"><br>
            <br>
            <br>
            <br>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right">(Sofian)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br>
        </td>
        <td valign="top" align="center">(Linda Ayu Lestari)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right">Coordinator Gudang <br>
        </td>
        <td valign="top" align="center">Ka. Gudang&nbsp;&nbsp;&nbsp;&nbsp;<br>
        </td>
    </tr>
    </tbody>
</table>
<br>
</body>
</html>