<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>

