<body bgcolor=ffffff>

<table width=100%>
  <tr>
    <td width=10>&nbsp;</td>

    <td>
      <table width=100%>
        <tr>
          <td>
            <h4>
            <%company%>
        <br><%address%>
            </h4>
          </td>

          <th><img src=sql-ledger.png border=0 width=84 height=58></th>

          <td align=right>
            <h4>
            Tel: <%tel%>
        <br>Fax: <%fax%>
            </h4>
          </td>
        </tr>

        <tr>
          <th colspan=3>
	    <hr noshade><br>
            <h4>C A R T Ã O &nbsp;&nbsp; D E &nbsp;&nbsp; P O N T O</h4>
          </th>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>

    <td>
      <table width=100% callspacing=0 cellpadding=0>
        <tr valign=top>
	  <td>
	    <table>
	      <tr>
		<th align=left>Funcionário</th>
		<td><%employee%></td>
	      </tr>
	      <tr>
		<th align=left>ID</th>
		<td><%employee_id%></td>
	      </tr>
	    </table>
	  </td>
   
	  <td align=right>
	    <table>
	      <tr>
		<th align=left nowrap>Matrícula</th>
		<td><%id%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Data trabalhada</th>
		<td><%transdate%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Entrada</th>
		<td><%checkedin%></td>
	      </tr>
              <tr>
                <th align=left>Saída</th>
		<td><%checkedout%></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Horas Trabalhadas</th>
		<td><%qty%></td>
	      </tr>
	    </table>
	  </td>
        </tr>
      </table>
    </td>
  </tr>

  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>
  
    <td>
      <table width=100%>
        <tr valign=bottom>
	  <td>
	    <table>
	      <tr valign=top>
	        <th align=left>Projeto/Serviço #</th>
		<td><%projectnumber%></td>
	      </tr>
	      <tr>
	        <th align=left>Descrição</th>
		<td><%projectdescription%></td>
	      </tr>
	      <tr valign=top>
	        <th align=left>Mão-de-Obra/Cód. Serviço</th>
		<td><%partnumber%></td>
	      </tr>
	      <tr>
	        <th align=left>Descrição</th>
		<td><%description%></td>
	      </tr>
	    </table>
	  </td>
	  <td align=right>
	    <table>
	      <tr>
	        <th align=right>Valor hora</th>
		<td><%sellprice%></td>
	      </tr>
	      <tr>
		<th align=right>Total</th>
		<td><%total%></td>
	      </tr>
	    </table>
	  </td>
	</tr>
      </table>
    </td>
  </tr>

<%if notes%>
  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>

    <td>
      <%notes%>
    </td>
  </tr>
<%end notes%>

</table>

</body>
</html>

