forked from bruno/pabx-app
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.
69 lines
4.2 KiB
69 lines
4.2 KiB
{capture name="pdf" assign="pdf"} |
|
<table cellpadding="2" width="800" class="grid" border="1"> |
|
<thead> |
|
<tr > |
|
<th colspan="11" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000"> Tarifação por Ramal</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="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="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> |
|
<th class="th headColun" data-bgcolor="#ddd" data-color="#000"><span title="Transfêrencia"> </span></th> |
|
</tr> |
|
</thead> |
|
<tbody>{$linhas}</tbody> |
|
</table> |
|
<table cellpadding="2" width="800" class="grid" border="1"> |
|
<thead> |
|
<tr > |
|
<th colspan="4" align="center">Agrupado Empresa/Departamento {if $imp}<a href="javaScript:NovaJanela('index.php?idProg=209&aresumo=1', 'TarifadorRamal', '720', '700', 'scrollbars=YES');"><img id="imgRel" src="imgSite/print.gif" alt="Clique aqui para imprimir!" width="24" height="24" border="0"></a>{else} {/if}</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> |
|
</table> |
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"> |
|
<tr> |
|
<td>[ # - Tarifa Zero ] [ ** - Franquia ] [ * - Franquia Parcial]</td> |
|
</tr> |
|
</table> |
|
{/capture} |
|
{capture name="display"} |
|
<table class="filtro" border="0" cellspacing="0" cellpadding="1"> |
|
<tr> |
|
<td>Empresa</td> |
|
<td>Departamento</td> |
|
<td>Data Inicial </td> |
|
<td>Data Final</td> |
|
<td nowrap>Ramal </td> |
|
<td> </td> |
|
<td> </td> |
|
</tr> |
|
<tr> |
|
<td>{$empresas}</td> |
|
<td> <span id="deptos">{$departamentos}</span></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="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 align="center" valign="middle">{$pdfLink}</td> |
|
<td> </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ção dos Relatórios" width="16" height="16" border="0" align="absmiddle" title="Configura a Ordenação dos Relatórios" /></a></td>--> |
|
</tr> |
|
</table> |
|
{include file="printHeader.tpl"} |
|
{$smarty.capture.pdf} |
|
{/capture} |
|
|
|
|