<body bgcolor=ffffff>

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

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

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

          <td align=right>
            <h4>
            Tel: <?lsmb tel ?>
        <br>Fax: <?lsmb 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><?lsmb employee ?></td>
	      </tr>
	      <tr>
		<th align=left>ID</th>
		<td><?lsmb employee_id ?></td>
	      </tr>
	    </table>
	  </td>
   
	  <td align=right>
	    <table>
	      <tr>
		<th align=left nowrap>Matr�cula</th>
		<td><?lsmb id ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Data trabalhada</th>
		<td><?lsmb transdate ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Entrada</th>
		<td><?lsmb checkedin ?></td>
	      </tr>
              <tr>
                <th align=left>Sa�da</th>
		<td><?lsmb checkedout ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Horas Trabalhadas</th>
		<td><?lsmb 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><?lsmb projectnumber ?></td>
	      </tr>
	      <tr>
	        <th align=left>Descri��o</th>
		<td><?lsmb projectdescription ?></td>
	      </tr>
	      <tr valign=top>
	        <th align=left>M�o-de-Obra/C�d. Servi�o</th>
		<td><?lsmb partnumber ?></td>
	      </tr>
	      <tr>
	        <th align=left>Descri��o</th>
		<td><?lsmb description ?></td>
	      </tr>
	    </table>
	  </td>
	  <td align=right>
	    <table>
	      <tr>
	        <th align=right>Valor hora</th>
		<td><?lsmb sellprice ?></td>
	      </tr>
	      <tr>
		<th align=right>Total</th>
		<td><?lsmb total ?></td>
	      </tr>
	    </table>
	  </td>
	</tr>
      </table>
    </td>
  </tr>

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

    <td>
      <?lsmb notes ?>
    </td>
  </tr>
<?lsmb end notes ?>

</table>

</body>
</html>