  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=928 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Registration ID</td>
  <td valign=top width=778 class=formvalue><?=idstr($supplier_data['supplier_regid']);?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Supplier Name</td>
  <td valign=top width=778 class=formvalue><?=$supplier_data['supplier_name'];?>&nbsp;<a href="index.php?module=supplier&task=view&itemid=<?=$supplier_data['supplier_pkey'];?>"><img src="gfx/options/b_view.png" border=0 title="View" alt="View"></a></td>
  </tr>
  </table>

  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=928 style="border: 1px inset;">

  <tr valign=top>
  <td valign=top width=48 class=listheader>No.</td>
  <td valign=top width=120 class=listheader>Date</td>
  <td valign=top width=240 class=listheader>Officer</td>
  <td valign=top width=160 class=listheader>Status</td>
  <td valign=top width=360 class=listheader>Remarks</td>
  </tr>

  <? foreach ($approval_list as $myapproval) { ?>

    <tr valign=top>
    <td valign=top width=48 class=listnumber><?=$myapproval['recordno'];?></td>
    <td valign=top width=120 class=listcontent><?=unconverttounixslash($myapproval['approval_date']);?>&nbsp;</td>
    <td valign=top width=240 class=listcontent><?=$myapproval['approval_officername'];?>&nbsp;</td>
    <td valign=top width=160 class=listcontent>
    <? 
    if ($myapproval['approval_type']==1) { 
      echo "Recommended"; 
    } else if ($myapproval['approval_type']==2) {  
      echo "Approved"; 
    } else {
      echo "Rejected";
    } 
    ?>
    &nbsp;</td>
    <td valign=top width=360 class=listcontent><?=$myapproval['approval_remarks'];?>&nbsp;</td>
    </tr>

  <? } ?>

  </table>
