✏️ 正在编辑: meus-leads-capturados.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/corretor/meus-leads-capturados.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Leads Capturados</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <table summary="Leads Capturados"> <thead> <tr class="top_list"> <th>Data Captura</th> <th>Nome</th> <th>CPF</th> <th>Tipo Valor</th> <th>Valor</th> <th>Situação</th> <th colspan="2"></th> </tr> </thead> <tfoot> <tr> <td colspan="9">Quantidade: <?php echo count($this->simulacoes); ?></td> </tr> </tfoot> <tbody> <?php if( count($this->simulacoes) <= 0 ): ?> <tr> <td colspan="9">Nenhum lead encontrado.</td> </tr> <?php else: $ns = new Zend_Session_Namespace(); foreach ( $this->simulacoes as $simulacao ): $bg_linha = ''; ?> <?php if (!empty($simulacao['status_atendimento_atual'])) { $bg_linha = 'bg_verde'; } ?> <tr class="<?php echo $bg_linha; ?>"> <td><?php echo $this->dateHourFormat($simulacao['data_simulacao']); ?></td> <td><?php echo $simulacao['cliente'] ?></td> <td><?php echo String_Refatorar::resetCpf($simulacao['cpf']); ?></td> <td><?php echo $simulacao['tipo_valor'] ?></td> <td><?php echo number_format($simulacao['valor'], 2, ',', '.'); ?></td> <td><?php echo $simulacao['status_atendimento_atual'] ?? "Aguardando Atendimento" ?></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($simulacao['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' => $simulacao['base_id']]); ?>'" <?php else: ?> onclick="openWin('<?php echo $this->url(['controller' => 'oportunidade-negocio', 'action' => 'atender-cliente', 'id' => $simulacao['base_id']]); ?>', 550, 250, 1)" <?php endif; ?> title="Atender Cliente" class="link_client" <?php endif; ?> ></a> <?php endif; ?> </td> <td align="center"> <?php $foneWhats = \String_Refatorar::soNumeros($simulacao['fone']); if(strlen($foneWhats) == 11): ?> <a href="https://api.whatsapp.com/send?phone=55<?php echo $foneWhats; ?>" title="Chamar no Whatsapp" target="_blank" class="link_whatsapp"></a> <?php endif; ?> </td> </tr> <?php endforeach; endif ?> </tbody> </table> </div>
💾 保存文件
← 返回文件管理器