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.
103 lines
4.3 KiB
103 lines
4.3 KiB
{capture name="display"} |
|
<input name="contr_id" type="hidden" id="contr_id" value="{$contr_id}"> |
|
{if !$habilitaTarifacao} |
|
<input name="contr_tipo_franquia" type="hidden" id="contr_tipo_franquia" value="1"> |
|
<input name="contr_dia_fechamento" type="hidden" id="contr_dia_fechamento" value="10"> |
|
<input name="contr_tipo" type="hidden" id="contr_tipo" value="fixo"> |
|
<input name="contr_numero" type="hidden" id="contr_numero" value="0"> |
|
|
|
|
|
{/if} |
|
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="2" class="formCad"> |
|
<tr align="center" valign="middle" > |
|
<td height="50" colspan="2" class="formHed"> |
|
<img src="imgSite/usuarios.gif" width="32" height="32" align="absmiddle"> <span class="formHed">{$tituloCadastro}</span> </td> |
|
</tr> |
|
<tr> |
|
<th align="left">Descrição</th> |
|
<td><input name="contr_descricao" type="text" id="contr_descricao" value="{$contr_descricao}" size="60" maxlength="50"></td> |
|
</tr> |
|
<tr> |
|
<th width="120" align="left">Operadora</th> |
|
<td> |
|
<select name="oper_id" id="oper_id" style="width: 170px;"> |
|
{$operadoras} |
|
</select> |
|
</td> |
|
</tr> |
|
<tr> |
|
<th align="left">Empresa</th> |
|
<td> |
|
<select name="empresa" id="empresa" style="width: 170px;"> |
|
{$empresas} |
|
</select> |
|
</td> |
|
</tr> |
|
{if $habilitaTarifacao} |
|
<tr> |
|
<th align="left">Tipo</th> |
|
<td> |
|
<label for="contr_tipo_franquia"></label> |
|
<label for="contr_tipo"></label> |
|
<select name="contr_tipo" id="contr_tipo"> |
|
<option value="fixo" {if $contr_tipo == 'fixo'}selected="selected"{/if}>fixo</option> |
|
<option value="movel"{if $contr_tipo != 'fixo'}selected="selected"{/if}>movel</option> |
|
</select> |
|
</td> |
|
</tr> |
|
<tr> |
|
<th align="left">Tronco</th> |
|
<td><input name="contr_numero" type="text" id="contr_numero" value="{$contr_numero}" maxlength="50" size="20" style="width: 170px;"></td> |
|
</tr> |
|
{/if} |
|
|
|
<!--<tr> |
|
<th align="left">Tipo Tarifação</th> |
|
<td> |
|
<select name="contr_tipo_cobranca" id="contr_tipo_cobranca" style="width: 170px;"> |
|
{$tipoCobranca} |
|
</select> |
|
</td> |
|
</tr> |
|
<tr> --> |
|
{if $habilitaTarifacao} |
|
<th align="left">Franquia</th> |
|
<td> |
|
<input type="radio" name="contr_tipo_franquia" id="radio5" {if $contr_tipo_franquia == 0}checked="checked"{/if} value="0" /> |
|
Desabilitada |
|
<input type="radio" name="contr_tipo_franquia" id="radio" {if $contr_tipo_franquia == 1}checked="checked"{/if} value="1" /> |
|
Compartilhada |
|
<label for="contr_tipo_franquia"></label> |
|
<input type="radio" name="contr_tipo_franquia" id="radio2" {if $contr_tipo_franquia == 2}checked="checked"{/if} value="2" /> |
|
Fixo |
|
<input type="radio" name="contr_tipo_franquia" id="radio3" {if $contr_tipo_franquia == 3}checked="checked"{/if} value="3" /> |
|
Móvel |
|
<input type="radio" name="contr_tipo_franquia" id="radio4" {if $contr_tipo_franquia == 4}checked="checked"{/if} value="4" /> |
|
Fixo/Móvel |
|
</td> |
|
</tr> |
|
|
|
<tr> |
|
<th align="left">Dia Fechamento</th> |
|
<td><input name="contr_dia_fechamento" type="text" id="contr_dia_fechamento" value="{$contr_dia_fechamento}" size="20" maxlength="10" style="width: 170px;"></td> |
|
</tr> |
|
<tr> |
|
<th align="left">Bloqueia Franquia</th> |
|
<td> |
|
<input type="checkbox" name="contr_bloq_franquia" id="contr_bloq_franquia" {if $contr_bloq_franquia == 1}checked="checked"{/if} value="1" /> |
|
</td> |
|
</tr> |
|
{/if} |
|
<tr> |
|
<td> |
|
<input name="contr_id" type="hidden" id="contr_id" value="{$contr_id}"> |
|
<input name="acao" type="hidden" id="acao" value="{$acao}"> |
|
</td> |
|
<td><input name="btGravar" type="submit" id="btGravar" value="Gravar"> |
|
<input name="btClose" type="submit" id="btClose" value="Fechar" onClick="window.close();"></td> |
|
</tr> |
|
<tr> |
|
<th colspan="2">{if $msgErro}Erro: {$msgErro} {else} {/if}</th> |
|
</tr> |
|
</table> |
|
{/capture}
|
|
|