✏️ 正在编辑: lucratividade.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/relatorio/lucratividade.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Lucratividade</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">Corretor</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">Total Comissão Empresa (A)</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">Total Despesas (B)</label></dt> <dd><input type="checkbox" id="select_column4" name="select_column4" value="4" onchange="hideShowTableColumn(this)" checked="checked" /></dd> <dt><label for="select_column4">Saldo (A-B)</label></dt> </dl> </fieldset> <div class="clear"></div> </div> <div id="view-content"> <table class="tablesorter relatorio" id="sortedTable"> <thead> <tr class="top_list"> <th>Corretor</th> <th>Total Comissão Empresa (A)</th> <th>Total Despesas (B)</th> <th>Saldo (A-B)</th> </tr> </thead> <tbody> <?php if (count($this->corretores) <= 0): ?> <tr><td colspan="4">Nenhum corretor encontrado.</td></tr> <?php else: ?> <?php foreach ($this->corretores as $corretor): ?> <?php $saldo = ($corretor['total_produzido'] - $corretor['total_despesa']); ?> <tr> <td><?php echo $corretor['corretor']; ?></td> <td class="valor">R$ <?php echo number_format($corretor['total_produzido'], 2, ',', '.'); ?></td> <td class="valor">R$ <?php echo number_format($corretor['total_despesa'], 2, ',', '.'); ?></td> <td class="valor">R$ <?php echo number_format($saldo, 2, ',', '.'); ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> <tfoot> <tr> <td colspan="4"></td> </tr> </tfoot> </table> <input type="button" value="Imprimir" onclick="openWin('<?php echo $this->url(array( 'action' => 'imprimir-despesas' )); ?>', 800, 600)" /> </div>
💾 保存文件
← 返回文件管理器