✏️ 正在编辑: exibir-resumo-corretores.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/financeiro/exibir-resumo-corretores.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php if ($this->corretores) : ?> <h1 class="tit_local">RESUMO DE COMISSÃO POR CORRETOR</h1> <br> <table> <tbody> <tr class="top_list"> <th>Nome</th> <th>Qtde.</th> <th>Vr. Comissão</th> </tr> <?php $totalContratos = 0; $totalComissoes = 0; $totalCorretores = 0; foreach ($this->corretores as $corretor): $totalContratos += $corretor['quantidade']; $totalComissoes += $corretor['valor_comissao']; $totalCorretores += 1; ?> <tr> <td><?= $corretor['nome']; ?></td> <td align="center"><?= $corretor['quantidade']; ?></td> <td align="center"><?= number_format($corretor['valor_comissao'], 2, ',', '.'); ?></td> </tr> <?php endforeach; ?> </tbody> <tfoot> <tr class="top_list"> <th align="left" class="negrito">Totais: <?= $totalCorretores ?></th> <th align="center" class="negrito"><?= $totalContratos ?></th> <th align="center" class="negrito"><?= number_format($totalComissoes, 2, ',', '.'); ?></th> </tr> </tfoot> </table> <?php else: ?> <h1 class="tit_local" align="center">Atenção! Pelo menos um corretor deve ser informado.</h1> <?php endif; ?>
💾 保存文件
← 返回文件管理器