✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/corretor/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Corretores</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <form id="f_corretor" method="post"> <table summary="Corretores" class="selecionar"> <thead> <tr class="top_list"> <th>ID</th> <th>Supervisor</th> <th>Nome</th> <th>Celular</th> <th>CPF</th> <th>UF</th> <th>Cidade</th> <th>Rota</th> <th>E-mail</th> <th>Apelido</th> <th>Grupo Comissão</th> <th colspan="6"></th> <th class="check_control"><input type="checkbox" name="control" id="control" value="all" onclick="myOptions.check(this)" /></th> </tr> </thead> <tfoot> <tr> <!-- This sets up the pagination controls partial --> <td colspan="12">Quantidade: <?php echo count($this->paginator); ?></td> </tr> </tfoot> <tbody> <?php if( count($this->paginator) <= 0 ): ?> <tr> <td colspan="17">Nenhum corretor encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $corretor ): $tbGrupoComissao = new Model_GrupoComissao(); $grupoComissao = $corretor['grupo_comissao'] ? $tbGrupoComissao->exibir($corretor['grupo_comissao']) : null; ?> <tr class="<?php echo $corretor['corretor_desativado'] ? "desativado" : ""; ?>"> <td><?php echo $corretor['id'] ?></td> <td><?php echo $this->escape($corretor['supervisor']) ?></td> <td><?php echo $this->escape($corretor['nome']) ?></td> <td><?php echo isset($corretor['celular']) ? $corretor['celular'] : ""; ?></td> <td><?php echo $this->escape($corretor['cpf']); ?></td> <td><?php echo $this->escape($corretor['uf']); ?></td> <td><?php echo $this->escape($corretor['cidade']); ?></td> <td><?php echo $this->escape($corretor['rota']) ?></td> <td><div title="<?php echo $this->escape($corretor['email']); ?>" style="width:200px;overflow:hidden;"><?php echo $this->escape($corretor['email']); ?></div></td> <td><?php echo $this->escape($corretor['apelido']) ?></td> <td><?php echo $grupoComissao ? $this->escape($grupoComissao->descricao) : ''; ?></td> <td align="center"><a href="#" onclick="openWin('<?php echo $this->url(array( 'controller' => 'corretor', 'action' => 'ficha-corretor', 'corretor_id' => $corretor['id'], 't' => true )); ?>', 1920, 1080, 1)" title="Visualizar ficha do corretor" class="link_client"></a></td> <td align="center"><a href="#" onclick="openWin('<?php echo $this->url(array( 'controller' => 'termo-responsabilidade', 'action' => 'imprimir', 'corretor' => $corretor['id'] )) ?>', 1024, 600, 1)" title="Imprimir Termo" class="link_print" role="button" title="Imprimir Contrato"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'view', 'id' => $corretor['id'] )) ?>" class="link_view" title="Visualizar" ></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'update', 'id' => $corretor['id'] )) ?>" class="link_edit" title="Editar"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $corretor['id'] )) ?>" class="link_remove"></a></td> <td style="text-align: center !important;"> <span style="cursor: pointer" class='glyphicon-reg glyphicon-reg-notes_2 historico' title="Historico do Corretor" id="<?php echo $corretor['id']; ?>" onclick="getHistoricoCorretor(this)"></span> </td> <td align="center"><input type="checkbox" name="corretores[]" id="checks[]" value="<?php echo $corretor['id'] ?>" /></td> </tr> <?php endforeach; endif ?> </tbody> <tfoot> <tr> <td colspan="13"> <select id="acao" style="width: 145px;"> <option value="editar-corretores">Alterar selecionados</option> </select> <input type="submit" value="OK" /> </td> </tr> </tfoot> </table> </form> </div> <?php if( $this->paginator ): ?> <div id="modal"> <?php echo $this->formUpdateCorretor; ?> </div> <?php endif; ?> <div id="historico-corretor" style="display: none;"> <div id="modal-historico"> <div class="clear"></div> </div> </div>
💾 保存文件
← 返回文件管理器