✏️ 正在编辑: imposto.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/relatorio/imposto.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php $total_producao = 0; $total_imposto = 0; $total_liquido = 0;?> <h1 class="tit_local">Imposto</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <table summary="RelatorioImposto" class="relatorio"> <thead> <tr class="top_list"> <th>Banco</th> <th style="text-align: center; width: 150px;">Valor produzido</th> <th style="text-align: center; width: 150px;">Valor imposto</th> <th style="text-align: center; width: 150px;">Valor liquido</th> </tr> </thead> <tbody> <?php if( count($this->contratos) <= 0 ): ?> <tr> <td colspan="3">Nenhum resultado a ser exibido.</td> </tr> <?php else: ?> <?php foreach ( $this->contratos as $contrato ): ?> <?php $valor_liquido = $contrato['total'] - $contrato['valor_imposto'] ?> <tr> <td><?php echo $contrato['banco']; ?></td> <td class="valor"> <span>R$</span> <?php echo number_format($contrato['total'], 2, ',', '.'); ?> </td> <td class="valor"> <span>R$</span> <?php echo number_format($contrato['valor_imposto'], 2, ',', '.') ?> </td> <td class="valor"> <span>R$</span> <?php echo number_format($valor_liquido, 2, ',', '.'); ?> </td> </tr> <?php $total_producao += $contrato['total']; $total_imposto += $contrato['valor_imposto']; $total_liquido += $valor_liquido;?> <?php endforeach; ?> <?php endif; ?> </tbody> <tfoot> <tr> <td class="negrito">Total:</td> <td class="valor"> <span>R$</span> <?php echo number_format($total_producao, 2, ',', '.'); ?> </td> <td class="valor"> <span>R$</span> <?php echo number_format($total_imposto, 2, ',', '.'); ?> </td> <td class="valor"> <span>R$</span> <?php echo number_format($total_liquido, 2, ',', '.'); ?> </td> </tr> </tfoot> </table> </div>
💾 保存文件
← 返回文件管理器