✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/status-proposta/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Status de Propostas</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->paginator ): ?> <form action="<?php echo $this->url(array( 'action' => 'selecionar-acao' )); ?>" method="post" onsubmit="validarChecks(this);" > <table summary="StatusProposta" class="selecionar"> <thead> <tr class="top_list"> <th>ID</th> <th>Descrição</th> <th>Status pai</th> <th>Bloquear Alteração do Contrato</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> <tfoot> <tr> <!-- This sets up the pagination controls partial --> <td colspan="3"><?php echo $this->paginator; ?></td> </tr> </tfoot> <tbody> <?php if( $this->paginator->getTotalItemCount() == 0 ): ?> <tr> <td colspan="3">Nenhum status encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $status ): if( empty($parent) || $parent->id != $status->parent_id ){ $parent = $status->findParentRow('Model_DbTable_Tipos', 'Parent'); } ?> <tr> <td><?php echo $status->id; ?></td> <td><?php echo $this->escape($status->descricao); ?></td> <td><?php echo $parent ? $this->escape($parent->descricao) : ''; ?></td> <td><?php echo $status->bloqueado_alteracao ? "SIM" : "NÃO"; ?></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'save', 'id' => $status->id )); ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $status->id )); ?>" class="link_remove"></a></td> <td align="center"><input type="checkbox" name="status_proposta[]" id="checks[]" value="<?php echo $status->id ?>" /></td> </tr> <?php endforeach; ?> <tr> <td colspan="5"> <dt id="acao-label"><label for="acao" class="required">Ação:</label></dt> <dd id="acao-element"> <select name="acao" id="acao" style="width: 250px;"> <option value=""></option> <option value="setar-status-pai">Setar status pai</option> <option value="delete">Excluir Selecionados</option> </select> </dd> <input type="submit" value="Ok" /> </td> <td colspan="2"> <?php echo $this->form->getElement("parent_id"); ?> <input type="submit" value="Alterar" /> </td> </tr> <?php endif; ?> </tbody> </table> </form> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器