PABX da Simples IP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.7 KiB

{capture name="pdf" assign="pdf"}
<table cellpadding="2" width="700" class="grid" border="1">
<thead>
<tr>
<th align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">&nbsp;</th>
<th colspan="2" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Entradas</th>
<th colspan="2" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Sa<EFBFBD>das</th>
<th colspan="2" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Total</th>
</tr>
<tr>
<td width="100" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Ramal</td>
<td width="80" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Qtde</td>
<td width="120" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Dura<EFBFBD><EFBFBD>o</td>
<td width="80" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Qtde</td>
<td width="120" align="center" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Dura<EFBFBD><EFBFBD>o</td>
<td width="80" align="center" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Qtde</td>
<td width="120" align="center" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Dura<EFBFBD><EFBFBD>o</td>
</tr>
</thead>
<tbody>{$linhas}</tbody>
</table>
{/capture}
{capture name="display"}
<table class="filtro" border="0" cellspacing="0" cellpadding="1">
<tr>
<td>Dispositivo</td>
<td>Data Inicial</td>
<td>Data Final</td>
<td>Ramal</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>
{$dacs}
</td>
<td><input name="dataIni" id="dataIni" type="text" size="15" maxlength="10" value="{$dataIni}"
title="dd/mm/aaaa"></td>
<td><input name="dataFim" id="dataFim" type="text" size="15" maxlength="10" value="{$dataFim}"
title="dd/mm/aaaa"></td>
<td><input name="ramal" type="text" id="ramal" value="{$ramal}" size="12"></td>
<td><input type="submit" name="btConsulta" id="btConsulta" value="Consultar" style="width: 133px;">
</td>
<td>{$pdfLink}</td>
</tr>
</table>
{include file="printHeader.tpl"}
{$smarty.capture.pdf}
<table align="left" class="{if $erro}displayErros{else}displayMsg{/if}">
<tr>
<td>{$msg}</td>
</tr>
</table>
{/capture}