Location: PHPKode > projects > CoreAsset > coreasset/templates/view_asset.tpl
<html>
<title>{$title}</title>
<head>
<link href="css/style_new.css" rel="stylesheet" type="text/css">
</head>
<body>

<table width="70%" align="center" class="label1">
<tr><td colspan="3">&nbsp;</td></tr></table>
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" id="tbl_border">
<tr><td class="list_item">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="5" id="tbl_list">
    <!--<tr>
      <td width="33%" class="list_item"><strong>&nbsp;Manufacturer</strong></td>
      <td width="1%" class="list_item">:</td>
      <td width="66%" class="list_item">{$asset_manufacturer}</td>
    </tr>-->
    <tr>
      <td class="list_item"><strong>&nbsp;Model</strong></td>
      
      <td class="list_item">{$asset_nickname}</td>
    </tr>
    <tr>
      <td class="list_item"><strong>&nbsp;PO NO.</strong></td>
      
      <td class="list_item">{$po_no}</td>
    </tr>
    <tr>
      <td class="list_item"><strong>&nbsp;Price</strong></td>
      
      <td class="list_item">{$asset_price}</td>
    </tr>
    <tr>
      <td class="list_item"><strong>Vendor Name</strong></td>
      
      <td class="list_item">{$vendor_name}</td>
    </tr>
    <tr>
      <td class="list_item"><strong>Equipment</strong></td>
      
      <td class="list_item">
	  <table border="1" width="100%" bordercolor="#939393" cellpadding="0" cellspacing="0" >
	  <tr><td>
	  <table width="100%" border="0" bordercolor="#939393" align="center" cellpadding="0" cellspacing="0" id="tbl_serial">
				  {section name=i loop=$equipment_name}
				  	  <tr><td class="list_item">&nbsp;{$equipment_name[i]}&nbsp;</td>
				  	  <td class="list_item"><strong>Serial :</strong>&nbsp;</td>
				  	 <td class="list_item">{$serial_no[i]}&nbsp;</td>
					 <td class="list_item"><strong>Manufacturer :</strong>&nbsp;</td>
				  	 <td class="list_item">{$asset_manufacturer[i]}&nbsp;</td>
					 <td class="list_item"><strong>Warranty :</strong>&nbsp;</td>
				  	 <td class="list_item">{$exp_date[i]}&nbsp;</td>
					 
					 </tr>
				  {/section}
				
	 </table>
	 </td></tr>
	 </table>
	 </td>
    </tr>
    <tr>
      <td class="list_item"><strong>Decription</strong></td>
      
      <td class="list_item">{$asset_description} </td>
    </tr>
    <tr>
      <td class="list_item"><strong>Receive Date</strong></td>
      
      <td class="list_item">{$receive_date} </td>
    </tr>
    <tr>
      <td class="list_item"><strong>Issue to User</strong></td>
      
      <td class="list_item">{if $u_name==""} None {else} {$u_name} {/if}</td>
    </tr>
</table>
</td>
</tr>
</table>
<table align="center">
<tr>
      <td align="center">
          <input type="image" src="images/print.gif" name="add" onClick="window.print()" title="Click to Print">
	  <img src="images/close_btn.gif" border="0" style="cursor:pointer;" onClick="Javascript:window.close();">
	  </td>
  </tr>
</table>
</body>
</html>
Return current item: CoreAsset