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.
 
 
 
 
 
 

60 lines
3.4 KiB

{capture name="pdf" assign="pdf"}
<table cellpadding="2" width="800" class="grid" border="1">
<thead>
<tr >
<th colspan="4" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Operação</th>
</tr>
<tr>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Ramal{$src}</th>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Destino{$dst}</th>
<th align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Data{$calldate}</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Duração{$billsec}</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>Dispositivo</td>
<td>Data Inicial </td>
<td>Data Final</td>
<td>Ramal</td>
<td>Destino</td>
<td>Dura&ccedil;&atilde;o</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>{$sites}</td>
<td><input name="dataIni" id="dataIni" type="text" size="15" maxlength="10" value="{$dtIni}" title="dd/mm/aaaa"></td>
<td><input name="dataFim" id="dataFim" type="text" size="15" maxlength="10" value="{$dtFim}" title="dd/mm/aaaa"></td>
<td><input name="ramalSrc" type="text" id="ramalSrc" value="{$ramalSrc}" size="15"></td>
<td><input name="ramalDst" type="text" id="ramalDst" value="{$ramalDst}" size="15"></td>
<td><div class="geral"> <input name="rbDuracao" class="clean" type="radio" value="1" {if $duracao == 1}checked {/if}>
Todos
<input name="rbDuracao" class="clean" type="radio" value="2" {if $duracao == 2}checked {/if}>
maior que(&gt;0)
<input name="rbDuracao" class="clean" type="radio" value="3" {if $duracao == 3}checked {/if}>
Igual(
= 0) </div></td>
<td><input type="submit" name="btConsulta" id="btConsulta" value="Consultar" style="width: 133px;"></td>
<td><a href="javaScript:NovaJanela('index.php?idProg=162&idRel={$codRel}', 'ordenaRelatorios', '550', '220', 'scrollbars=no');"><img src="imgSite/configure16.png" alt="Configura a Ordena&ccedil;&atilde;o dos Relat&oacute;rios" width="16" height="16" border="0" align="absmiddle" title="Configura a Ordena&ccedil;&atilde;o dos Relat&oacute;rios" /></a></td>
<td align="center" valign="middle">{$pdfLink}</td>
</tr>
</table></td>
</tr>
<tr>
<td>
{include file="printHeader.tpl"}
{$smarty.capture.pdf}
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
{/capture}