✏️ 正在编辑: diario-supervisor.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/diario-rota/diario-supervisor.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Diário</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->paginator ): ?> <table summary="Rotas"> <thead> <tr class="top_list"> <th>Data Saida</th> <th>Data Retorno</th> <th>Status</th> <th colspan="4"></th> </tr> </thead> <tbody> <?php if( count($this->paginator) <= 0 ): ?> <tr> <td colspan="6" align="center">Nenhum registro encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $rota ): ?> <?php $dataAtual = Zend_Date::now()->get('yyyy-MM-dd'); ?> <tr> <td><?php echo $this->dateFormat($rota['data_saida']) ?></td> <td><?php echo $this->dateFormat($rota['data_retorno']) ?></td> <td><?php echo $rota['status'] ?></td> <td align="center"> <?php if($rota['status'] == 'ABERTO') : ?> <a href="#" onclick="openWin('<?php echo $this->url(array('action' => 'update-lancamento', 'id' => $rota['id'])); ?>', 1500, 860, 1)" class="link_add" title="Adicionar Item"></a> <?php endif; ?> </td> <td align="center"> <a href="#" class="link_print" onclick="openWin('<?php echo $this->url(array( 'action' => 'imprimir', 'id' => $rota['id'] )); ?>', 1024, 540, 1)" title="Imprimir"></a> </td> <td align="center"> <a href="#" class="link_client" onclick="openWin('<?php echo $this->url(array( 'action' => 'visitas', 'id' => $rota['id'] )); ?>', 1024, 540, 1)" title="Visitas"></a> </td> <td align="center"> <?php if($rota['status'] == 'ABERTO') : ?> <a href="#" onclick="openWin('<?php echo $this->url(array('action' => 'editar-lancamento', 'id' => $rota['id'], 'supervisor_id' => $rota['supervisor_id'])); ?>', 800, 550, 1)" class="link_edit" title="Editar Lançamento"></a> <?php endif; ?> </td> </tr> <?php endforeach; endif ?> </tbody> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器