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.

58 lines
3.0 KiB

{capture name="pdf" assign="pdf"}
<table cellpadding="2" class="grid" border="1">
<thead>
<tr >
<th colspan="10" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Resumo por N<EFBFBD>mero de Telefone </th>
</tr>
<tr align="center">
<th nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Data/Hora</th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Origem</th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Destino</th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Status</th>
<th nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Tempo de Espera </th>
<th nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Tempo de Atendimento </th>
<th nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Tempo Abandono </th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Atendente</th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Dac</th>
<th align="left" nowrap class="th headColun" data-bgcolor="#ddd" data-color="#000">Tipo</th>
</tr>
</thead>
<tbody>{$linhas}</tbody>
</table>
{/capture}
{capture name="display"}
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><table class="filtro" border="0" cellspacing="0" cellpadding="1">
<tr>
<td>N&ordm; Telefone </td>
<td>Data Inicial </td>
<td>Data Final</td>
<td>&nbsp;</td>
<td align="center" valign="middle">&nbsp;</td>
</tr>
<tr>
<td><input name="numFone" type="text" id="numFone" value="{$numFone}" size="10"></td>
<td><input name="dataIni" id="dataIni" type="text" size="15" maxlength="10" value="{$dtIni}" onkeyup="formataData(this)" title="dd/mm/aaaa"></td>
<td><input name="dataFim" id="dataFim" type="text" size="15" maxlength="10" value="{$dtFim}" onkeyup="formataData(this)" title="dd/mm/aaaa"></td>
<td><input type="submit" name="btConsulta" id="btConsulta" value="Consultar"></td>
<td align="center" valign="middle">{$pdfLink}</td>
</tr>
</table></td>
</tr>
<tr>
<td>
{include file="printHeader.tpl"}
{$smarty.capture.pdf}
</td>
</tr>
</table>
{if $erro}
<table>
<tr>
<td>{$erro}</td>
</tr>
</table>
{/if}
{/capture}