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.
70 lines
3.8 KiB
70 lines
3.8 KiB
{capture name="display"} |
|
<table width="99%" align="center" border="0" cellspacing="0" cellpadding="2"> |
|
<tr> |
|
<td><table class="filtro" border="0" cellspacing="0" cellpadding="1"> |
|
<tr> |
|
<td>Data Inicial </td> |
|
<td>Data Final</td> |
|
<td><input type="radio" name="tipoRel" value="1" {if $tipoRel == 1}checked="checked"{/if}>Agrupado<input type="radio" name="tipoRel" value="2" {if $tipoRel == 2}checked="checked"{/if}>Analítico</td> |
|
<td align="center" valign="middle"> </td> |
|
</tr> |
|
<tr> |
|
<td><input name="dataIni" id="dataIni" type="text" size="15" maxlength="10" value="{$dataIni}" onkeyup="formataData(this)" title="dd/mm/aaaa"></td> |
|
<td><input name="dataFim" id="dataFim" type="text" size="15" maxlength="10" value="{$dataFim}" onkeyup="formataData(this)" title="dd/mm/aaaa"></td> |
|
<td><input type="submit" style="width: 99%; text-align: center;" name="btConsulta" id="btConsulta" value="Consultar"></td> |
|
<td align="center" valign="middle">{if $imp}<a href="javaScript:NovaJanela('index.php?idProg=50', 'impForaHorio', '720', '700', 'scrollbars=YES');"><img src="imgSite/print.gif" alt="Clique aqui para imprimir!" width="24" height="24" border="0"></a>{else} {/if}</td> |
|
</tr> |
|
</table></td> |
|
</tr> |
|
<tr> |
|
<td> |
|
<table width="100%" cellpadding="2" class="grid"> |
|
<tr > |
|
<th colspan="{if $tipoRel == 2}6{else}4{/if}" align="center">Chamadas Fora do Horário </th> |
|
</tr> |
|
<tr align="center"> |
|
<th align="left" nowrap class="headColun">Data</th> |
|
<th align="left" nowrap class="headColun">Origem</th> |
|
{if $tipoRel == 2} |
|
<th align="left" nowrap class="headColun">Destino</th> |
|
<th align="left" nowrap class="headColun">Serviço</th> |
|
<th align="left" nowrap class="headColun">Atendimento</th> |
|
{/if} |
|
|
|
{if $tipoRel == 1} |
|
<th width="100" align="right" nowrap class="headColun">Qtde</th> |
|
{/if} |
|
<th width="100" align="center">Duração</th> |
|
</tr> |
|
{$linhas} |
|
</table> |
|
</td> |
|
</tr> |
|
{if $tipoRel == 2} |
|
<tr> |
|
<td> |
|
<table width="100%" cellpadding="2" class="grid"> |
|
<tr> |
|
<th colspan="5" align="center">Resumo das Chamadas Fora do Horário{if $imp}<a href="javaScript:NovaJanela('index.php?idProg=279', 'impResumoForaHorio', '720', '700', 'scrollbars=YES');"><img src="imgSite/print.gif" alt="Clique aqui para imprimir!" align="absmiddle" width="24" height="24" border="0"></a>{else} {/if}</th> |
|
</tr> |
|
<tr> |
|
<th>Destino</th> |
|
<th>Serviço</th> |
|
<th>Atendimento</th> |
|
<th width="100" align="right">Qtde</th> |
|
<th width="100" align="center">Duração</th> |
|
</tr> |
|
{$linhasResumo} |
|
</table> |
|
</td> |
|
</tr> |
|
{/if} |
|
</table> |
|
{if $erro} |
|
<table> |
|
<tr> |
|
<td>{$erro}</td> |
|
</tr> |
|
</table> |
|
{/if} |
|
{/capture}
|
|
|