✏️ 正在编辑: _beneficio.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/callcenter/_beneficio.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php $style = ''; ?> <?php if($this->dados_beneficio['cessado']): $this->dados_beneficio['situacao'] = "CESSADO"; endif; ?> <?php if($this->dados_beneficio['bloq_emp']): $style = "background-color: #FFE9E9"; endif; ?> <tr style="<?php echo $style; ?>"> <input type="hidden" name="id" value="<?php echo $this->dados_beneficio['id'] ?>"> <input type="hidden" name="cpf_cliente" value="<?php echo $this->dados_beneficio['cpf_cliente'] ?>"> <input type="hidden" name="data_consulta" value="<?php echo $this->dados_beneficio['data_consulta'] ?>"> <input type="hidden" name="origem" value="<?php echo $this->dados_beneficio['origem'] ?>"> <td> <dl id="dialog-<?php echo $this->dados_beneficio['id']; ?>" style='display:none'> <dt>Situação:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['situacao']; ?>" name="situacao" size="45" maxlength="255" /> </dd> <dt>Banco Pagto:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['banco_pagto']; ?>" name="banco_pagto" size="45" maxlength="255" /> </dd> <dt>Agência Pagto:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['agencia_pagto']; ?>" name="agencia_pagto" size="7" maxlength="255" /> </dd> <dt>Conta Pagto:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['conta_pagto']; ?>" name="conta_pagto" size="20" maxlength="255" /> </dd> <dt>Órgão Pagto:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['orgao_pagador']; ?>" name="orgao_pagador" size="20" /> </dd> <dt>Tipo Pagto:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['tipo_pagto']; ?>" name="tipo_pagto" size="20" maxlength="255" /> </dd> <dt>Data Consulta:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['data_consulta']; ?>" name="data_consulta" size="20" maxlength="255" /> </dd> <dt>Competência:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['competencia']; ?>" name="competencia" size="20" maxlength="255" /> </dd> <dt>Senha contra-cheque:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['senha_contra_cheque']; ?>" name="senha_contra_cheque" class="not_upper" size="20" maxlength="255" /> </dd> <dt>Origem:</dt> <dd> <input type="text" value="<?php echo $this->dados_beneficio['origem']; ?>" name="origem" size="20" maxlength="255" /> </dd> <dt>OBS:</dt> <dd> <textarea name="obs" cols="45" rows="3" ><?php echo $this->dados_beneficio['obs']; ?></textarea> </dd> </dl> <input class="editavel" type="text" value="<?php echo $this->dados_beneficio['beneficio']; ?>" name="beneficio" onkeypress="mascara(this, soNumeros)" maxlength="15" size="50" /> </td> <td> <input class="editavel" type="text" value="<?php echo $this->dateFormat($this->dados_beneficio['dib']); ?>" name="dib" maxlength="10" size="11" onkeypress="mascara(this, data)" /> </td> <td> <input type="text" value="<?php echo $this->dados_beneficio['especie']; ?>" name="especie" onkeypress="mascara(this, soNumeros)" size="25" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['mr'], 2, ',', '.'); ?>" name="mr" size="7" onkeypress="mascara(this, mvalor)" maxlength="255" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['margem_livre'], 2, ',', '.'); ?>" name="margem_livre" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['margem_cartao'], 2, ',', '.'); ?>" name="margem_cartao" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['saque_complementar'], 2, ',', '.'); ?>" name="saque_complementar" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['margem_cartao_rmc'], 2, ',', '.'); ?>" name="margem_cartao_rmc" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['margem_bens_duraveis'], 2, ',', '.'); ?>" name="margem_bens_duraveis" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="text" value="<?php echo number_format($this->dados_beneficio['margem_rcc'], 2, ',', '.'); ?>" name="margem_rcc" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input type="button" onclick="showDialog('dialog-<?php echo $this->dados_beneficio['id']; ?>', 400, 480, 'Detalhes do Benefício')" value=" " class="bt_find" title="Detalhes do benefício"/> <input type="button" value=" " class="bt_save" onclick="atualizarBeneficios(this); return false;" /> <?php if($this->dados_beneficio['margem_livre']): ?> <input type="button" onclick="simularMargem(this)" value=" " class="bt_money" title="Simular Margem"/> <?php endif; ?> <?php if( isset($this->dados_beneficio['detalhamento']) && !empty($this->dados_beneficio['detalhamento']) ): ?> <?php if($this->dados_beneficio['origem'] == "Analise.info"): ?> <input type="button" onclick="window.location='<?php echo $this->url(array('controller' => 'consulta', 'action' => 'download-detalhamento-inss', 'nb' => $this->dados_beneficio['beneficio'])); ?>'" value=" " class="bt_imprimir" title="Extrato Dataprev"/> <?php else: ?> <input type="button" disabled="true" onclick="detalharBeneficio('<?php echo $this->url(array('controller' => 'consulta', 'action' => 'carta-concessao', 'beneficio' => trim($this->dados_beneficio['beneficio']))); ?>')" value=" " class="bt_new_contrato" title="Carta Concessão" /> <input type="button" onclick="detalharBeneficio('<?php echo $this->url(array('controller' => 'consulta', 'action' => 'situacao-beneficio', 'beneficio' => trim($this->dados_beneficio['beneficio']))); ?>')" value=" " class="bt_find" title="Situação Benefício" /> <input type="button" onclick="openWin('<?php echo $this->url(array('action' => 'view-detalhamento', 'beneficio' => $this->dados_beneficio['id'])); ?>', 1024, 768, 1)" value=" " class="bt_imprimir" title="Extrato Dataprev" /> <?php endif; ?> <?php endif; ?> </td> </tr>
💾 保存文件
← 返回文件管理器