✏️ 正在编辑: extrato-geral-corretor.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/relatorio/extrato-geral-corretor.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Extrato Geral de Corretores</h1> <div id="filter"> <?php echo $this->form; ?> </div> <div class="clear"></div> <div id="view-content"> <table> <thead> <tr class="top_list"> <th>Corretor</th> <th>Créditos</th> <th>Débitos</th> <th>Saldo do corretor</th> <th></th> </tr> </thead> <tbody> <?php $totalCreditos = $totalDebitos = 0?> <?php if(count($this->resumo) > 0) : $creditos = $debitos = 0; foreach ($this->resumo as $corretor => $registro): $totalCreditos += $creditos = $registro['creditos']; $totalDebitos += $debitos = $registro['debitos']; ?> <tr> <td><?= $corretor ?></td> <td class="valor negrito receita">R$ <?php echo number_format($creditos, 2, ',', '.'); ?></td> <td class="valor negrito despesa">R$ <?php echo number_format($debitos, 2, ',', '.'); ?></td> <td class="valor negrito">R$ <?php echo number_format($creditos - $debitos, 2, ',', '.'); ?></td> <td align="center"><a href="<?= $this->url(array('action' => 'extrato-corretor', 'corretor_id' => "{$registro['corretor_id']}"))?>" title="Visualizar extrato do corretor" class="link_view"></a></td> </tr> <?php endforeach; ?> <?php else:?> <tr> <td colspan="5"> Nenhum registro encontrato. </td> </tr> <?php endif;?> </tbody> <tfoot> <tr class="top_list"> <th class="valor negrito">Totais</th> <th class="valor negrito">R$ <?= number_format($totalCreditos, 2, ',', '.');?></th> <th class="valor negrito">R$ <?= number_format($totalDebitos, 2, ',', '.');?></th> <th class="valor negrito">R$ <?= number_format($totalCreditos - $totalDebitos, 2, ',', '.');?></th> <th></th> </tr> </tfoot> </table> </div>
💾 保存文件
← 返回文件管理器