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.
 
 
 
 
 
 

348 lines
22 KiB

{capture name="subDisplay"}
<table width="100%" class="formCad" border="0" cellspacing="0" cellpadding="2">
<input name="prm_url_asterisk" type="hidden" id="prm_url_asterisk" value="{$prm_url_asterisk}">
<!-- <tr>
<th align="left">Url Api</th>
<td align="left"><input name="prm_url_asterisk" type="text" id="prm_url_asterisk" value="{$prm_url_asterisk}" size="69" maxlength="255">
<input name="btTeste" type="button" id="btTeste" value="Testar" onClick="TestaAsterisk();"></td>
</tr>-->
<tr>
<th align="left">Nome da Empresa
<label for="prm_pausa_grupo"></label></th>
<td align="left"><input name="prm_slogan" type="text" id="prm_slogan" value="{$prm_slogan}" size="80" maxlength="255"></td>
</tr>
{if !$isAdmin}
<input name="prm_path_audio" type="hidden" id="prm_path_audio" value="{$prm_path_audio}">
<input name="prm_path_arq_agente" type="hidden" id="prm_path_arq_agente" value="{$prm_path_arq_agente}">
{else}
<tr>
<th align="left">Caminho &Aacute;udio </th>
<td align="left"><input name="prm_path_audio" type="text" id="prm_path_audio" value="{$prm_path_audio}" size="80" maxlength="255"> </td>
</tr>
<tr>
<th align="left">Caminho Agente </th>
<td align="left"><input name="prm_path_arq_agente" type="text" id="prm_path_arq_agente" value="{$prm_path_arq_agente}" size="80" maxlength="255"></td>
</tr>
{/if}
<tr>
<th align="left">Logomarca do Relat&oacute;rio </th>
<td align="left"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td><input name="prm_logo_relatorio" type="text" id="prm_logo_relatorio" value="{$prm_logo_relatorio}" size="24" maxlength="32" /></td>
<td><input name="logoRelatorio" type="file" id="logoRelatorio" size="30" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<th align="left" nowrap>Slogan nos relat<EFBFBD>rios</th>
<td align="left"><input name="prm_relatorio_head" type="text" id="prm_relatorio_head" value="{$prm_relatorio_head}" size="80" maxlength="255"></td>
</tr>
<tr>
<th align="left">Rodap<EFBFBD> dos relat<EFBFBD>rios</th>
<td align="left"><input name="prm_relatorio_linha1" type="text" id="prm_relatorio_linha1" value="{$prm_relatorio_linha1}" size="80" maxlength="255"></td>
</tr>
<input name="prm_msg_senha_def" type="hidden" id="prm_msg_senha_def" value="{$prm_msg_senha_def}">
<input name="prm_msg_senha_exp" type="hidden" id="prm_msg_senha_exp" value="{$prm_msg_senha_exp}">
<!--<tr>
<th align="left">Msg Senha Padr&atilde;o </th>
<td align="left"><input name="prm_msg_senha_def" type="text" id="prm_msg_senha_def" value="{$prm_msg_senha_def}" size="80" maxlength="255"></td>
</tr>
<tr>
<th align="left">Mensagem Senha Expirada </th>
<td align="left"><input name="prm_msg_senha_exp" type="text" id="prm_msg_senha_exp" value="{$prm_msg_senha_exp}" size="80" maxlength="255"></td>
</tr>-->
<tr>
<th align="left">DDD Local </th>
<td align="left"><input name="prm_ddd_padrao" type="text" id="prm_ddd_padrao" value="{$prm_ddd_padrao}" size="80" maxlength="2"></td>
</tr>
<tr>
<th align="left">Munic&iacute;pio Local </th>
<td align="left"><input name="prm_mun_padrao" type="text" id="prm_mun_padrao" value="{$prm_mun_padrao}" size="80" maxlength="50"></td>
</tr>
<tr>
<th align="left">UF Local </th>
<td align="left"><input name="prm_uf_padrao" type="text" id="prm_uf_padrao" value="{$prm_uf_padrao}" size="80" maxlength="2"> </td>
</tr>
{if !$isAdmin}
<input name="prm_cadastro_atendidos" type="hidden" id="prm_cadastro_atendidos" value="{$prm_cadastro_atendidos}">
{else}
<tr>
<th align="left">Nome para Cadastro de Cliente </th>
<td align="left"><input name="prm_cadastro_atendidos" type="text" id="prm_cadastro_atendidos" value="{$prm_cadastro_atendidos}" size="80" maxlength="50"></td>
</tr>
{/if}
<tr>
<th align="left">Conta/Senha</th>
<td align="left">
<table style="width: 100%" class="formCad" border="1" cellspacing="0" cellpadding="2">
<tr>
<th align="center">Qtde Digitos Permitdos Para Conta</th>
<th align="center">Qtde Digitos Permitidos Senha</th>
<th align="center">Gera<EFBFBD><EFBFBD>o da Conta</th>
</tr>
<tr>
<td align="center"><input name="prm_digitos_conta" type="text" id="prm_digitos_conta" value="{$prm_digitos_conta}" size="5" maxlength="2"></td>
<td align="center"><input name="prm_digitos_senha" type="text" id="prm_digitos_senha" value="{$prm_digitos_senha}" size="5" maxlength="2"></td>
<td align="center"><input name="prm_gera_conta" type="radio" value="1" {if $prm_gera_conta}checked{/if}> Autom<EFBFBD>tica <input name="prm_gera_conta" type="radio" value="0" {if !$prm_gera_conta}checked{/if}>Manual</td>
</tr>
<input type="hidden" name="prm_contasenha_sinc" id="prm_contasenha_sinc_nao" value="0" >
<input type="hidden" name="prm_contasenha_master" id="prm_contasenha_master_nao" value="0">
<!-- <tr>
<th align="center">Sincronizar</th>
<th align="center">Servidor Master</th>
<th align="center">Servidores</th>
</tr>
<tr>
<td align="center">
<input type="radio" name="prm_contasenha_sinc" id="prm_contasenha_sinc_nao" value="0" {if !$prm_contasenha_sinc}checked{/if} {if !$prm_contasenha_master}disabled="disabled"{/if} />N<EFBFBD>o
<input name="prm_contasenha_sinc" type="radio" id="prm_contasenha_sinc_sim" value="1" {if $prm_contasenha_sinc}checked{/if} {if !$prm_contasenha_master}disabled="disabled"{/if} />Sim
</td>
<td align="center">
<input type="radio" name="prm_contasenha_master" id="prm_contasenha_master_nao" value="0" {if !$prm_contasenha_master}checked{/if} {if !$prm_contasenha_master}disabled="disabled"{/if} />N<EFBFBD>o
<input name="prm_contasenha_master" type="radio" id="prm_contasenha_master_sim" value="1" {if $prm_contasenha_master}checked{/if} {if !$prm_contasenha_master}disabled="disabled"{/if} />Sim
</td>
<td align="center">
{if !$prm_contasenha_master}
<img src="imgSite/dacOn.png" alt="Pausa" width="16" height="16" align="absmiddle" border="0"/>Configurar
{else}
<a href="javaScript:NovaJanela('index.php?idProg=195', 'Config Sinc', '630', '280', 'scrollbars=YES');" style="font-size:12px"><img src="imgSite/dacOn.png" alt="Pausa" width="16" height="16" align="absmiddle" border="0"/>Configurar</a>
{/if}
</td>
</tr> -->
</table>
</td>
</tr>
<tr>
<th align="left">Usar Pausa por grupo</th>
<td align="left"><label for="prm_atende_auto">
<input type="radio" name="prm_pausa_grupo" id="radio" value="1" {if $prm_pausa_grupo}checked{/if} />
Sim
<input name="prm_pausa_grupo" type="radio" id="radio2" value="0" {if !$prm_pausa_grupo}checked{/if} />
N&atilde;o
</label></td>
</tr>
<tr>
<th align="left">Pausa Autom&aacute;tica</th>
<td align="left"><a href="javaScript:NovaJanela('index.php?idProg=148', 'PausaAutoDac', '630', '280', 'scrollbars=YES');" style="font-size:12px"><img src="imgSite/history.png" alt="Pausa" width="16" height="16" align="absmiddle" border="0"/>Clique para configurar</a>!</td>
</tr>
<tr>
<th align="left">Modo de Atendimento(Dac)</th>
<td align="left">
<label><input name="prm_atende_auto" type="checkbox" id="prm_atende_auto" value="1" {if $prm_atende_auto}checked{/if} />Autom&aacute;tico</label>
<label><input name="prm_atende_manual" type="checkbox" id="prm_atende_manual" value="1" {if $prm_atende_manual}checked{/if} />
Manual </label>
</td>
</tr>
<tr>
<th align="left" nowrap="nowrap">Modo de Atendimento Prefer&ecirc;ncial(Dac)</th>
<td align="left"><label>
<input type="radio" name="prm_atende_preferencial" id="radio3" value="0" {if !$prm_atende_preferencial}checked{/if} />Autom&aacute;tico
</label>
<label>
<input name="prm_atende_preferencial" type="radio" id="radio4" value="1" {if $prm_atende_preferencial}checked{/if} />Manual
</label></td>
</tr>
<tr>
<th align="left">Prefixo Senha Ramal</th>
<td align="left"><input name="prm_prefixo_sennha_ramal" type="text" id="prm_prefixo_sennha_ramal" value="{$prm_prefixo_sennha_ramal}" size="30" maxlength="32" /></td>
</tr>
<tr>
<th align="left">Ocultar Documentos (LGPD) *** </th>
<td align="left">
<input name="prm_ocultar_documento" id="prm_ocultar_telefone" type="text" size="3" maxlength="2" value="{$prm_ocultar_documento}" title="Informe a quantidade de posi<EFBFBD><EFBFBD>es a serem ocultadas do documento. Ex: ***.***.**9-10"/>(Quantidade de posi<EFBFBD><EFBFBD>es para ocultar *Apenas n<EFBFBD>meros)
</td>
</tr>
<tr>
<th align="left">Ocultar Telefone (LGPD) *** </th>
<td align="left">
<input name="prm_ocultar_telefone" id="prm_ocultar_telefone" type="text" size="3" maxlength="2" value="{$prm_ocultar_telefone}" title="Informe a quantidade de posi<EFBFBD><EFBFBD>es a serem ocultadas do telefone. Ex: ******8280 (6)"/>(Quantidade de posi<EFBFBD><EFBFBD>es para ocultar *Apenas n<EFBFBD>meros)
</td>
</tr>
<tr>
<th align="left">Ocultar E-mail (LGPD) *** </th>
<td align="left">
<input name="prm_ocultar_email" id="prm_ocultar_email" type="text" size="3" maxlength="2" value="{$prm_ocultar_email}" title="Informe a quantidade de posi<EFBFBD><EFBFBD>es a serem ocultadas do email. Ex: *****sip@gmail.com (5)"/>(Quantidade de posi<EFBFBD><EFBFBD>es para ocultar *Apenas n<EFBFBD>meros)
</td>
</tr>
</tr>
{if !$isAdmin}
<input type="hidden" name="prm_modulo_pesquisa" id="radio5" value="{$prm_modulo_pesquisa}" />
<input type="hidden" name="prm_portabilidade" id="prm_portabilidadenao" value="{$prm_portabilidade}" />
<input name="prm_tarifacao" type="hidden" id="radio7" value="{$prm_tarifacao}" />
<input name="prm_prepago" type="hidden" id="radio9" value="{$prm_prepago}" />
<input name="prm_use_discador" type="hidden" id="prm_discador" value="{$prm_use_discador}" />
<input name="prm_ativa_complemento_campanha" type="hidden" id="prm_discador" value="{$prm_ativa_complemento_campanha}" />
{else}
<tr>
<th align="left">Inclui M<EFBFBD>dulo de Pesquisa</th>
<td align="left"><label>
<input type="radio" name="prm_modulo_pesquisa" id="radio5" value="0" {if !$prm_modulo_pesquisa}checked{/if} />N<EFBFBD>o
</label>
<label>
<input name="prm_modulo_pesquisa" type="radio" id="radio6" value="1" {if $prm_modulo_pesquisa}checked{/if} />Sim
</label></td>
</tr>
<tr>
<th align="left">Habilita Portabilidade</th>
<td align="left">
<input type="radio" name="prm_portabilidade" id="prm_portabilidadenao" value="0" {if !$prm_portabilidade}checked{/if} />N<EFBFBD>o
</label>
<label>
<input name="prm_portabilidade" type="radio" id="prm_portabilidadesim" value="1" {if $prm_portabilidade}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Habilita Tarifa&ccedil;&atilde;o</th>
<td align="left">
<input name="prm_tarifacao" type="radio" id="radio7" value="0" {if !$prm_tarifacao}checked{/if} />N&atilde;o
<input type="radio" name="prm_tarifacao" id="radio8" value="1" {if $prm_tarifacao}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Habilita Pr&eacute;-pago</th>
<td align="left">
<input name="prm_prepago" type="radio" id="rm_prepagonao" value="0" {if !$prm_prepago}checked{/if} />N&atilde;o
<input type="radio" name="prm_prepago" id="rm_prepagosim" value="1" {if $prm_prepago}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Habilita Discador</th>
<td align="left">
<input name="prm_use_discador" type="radio" id="prm_use_discadornao" value="0" {if !$prm_use_discador}checked{/if} />N&atilde;o
<input type="radio" name="prm_use_discador" id="prm_use_discadorsim" value="1" {if $prm_use_discador}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Ativa Complemento Campanha</th>
<td align="left">
<input name="prm_ativa_complemento_campanha" type="radio" id="prm_ativa_complemento_campanhanao" value="0" {if !$prm_ativa_complemento_campanha}checked{/if} />N&atilde;o
<input type="radio" name="prm_ativa_complemento_campanha" id="prm_ativa_complemento_campanhasim" value="1" {if $prm_ativa_complemento_campanha}checked{/if} />Sim
</td>
</tr>
{/if}
<tr>
<th align="left">Tempo da Sess<EFBFBD>o</th>
<td align="left"><input name="prm_tempo_sessao" type="text" id="prm_tempo_sessao" value="{$prm_tempo_sessao}" size="10" maxlength="4" /></td>
</tr>
<tr>
<th align="left">Registros por Pagina</th>
<td align="left"><input name="prm_registro_pagina" type="text" id="prm_registro_pagina" value="{$prm_registro_pagina}" size="10" maxlength="2" /></td>
</tr>
<tr>
<th align="left">M<EFBFBD>ximo Dias Relat<EFBFBD>rio</th>
<td align="left"><input name="prm_max_dias_relatorio" type="text" id="prm_max_dias_relatorio" value="{$prm_max_dias_relatorio}" size="10" maxlength="3" /></td>
</tr>
{if !$isAdmin}
<input type="hidden" name="prm_use_vendas" id="prm_use_vendas" value="{$prm_use_vendas}" />
<input type="hidden" name="prm_nome_vendas" id="prm_nome_vendas" value="{$prm_nome_vendas}"/>
<input type="hidden" name="prm_exige_proto_vendas" id="prm_nome_vendas" value="{$prm_exige_proto_vendas}"/>
<input type="hidden" name="prm_bloqueio" id="prm_bloqueio" value="{$prm_bloqueio}"/>
<input type="hidden" name="prm_bloqueio_data" value="{$prm_bloqueio_data}"/>
<input type="hidden" name="prm_max_licenca" id="prm_max_licenca" value="{$prm_max_licenca}" />
<input type="hidden" name="prm_max_licenca_fixo" id="prm_max_licenca_fixo" value="{$prm_max_licenca_fixo}" />
<input type="hidden" name="prm_max_ramal" id="prm_max_ramal" value="{$prm_max_ramal}" />
{else}
<tr>
<th align="left">Habilita M<EFBFBD>dulo de Vendas</th>
<td align="left">
<input type="radio" name="prm_use_vendas" id="prm_use_vendas_sim" value="0" {if !$prm_use_vendas}checked{/if} />N&atilde;o
<input type="radio" name="prm_use_vendas" id="prm_use_vendas_nao" value="1" {if $prm_use_vendas}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Exige Protocolo de Vendas</th>
<td align="left">
<input type="radio" name="prm_exige_proto_vendas" id="prm_exige_proto_vendas_sim" value="0" {if !$prm_exige_proto_vendas}checked{/if} />N&atilde;o
<input type="radio" name="prm_exige_proto_vendas" id="prm_exige_proto_vendas_nao" value="1" {if $prm_exige_proto_vendas}checked{/if} />Sim
</td>
</tr>
<tr>
<th align="left">Menu Vendas</th>
<td align="left">
<input name="prm_nome_vendas" type="text" id="prm_nome_vendas" value="{$prm_nome_vendas}" size="20" maxlength="10" />
</td>
</tr>
<tr>
<th align="left">Licen<EFBFBD>a de P.A.</th>
<td align="left"><input name="prm_max_licenca" type="text" id="prm_max_licenca" value="{$prm_max_licenca}" size="10" maxlength="3" readonly title="N<EFBFBD>o edit<EFBFBD>vel"/></td>
</tr>
<tr>
<th align="left">Licen<EFBFBD>a de P.A Fixo</th>
<td align="left"><input name="prm_max_licenca_fixo" type="text" id="prm_max_licenca_fixo" value="{$prm_max_licenca_fixo}" size="10" maxlength="3" readonly title="N<EFBFBD>o edit<EFBFBD>vel"/></td>
</tr>
<tr>
<th align="left">Licen<EFBFBD>a de Ramais</th>
<td align="left"><input name="prm_max_ramal" type="text" id="prm_max_ramal" value="{$prm_max_ramal}" size="10" maxlength="4" readonly title="N<EFBFBD>o edit<EFBFBD>vel"/></td>
</tr>
<tr>
<th align="left">Habilitar Normaliza<EFBFBD><EFBFBD>o de Agenda</th>
<td align="left">
<input type="radio" name="prm_normaliza_agenda" id="prm_exige_proto_vendas_sim" value="0" {if !$prm_normaliza_agenda}checked{/if} />N&atilde;o
<input type="radio" name="prm_normaliza_agenda" id="prm_exige_proto_vendas_nao" value="1" onclick="MostraNormalizaAgenda()" {if $prm_normaliza_agenda}checked{/if} />Sim
<div id="config" style="display: none;" >
<a onclick="NovaJanela('index.php?idProg=322&pbxRequest=1', 'importaAgenda', '50', '50', 'resizable=YES,scrollbars=YES');" href="#" style="font-size:12px">
<img src="imgSite/detalhado.png" alt="configServer" width="16" height="16" align="absmiddle" border="0"/>
Configurar Servidores
</a>
</div>
</td>
</tr>
<tr>
<th align="left">Bloqueio</th>
<td align="left">
<table style="width: 100%" class="formCad" border="1" cellspacing="0" cellpadding="2">
<tr align="center">
<th>Tipo Bloqueio</th>
<th>Data Bloqueio</th>
</tr>
<tr align="center">
<td>
<input type="radio" name="prm_bloqueio" id="prm_bloqueio_nao" value="0" {if !$prm_bloqueio}checked{/if} />N&atilde;o
<input type="radio" name="prm_bloqueio" id="prm_bloqueio_saida" value="1" {if $prm_bloqueio == 1}checked{/if} />Sa<EFBFBD>da
<input type="radio" name="prm_bloqueio" id="prm_bloqueio_total" value="2" {if $prm_bloqueio == 2}checked{/if} />Total
</td>
<td>
<input name="prm_bloqueio_data" id="prm_bloqueio_data" type="text" size="10" maxlength="10" value="{$prm_bloqueio_data}" onkeyup="formataData(this)" title="Informe uma data para o in<EFBFBD>cio do bloqueio!" />
</td>
</tr>
</table>
</td>
</tr>
{/if}
<tr>
<th align="left">Abandonadas Sem Retorno</th>
<td align="left">
<input name="prm_abandonada_semretorno" type="text" id="prm_abandonada_semretorno" value="{$prm_abandonada_semretorno}" size="5" maxlength="2" />(Informe o n<EFBFBD>mero de dias que as chamdas abandonadas sem retorno ser<EFBFBD>o mostradas, 0(zero) para a data atual)
</td>
</tr>
<tr>
<th align="left">Ligue-me Gr<EFBFBD>tis</th>
<td align="left">
<img src="imgSite/phone.gif" alt="Pausa" width="16" height="16" align="absmiddle" border="0"/><a href="#" id="install" class="frame" onclick="abrir_modal('index.php?idProg=311', '55%')" style="font-size: 12px;"> Clique aqui para configurar!</a>
</td>
</tr>
<tr>
<th align="left">Habilita Servi<EFBFBD>os em Relat<EFBFBD>rios</th>
<td align="left">
<input type="radio" name="prm_relatorio_servico" id="prm_relatorio_servico_desab" value="0" {if $prm_relatorio_servico == 0}checked{/if} />Desabilita
<input type="radio" name="prm_relatorio_servico" id="prm_relatorio_servico_habilita" value="1" {if $prm_relatorio_servico == 1}checked{/if} />Habilita
<input type="radio" name="prm_relatorio_servico" id="prm_relatorio_servico_filtros" value="2" {if $prm_relatorio_servico == 2}checked{/if} />Hbilita Filtros
</td>
</tr>
<tr>
<th>&nbsp;</th>
<td align="left"><input name="btGravar" type="submit" id="btGravar" value="Gravar"></td>
</tr>
</table>
{/capture}