✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/callcenter-base/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Consulta Base</h1> <div id="filter"> <?= $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <form id="f_callcenterbase" action="<?php echo $this->url(array('action' => 'associar-campanha')); ?>" method="POST" onsubmit="if(validarChecks(this) === false){return false;};"> <table> <thead> <tr class="top_list"> <th>Campanha</th> <th>Nome</th> <th>CPF</th> <th>Nascimento</th> <th>Cidade</th> <th>UF</th> <th>Orgão</th> <th>Secretaria</th> <th>Status Atendimento</th> <th>Último Atendimento</th> <th>Usuário</th> <th>Usuário Carteirização</th> <th>Data Agendada</th> <th>Hora Agendada</th> <th>Ativo</th> <th colspan="2"></th> <th class="check_control"><input type="checkbox" name="control" id="control" value="all" onclick="myOptions.check(this)" /></th> </tr> </thead> <tbody> <?php $totalAtivo = 0; if( count($this->base) > 0 ): foreach( $this->base as $base ): if($base['ativo'] == 1){ $totalAtivo += 1; } ?> <tr class="<?php echo !empty($base['carteira_corretor']) ? "bg_amarelo" : ""; ?>"> <td><?php echo $base['campanha']; ?></td> <td><?php echo $this->escape($base['nome']); ?></td> <td style="white-space: nowrap"><?php echo String_Refatorar::resetCpf($base['cpf']); ?></td> <td><?php echo $this->dateFormat($base['data_nascimento']); ?></td> <td><?php echo $base['cidade']; ?></td> <td><?php echo strtoupper($base['uf']); ?></td> <td><?= $base['orgao']; ?></td> <td><?= $base['secretaria']; ?></td> <td><?php echo $base['status_atendimento']; ?></td> <td><?php echo $this->dateFormat($base['data_ultimo_atendimento']); ?></td> <td><?php echo $base['usuario']; ?></td> <td><?php echo $base['usuario_carteira']; ?></td> <td><?php echo $this->dateFormat($base['agendado_para']); ?></td> <td><?php echo $base['hora_agendada']; ?></td> <td><?php echo $base['ativo'] == 1 ? "Sim" : "Não"; ?></td> <td><a href="<?php echo $this->url(array('controller' => 'callcenter-base', 'action' => 'save', 'id' => $base['id'])); ?>" title="Visualizar" class="link_edit"></a></td> <td><a href="#" onclick="openWin('<?php echo $this->url(array('controller' => 'callcenter-base', 'action' => 'agendar-receptivo', 'id' => $base['id'])); ?>', 450, 200, 1)" title="Agendar atendimento" class="link_calendar"></a></td> <td><input type="checkbox" name="base[]" id="checks[]" value="<?php echo $base['id']; ?>" /></td> </tr> <?php endforeach; endif; ?> </tbody> <tfoot> <tr> <?php if( count($this->base) > 0 ): ?> <td colspan="5"><?php echo "Quantidade: {$this->base->getTotalItemCount()}"; echo "- Página: {$this->base->getCurrentPageNumber()} / {$this->base->count()}"; ?></td> <td colspan="11"><?php echo $this->base; ?></td> <?php else: ?> <td colspan="16"><?php echo "Quantidade: 0"; ?></td> <?php endif; ?> </tr> </tfoot> </table> <dl class="sub_form"> <?php echo $this->formAlteracao; ?> </dl> </form> </div>
💾 保存文件
← 返回文件管理器