✏️ 正在编辑: beneficios.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/callcenter/beneficios.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<style> .editavel { max-width: 80px; } </style> <?php if(!$this->ocultarBotoes): echo new Form_CallcenterBeneficio(); endif; ?> <form id="atualizar-beneficios" method="post" class="clear"> <table id="lista_beneficios"> <thead> <tr class="top_list"> <th>N° Benefício</th> <th>Dt. Inclusão</th> <th>Espécie Benefício</th> <th>MR</th> <th>Margem Consignado</th> <th>Margem Cartão</th> <th>Saque Máximo</th> <th>Cartão RMC</th> <th>Margem Bens Duráveis</th> <th>Margem RCC</th> <th></th> </tr> </thead> <tbody> <?php $style = ''; if( count($this->beneficios) > 0 ): foreach ( $this->beneficios as $beneficio ): ?> <?php if($beneficio['cessado']): $beneficio['situacao'] = "CESSADO"; endif; ?> <?php if($beneficio['bloq_emp']): $style = "background-color: #FFE9E9"; endif; ?> <tr style="<?php echo $style; ?>"> <input type="hidden" name="id" value="<?php echo $beneficio['id'] ?>"> <input type="hidden" name="cpf_cliente" value="<?php echo $beneficio['cpf_cliente'] ?>"> <input type="hidden" name="data_consulta" value="<?php echo $beneficio['data_consulta'] ?>"> <input type="hidden" name="origem" value="<?php echo $beneficio['origem'] ?>"> <td> <dl id="dialog-<?php echo $beneficio['id']; ?>" style='visibility: hidden; max-width: 0; max-height: 0;'> <dt>Situação:</dt> <dd> <input type="text" value="<?php echo $beneficio['situacao']; ?>" name="situacao" size="45" maxlength="255" /> </dd> <dt>Banco Pagto:</dt> <dd> <input type="text" value="<?php echo $beneficio['banco_pagto']; ?>" name="banco_pagto" size="45" maxlength="255" /> </dd> <dt>Agência Pagto:</dt> <dd> <input type="text" value="<?php echo $beneficio['agencia_pagto']; ?>" name="agencia_pagto" size="7" maxlength="255" /> </dd> <dt>Conta Pagto:</dt> <dd> <input type="text" value="<?php echo $beneficio['conta_pagto']; ?>" name="conta_pagto" size="20" maxlength="255" /> </dd> <dt>Órgão Pagto:</dt> <dd> <input type="text" value="<?php echo $beneficio['orgao_pagador']; ?>" name="orgao_pagador" size="20" /> </dd> <dt>Tipo Pagto:</dt> <dd> <input type="text" value="<?php echo $beneficio['tipo_pagto']; ?>" name="tipo_pagto" size="20" maxlength="255" /> </dd> <dt>Data Consulta:</dt> <dd> <input type="text" value="<?php echo $this->dateHourFormat($beneficio['data_consulta']); ?>" name="data_consulta" size="20" maxlength="255" /> </dd> <dt>Competência:</dt> <dd> <input type="text" value="<?php echo $beneficio['competencia']; ?>" name="competencia" size="20" maxlength="255" /> </dd> <dt>Senha contra-cheque:</dt> <dd> <input type="text" value="<?php echo $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 $beneficio['origem']; ?>" name="origem" size="20" maxlength="255" /> </dd> <dt>OBS:</dt> <dd> <textarea name="obs" cols="45" rows="3" ><?php echo $beneficio['obs']; ?></textarea> </dd> </dl> <input class="editavel" type="text" value="<?php echo $beneficio['beneficio']; ?>" name="beneficio" onkeypress="mascara(this, soNumeros)" maxlength="15" size="50" /> </td> <td> <input class="editavel" type="text" value="<?php echo $this->dateFormat($beneficio['dib']); ?>" name="dib" maxlength="10" size="11" onkeypress="mascara(this, data)" /> </td> <td> <input type="text" value="<?php echo "{$beneficio['especie']} - {$beneficio['descricao']}" ?>" name="especie" onkeypress="mascara(this, soNumeros)" size="25" /> </td> <td> <input type="text" value="<?php echo number_format($beneficio['mr'], 2, ',', '.'); ?>" name="mr" size="7" onkeypress="mascara(this, mvalor)" maxlength="15" /> </td> <td> <input type="text" value="<?php echo number_format($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($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($beneficio['saque_complementar'], 2, ',', '.'); ?>" name="saque_complementar" onkeypress="mascara(this, mvalor)" maxlength="15" size="7" /> </td> <td> <input class="editavel" type="text" value="<?php echo number_format($beneficio['margem_cartao_rmc'], 2, ',', '.'); ?>" name="margem_cartao_rmc" onkeypress="mascara(this, mvalor)" size="7" maxlength="15" /> </td> <td> <input class="editavel" type="text" value="<?php echo number_format($beneficio['margem_bens_duraveis'], 2, ',', '.'); ?>" name="margem_bens_duraveis" onkeypress="mascara(this, mvalor)" size="7" maxlength="15" /> </td> <td> <input type="text" value="<?php echo number_format($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 $beneficio['id']; ?>', 400, 520, 'Detalhes do Benefício')" value=" " class="bt_find" title="Detalhes do benefício"/> <?php if(!$this->ocultarBotoes): ?> <input type="button" value=" " class="bt_save" onclick="atualizarBeneficios(this, '#dialog-<?php echo $beneficio['id']; ?>'); return false;" /> <?php endif; ?> <?php if( !empty($beneficio['detalhamento']) ): ?> <?php if($beneficio['origem'] == "CONSIG.XYZ"): ?> <input type="button" onclick="window.open('<?php echo $this->url(array('controller' => 'consulta', 'action' => 'download-detalhamento-inss', 'nb' => $beneficio['beneficio'], 'base_id' => $beneficio['base_cliente_id'])); ?>')" value=" " class="bt_imprimir" title="Extrato Empréstimos"/> <?php else: ?> <input type="button" disabled="true" onclick="detalharBeneficio('<?php echo $this->url(array('controller' => 'consulta', 'action' => 'carta-concessao', 'beneficio' => trim($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($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' => $beneficio['id'])); ?>', 1024, 768, 1)" value=" " class="bt_imprimir" title="Extrato Dataprev" /> <?php endif; ?> <?php endif; ?> <?php if( !empty($beneficio['extrato_creditos']) ): ?> <input type="button" onclick="window.open('<?php echo $this->url(array('controller' => 'consulta', 'action' => 'download-extrato-credito-inss', 'nb' => $beneficio['beneficio'], 'base_id' => $beneficio['base_cliente_id'])); ?>')" value=" " class="bt_imprimir" title="Extrato Créditos"/> <?php endif; ?> </td> </tr> <?php endforeach; endif; ?> </table> </form>
💾 保存文件
← 返回文件管理器