✏️ 正在编辑: comissoes-pagas-diario.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/relatorio/comissoes-pagas-diario.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<div id="relatorio-body avoid"> <?php if (!$this->comissoesPagas->isEmpty()): ?> <table class="table"> <tbody> <tr class="top_list"> <th>Banco</th> <th>Qtd. Contratos</th> <th>Valor Total</th> </tr> <?php $comissaoTotal = 0; $contratosTotais = 0; ?> <?php foreach ($this->comissoesPagas as $comissao): ?> <tr class="table-row"> <td><?php echo $comissao['banco']; ?></td> <td align="center"><?php echo $comissao['qtd_contratos']; ?></td> <td align="right"><?php echo 'R$ ' . number_format($comissao['valor'] ?? 0, 2, ',', '.'); ?></td> </tr> <?php $comissaoTotal += $comissao['valor']; $contratosTotais += $comissao['qtd_contratos']; ?> <?php endforeach; ?> <tr class="top_list"> <th><b></b>TOTAIS</th> <th align="center"><b><?php echo $contratosTotais; ?></b></th> <th align="right"><b><?php echo 'R$ ' . number_format($comissaoTotal ?? 0, 2, ',', '.'); ?></b></th> </tr> </tbody> </table> <?php endif; ?> <?php if ($this->comissoesPagas->isEmpty()): ?> <h4>Sem dados</h4> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器