✏️ 正在编辑: redes_atendimentos.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/usuario/redes_atendimentos.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php echo $this->form_rede_atendimento ?> <div class="clear"></div> <form action="<?php echo $this->url(array( 'action' => 'delete-rede-atendimento' )); ?>" method="post" onsubmit="validarChecks(this);" > <?php if( count($this->redes_atendimentos) > 0 ): ?> <table> <thead> <tr class="top_list"> <th>Usuário</th> <th>Supervisor</th> <th>Corretor</th> <th>Data Cadastro</th> <th class="check_control"><input type="checkbox" name="control" id="control" value="all" onclick="myOptions.check(this)" /></th> <th colspan="1"></th> </tr> </thead> <?php foreach ( $this->redes_atendimentos as $redeAtendimento ): ?> <?php $usuario = $redeAtendimento->findParentRow("Model_DbTable_Usuario"); $supervisor = $redeAtendimento->findParentRow("Model_DbTable_GerenteRota"); $corretor = $redeAtendimento->findParentRow("Model_DbTable_Corretor"); ?> <tr> <input type="hidden" name="usuario_id" value="<?php echo $redeAtendimento['usuario_id']; ?>"/> <td><?php echo $usuario->nome; ?></td> <td><?php echo $supervisor->nome; ?></td> <td><?php echo $corretor->nome; ?></td> <td><?php echo $this->dateFormat($redeAtendimento['data_cadastro'], 'dd/MM/yyyy HH:mm:ss'); ?></td> <td align="center"><input type="checkbox" name="redes_atendimento[]" id="checks[]" value="<?php echo $redeAtendimento->id ?>" /></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete-rede-atendimento', 'id' => $redeAtendimento->id, 'usuario_id' => $redeAtendimento->usuario_id )) ?>" class="link_remove"></a></td> </tr> <?php endforeach; ?> <tr> <td colspan="6"><input type="submit" value="Excluir Selecionados" alt="1" name="remove_all" class="bt_delete" style="float: right;" /></td> </tr> <?php endif; ?> </table> </form>
💾 保存文件
← 返回文件管理器