✏️ 正在编辑: resgates.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/campanha/resgates.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Resgates</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->resgates ): ?> <table summary="Resgates"> <thead> <tr class="top_list"> <th>Data</th> <th>Campanha</th> <th>Corretor</th> <th>Valor Resgate</th> <th colspan="2"></th> </tr> </thead> <tbody> <?php $valorTotal = 0; if( count($this->resgates) <= 0 ): ?> <tr> <td colspan="7">Nenhum resgate encontrado.</td> </tr> <?php else: foreach ( $this->resgates as $resgate ): ?> <?php $valorTotal += $resgate['valor_resgate']; ?> <tr> <td><?php echo $resgate['data_resgate'] ?></td> <td><?php echo $resgate['descricao'] ?></td> <td><?php echo $resgate['nome'] ?></td> <td class="valor"> <span>R$ </span><?php echo number_format($resgate['valor_resgate'], 2, ',', '.') ?> </td> <td align="center"> <a href="<?php echo $this->url(array( 'action' => 'delete-resgate', 'id' => $resgate['id'] )) ?>" class="link_remove"></a> </td> </tr> <?php endforeach; endif ?> </tbody> <tfoot> <tr> <td>Total: <?php echo count($this->resgates); ?></td> <td></td> <td></td> <td class="valor"><span>R$ </span><?php echo number_format($valorTotal, 2, ',', '.') ?></td> </tr> </tfoot> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器