✏️ 正在编辑: despesas-por-categoria.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/relatorio/despesas-por-categoria.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Relatório de Despesas por Categoria</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="columns_selected"> <fieldset> <legend>Selecione as colunas para exibição</legend> <dl> <dd><input type="checkbox" id="select_column1" name="select_column1" value="1" onchange="hideShowTableColumn(this)" checked="checked" /></dd> <dt><label for="select_column1">ID</label></dt> <dd><input type="checkbox" id="select_column2" name="select_column2" value="2" onchange="hideShowTableColumn(this)" checked="checked" /></dd> <dt><label for="select_column2">Categoria</label></dt> <dd><input type="checkbox" id="select_column3" name="select_column3" value="3" onchange="hideShowTableColumn(this)" checked="checked" /></dd> <dt><label for="select_column3">Valor pago</label></dt> </dl> </fieldset> <div class="clear"></div> </div> <div id="view-content"> <table class="tablesorter relatorio" id="sortedTable"> <?php $totalPago = 0; if(count($this->despesas) > 0): ?> <thead> <tr class="top_list"> <th>Id</th> <th>Categoria</th> <th>Categoria Pai</th> <th>Valor Pago</th> </tr> </thead> <tbody> <?php foreach($this->despesas as $despesa): $totalPago += $despesa['valor']; ?> <tr> <td><?php echo $despesa['categoria_id']; ?></td> <td><?php echo $this->escape($despesa['categoria']); ?></td> <td><?php echo $this->escape($despesa['categ_pai']); ?></td> <td class="valor" data-value="<?php echo $despesa['valor']; ?>"><span>R$ </span> <?php echo number_format($despesa['valor'], 2, ',', '.'); ?> </td> </tr> <?php endforeach; ?> </tbody> <?php endif; ?> <tfoot> <tr> <td></td> <td></td> <td></td> <td class="valor negrito"><span>R$ </span> <?php echo number_format($totalPago, 2, ',', '.'); ?> </td> </tr> </tfoot> </table> </div>
💾 保存文件
← 返回文件管理器