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.
 
 
 
 
 
 

98 lines
5.0 KiB

{capture name="pdf" assign="pdf"}
<table width="800" border="1" cellpadding="2" cellspacing="0" class="grid">
<thead>
<tr style="height:30px;">
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Empresa</th>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Depto</th>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Operadora</th>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Tipo</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Ramal</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Conta</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Destino</th>
<th align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Data</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Duração</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Valor</th>
<th class="th headColun" data-bgcolor="#ddd" data-color="#000">&nbsp;</th>
</tr>
</thead>
<tbody>{$linhas}</tbody>
</table>
<div class="clearfix h10"></div>
<table border="1" cellpadding="2" cellspacing="0" width="800" class="grid">
<thead>
<tr>
<th colspan="4" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Agrupado Empresa/Departamento</th>
</tr>
<tr>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Empresa</th>
<th align="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Depto</th>
<th align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000">Duração</th>
<th align="right" class="th headColun" data-bgcolor="#ddd" data-color="#000">Valor</th>
</tr>
</thead>
<tbody>
{$linhasAgrupado}
</tbody>
<tfoot>
<tr>
<td colspan="4">[ # - Tarifa Zero ] [ ** - Franquia ] [ * - Franquia Parcial ]</td>
</tr>
</tfoot>
</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>Contrato</td>
<td>Empresa</td>
<td>Departamento</td>
<td>Ano</td>
<td>M&ecirc;s</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>{$contratos}</td>
<td>{$empresas}</td>
<td> <span id="deptos">{$departamentos}</span></td>
<td>{$anos}</td>
<td>{$meses}</td>
<td><input type="submit" name="btConsulta" id="btConsulta" value="Consultar" style="width: 133px;"></td>
<td align="center" valign="middle">{$pdfLink}</td>
<td>&nbsp;</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>-->
</tr>
</table></td>
</tr>
</table>
<div id="pdfContent">
{include file="printHeader.tpl"}
<div class="clearfix h10"></div>
<table width="800" border="1" cellpadding="2" cellspacing="0" class="grid">
<tr>
<td colspan="4" align="left" class="th headColun">FRANQUIA</td>
</tr>
<tr>
<td class="th headColun" align="left">Tipo</td>
<td colspan="3">{$tipoFranquia}</td>
</tr>
<tr>
<td class="th headColun" align="left">Fixo</td>
<td>{$franquia}</td>
<td class="th headColun">Saldo</td>
<td>{$franquiaSaldo}</td>
</tr>
<tr>
<td class="th headColun" align="left">Móvel</td>
<td>{$franquiaMovel}</td>
<td class="th headColun">Saldo</td>
<td>{$franquiaMovelSaldo}</td>
</tr>
</table>
<div class="clearfix h10"></div>
{$smarty.capture.pdf}
</div>
{/capture}