forked from SimplesIP/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.
64 lines
3.5 KiB
64 lines
3.5 KiB
{capture name="pdf" assign="pdf"} |
|
<table cellpadding="2" width="800" class="grid" border="1"> |
|
<tr > |
|
<th colspan="12" align="center" class="th headColun" data-bgcolor="#ddd" data-color="#000"> Tarifação por Conta</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="left" class="th headColun" data-bgcolor="#ddd" data-color="#000">Usuário</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> |
|
{$linhas} |
|
</table> |
|
<table cellpadding="2" width="800" class="grid" border="1"> |
|
<tr > |
|
<th colspan="4" align="center">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> |
|
{$linhasAgrupado} |
|
</table> |
|
<table cellpadding="2" width="800" class="grid"> |
|
<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>Conta </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" maxlength="10"></td> |
|
<td><input type="submit" name="btConsulta" id="btConsulta" value="Consultar" style="width: 133px;"></td> |
|
<td align="center" valign="middle">{$pdfLink}</td> |
|
<td> </td> |
|
</tr> |
|
</table> |
|
{include file="printHeader.tpl"} |
|
{$smarty.capture.pdf} |
|
{/capture}
|
|
|