✏️ 正在编辑: simulacoes-abertas.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/callcenter/simulacoes-abertas.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Leads Capturados</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div class="progress"> <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"> </div> </div> <div id="view-content"> <form action="<?php echo $this->url(['action' => 'delete-simulacao-aberta']); ?>" method="post" onsubmit="return validarChecks(this);"> <?php if (count($this->simulacoes) > 0): ?> <table class="relatorio"> <thead> <tr class="top_list"> <th>Data Envio</th> <th>Cliente</th> <th>CPF</th> <th>Banco Refin./Port.</th> <th>Convênio</th> <th>Crédito / Saldo FGTS</th> <th>Parcela</th> <th style="text-align: center">Solicitado Contato</th> <th style="text-align: center">UTM Source</th> <th style="text-align: center">UTM Campaign</th> <th>Andamento</th> <th>Mensagem</th> <th style="text-align: center" class="not-sortable"></th> <th style="text-align: center" class="not-sortable"></th> <th style="text-align: center" class="not-sortable"></th> <th style="text-align: center" class="not-sortable"> <input type="checkbox" name="control" id="control" value="all" onclick="myOptions.check(this)" /> </th> </tr> </thead> <tbody> <?php foreach ($this->simulacoes as $key => $simulacao): $bg_linha = ''; if (!empty($simulacao['qtd_solicitacoes_contato'])) { $bg_linha = 'bg_laranja'; } if (!empty($simulacao['status_atendimento_atual'])) { $bg_linha = 'bg_verde'; } $valorCredito = $simulacao['tipo_valor'] == 'CREDITO' ? $simulacao['valor'] : 0; $valorParcela = $simulacao['tipo_valor'] == 'PARCELA' ? $simulacao['valor'] : 0; if (!empty($simulacao['valor_credito'])) { $valorCredito = $simulacao['valor_credito']; } if (!empty($simulacao['valor_parcela'])) { $valorParcela = $simulacao['valor_parcela']; } ?> <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::ocultarCaracteres(String_Refatorar::resetCpf($simulacao['cpf'])); ?></td> <td><?php echo $simulacao['refin_port']; ?></td> <td><?php echo $simulacao['convenio']; ?></td> <td><?php echo number_format($valorCredito, 2, ',', '.'); ?></td> <td><?php echo number_format($valorParcela, 2, ',', '.'); ?></td> <td style="text-align: center"><?php echo $this->dateHourFormat($simulacao['data_ultima_solicitacao']) ; ?></td> <td><?php echo $simulacao['utm_source']; ?></td> <td><?php echo $simulacao['corretor'] ?? $simulacao['utm_campaign']; ?></td> <td><?php echo $simulacao['status_atendimento_atual']; ?></td> <td class="tooltip"> <?php if(!empty($simulacao['erro_fgts'])): ?> <div class="tooltiptext"><?php echo $simulacao['erro_fgts']; ?></div> <span><?php echo substr($simulacao['erro_fgts'], 0, 35); ?></span> <?php endif; ?> </td> <td> <a href="<?php echo Core_Link::criaLink("https://{$_SERVER['HTTP_HOST']}{$this->baseUrl()}/simulacao-aberta/exibir", "chave={$simulacao['id']}"); ?>" target="_blank" class="glyphicon-reg glyphicon-reg-link no_text_decoration" title="Exibir simulação"></a> </td> <td> <?php if (!empty($simulacao['data_ultima_visualizacao'])): ?> <span class="glyphicon-reg glyphicon-reg-eye_open" title="Cliente visualizou a simulação"></span> <?php endif; ?> </td> <td> <?php if ($simulacao['status_atendimento_atual'] && $simulacao['status_atendimento_atual'] != 'PROCESSANDO'): ?> <a href="#" title="Atendimento Realizado" class="link_apply"></a> <?php elseif(Zend_Date::now()->subMinute(10)->isLater($simulacao['data_simulacao'])): ?> <a href="<?php echo $this->url([ 'controller' => 'callcenter', 'action' => 'atender-cliente-simulacao-aberta', 'id' => $simulacao['simulacao_banco_id'], 'cliente_id' => $simulacao['cliente_id'] ]); ?>" title="Atender Cliente" class="link_client"></a> <?php endif; ?> </td> <td style="text-align: center"> <input type="checkbox" name="simulacao[]" id="checks[]" value="<?php echo $simulacao['simulacao_id']; ?>" /> </td> </tr> <?php endforeach; ?> </tbody> <tfoot> <tr> <td colspan="13" class="negrito" >Total: <?php echo count($this->simulacoes); ?></td> </tr> </tfoot> </table> <input type="submit" value="Excluir Selecionados" /> <ul class="legenda"> <li>Legenda:</li> <li class="bg_laranja">Solicitado contato pelo cliente</li> <li class="bg_verde">Atendimento realizado</li> <li class="clear"></li> </ul> <?php endif; ?> </form> </div>
💾 保存文件
← 返回文件管理器