Esempio n. 1
0
if (!empty($list)) {
    ?>
	<?php 
    $no = 1;
    foreach ($list as $key) {
        ?>
	   <tr id='tr_<?php 
        echo $no;
        ?>
'>
	   	  <td><?php 
        echo $key->no_resi;
        ?>
</td>	
	   	  <td><?php 
        echo dd_mm_yyyy($key->tgl_kirim);
        ?>
</td>	
	   	  <td><?php 
        echo $key->nama_pengirim;
        ?>
</td>	
	   	  <td><?php 
        echo $key->alamat_pengirim;
        ?>
</td>	
	   	  <td><?php 
        echo $key->nama_penerima;
        ?>
</td>	
	   	  <td><?php 
?>
</td>
	</tr>
	<tr>
		<td width='150'>Keterangan</td>
		<td width='5'>:</td>
		<td><?php 
echo $info->keterangan;
?>
</td>
	</tr>
	<tr>
		<td width='150'>Tgl. Terima</td>
		<td width='5'>:</td>
		<td><?php 
echo $info->tgl_terima == '0000-00-00' ? 'BELUM DITERIMA' : dd_mm_yyyy($info->tgl_terima);
?>
</td>
	</tr>
	<tr>
		<td width='150'>Jam Terima</td>
		<td width='5'>:</td>
		<td><?php 
echo $info->jam_terima == '00:00:00' ? 'BELUM DITERIMA' : $info->jam_terima;
?>
</td>
	</tr>
	<tr>
		<td width='150'>Cabang Penerima</td>
		<td width='5'>:</td>
		<td><?php