✏️ 正在编辑: ranking-diario-corretor.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/relatorio/ranking-diario-corretor.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<div id="relatorio-body avoid"> <?php if (!empty($this->corretoresVendas)): ?> <table class="table"> <tbody> <?php $row = 0; $firstIteration = true; ?> <?php foreach ($this->corretoresVendas as $corretorVenda): ?> <?php if ($row >= 18 || ($row >= 15 && $firstIteration)): ?> <tr style="page-break-inside: avoid !important;"></tr> <?php $row = 0; $firstIteration = false; ?> <?php endif; ?> <?php if ($row === 0): ?> <tr class="top_list"> <th>Corretor</th> <th>Qtd. Contratos</th> <th>Valor</th> <th>Média 6 Meses</th> <th>Desvio</th> </tr> <?php endif;?> <tr class="table-row"> <td><?php echo $corretorVenda['corretor']; ?></td> <td align="center"><?php echo $corretorVenda['qtd_contratos']; ?></td> <td><?php echo 'R$ ' . number_format($corretorVenda['sum_dia'] ?? 0, 2, ',', '.'); ?></td> <td><?php echo 'R$ ' . number_format($corretorVenda['med_digitacao'] ?? 0, 2, ',', '.'); ?></td> <td><?php echo number_format($corretorVenda['per_crescimento'] ?? 0, 2, '.', '.') . ' %' ?></td> </tr> <?php $row++ ?> <?php endforeach; ?> </tbody> </table> <?php endif; ?> <?php if (empty($this->corretoresVendas)): ?> <h4>Sem dados</h4> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器