✏️ 正在编辑: oportunidades-body.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/oportunidade-negocio/oportunidades-body.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php $ns = new Zend_Session_Namespace(); $quantidadeTotal = count($this->oportunidades); if ($quantidadeTotal > 0): foreach ($this->oportunidades as $oportunidade): ?> <tr style="white-space: nowrap;"> <td><?php echo $oportunidade['nome'] ?></td> <td class="cpf"><?php echo String_Refatorar::resetCpf($oportunidade['cpf']) ?></td> <td><?php echo $this->idade($oportunidade['data_nascimento']) ?></td> <td data-value="<?php echo $oportunidade['fones'] ?>"> <?php if (strlen($oportunidade['fones']) > 11): ?> <?php echo substr($oportunidade['fones'], 0, 11); ?> <a href="javascript://" title="Expandir" onclick="toogleText(this)">...</a> <?php else: ?> <?php echo $oportunidade['fones']; ?> <?php endif; ?> </td> <td><?php echo $oportunidade['beneficio'] ?></td> <td><?php echo $oportunidade['especie']; ?></td> <td class="<?php echo $oportunidade['margem_livre'] > 0 ? "marcadorDiasAtraso marcadorDiasAtrasoVerde" : ""; ?>" data-value="<?php echo $oportunidade['margem_livre']; ?>"><?php echo number_format($oportunidade['margem_livre'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['margem_cartao']; ?>"><?php echo number_format($oportunidade['margem_cartao'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['saque_complementar']; ?>"><?php echo number_format($oportunidade['saque_complementar'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['valor_saque']; ?>"><?php echo number_format($oportunidade['valor_saque'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['margem_rcc']; ?>"><?php echo number_format($oportunidade['margem_rcc'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['limite_cartao']; ?>"><?php echo number_format($oportunidade['limite_cartao'], 2, ',', '.') ?></td> <td data-value="<?php echo $oportunidade['data_ultimo_atendimento']; ?>"><?php echo $this->dateHourFormat($oportunidade['data_ultimo_atendimento']) ?></td> <td><?php echo $oportunidade['status_atendimento'] ?></td> <td class="" align="center"> <?php $link = !empty($oportunidade['beneficio']) ? $this->url(['controller' => 'consulta', 'action' => 'download-detalhamento-inss', 'nb' => $oportunidade['beneficio'], 'base_id' => $oportunidade['id']]) : "#"; ?> <a href="#" title="Extrato Consignações" onclick="window.location = '<?php echo $link ?>'" class="link_view"></a> </td> <td class="" align="center"> <?php $link = !empty($oportunidade['beneficio']) ? $this->url(['controller' => 'consulta', 'action' => 'download-extrato-credito-inss', 'nb' => $oportunidade['beneficio'], 'base_id' => $oportunidade['id']]) : "#"; ?> <a href="#" title="Extrato Créditos" onclick="window.location = '<?php echo $link; ?>'" class="link_view"></a> </td> <td class="" align="center"> <a href="#" onclick="enviarLinkCorretor('<?php echo $oportunidade['id'] ?>')" class="link_send" title="Enviar Link de Digitação"></a> </td> <td align="center"> <?php if (Yuppie_Auth::getIdentity()->grupo == "Corretor" && $ns->acl->isAllowed(Yuppie_Auth::getIdentity()->grupo, 'oportunidade-negocio', 'adicionar-telefone')): ?> <a href="#" onclick="openWin('<?php echo $this->url(['controller' => 'oportunidade-negocio', 'action' => 'adicionar-telefone', 'cliente_id' => $oportunidade['id']]); ?>', 700, 400, 1)" title="Adicionar Telefones" class="link_phone"></a> <?php endif; ?> </td> <td align="center"> <?php if ($ns->acl->isAllowed(Yuppie_Auth::getIdentity()->grupo, 'oportunidade-negocio', 'atender-cliente')): ?> <a href="#" <?php if ($this->callcenterIndicaAtendimentoCorretor(Yuppie_Auth::getIdentity()->id, String_Refatorar::soNumeros($oportunidade['cpf'])) == '1'): ?> title="Atendimento já registrado!" class="link_apply" <?php else: ?> <?php if (Yuppie_Auth::getIdentity()->grupo == "Callcenter"): ?> onclick="window.location='<?php echo $this->url(['controller' => 'callcenter', 'action' => 'exibir-cliente', 'id' => $oportunidade['id']]); ?>'" <?php else: ?> onclick="openWin('<?php echo $this->url(['controller' => 'oportunidade-negocio', 'action' => 'atender-cliente', 'id' => $oportunidade['id']]); ?>', 550, 250, 1)" <?php endif; ?> title="Atender Cliente" class="link_client" <?php endif; ?> ></a> <?php endif; ?> </td> <td class="" align="center"> <?php if (Yuppie_Auth::getIdentity()->grupo == "Corretor"): ?> <a href="<?php echo $this->url(['action' => 'save', 'id_cliente' => $oportunidade['id'], 'controller' => 'proposta']); ?>" class="link_keyboard" title="Digitar Proposta"></a> <?php endif; ?> </td> <td align="center"><input type="checkbox" name="clientes[]" id="checks[]" value="<?php echo $oportunidade['id'] ?>"></td> </tr> <?php endforeach; ?> <?php else: ?> <tr> <td colspan="18">Nenhum resultado a ser exibido.</td> </tr> <?php endif; ?>
💾 保存文件
← 返回文件管理器