Example #1
0
echo isset($_GET['t']) ? $_GET['t'] == "date" ? "do dia" : "do mês" : '';
?>
</strong></td>
                            <td class="text-right"><?php 
echo toBRL(Pagamento::entradaDia(isset($_GET['d']) ? $_GET['d'] : ''));
?>
</td>
                            <td class="text-right"><?php 
echo toBRL(Pagamento::saidaDia(isset($_GET['d']) ? $_GET['d'] : ''));
?>
</td>
                        </tr>
                        <tr>
                            <td class="text-right"><strong>Total acumulado</strong></td>
                            <td class="text-right"><?php 
echo toBRL(Pagamento::entradaAcumulada(isset($_GET['d']) ? $_GET['d'] : ''));
?>
</td>
                            <td class="text-right"><?php 
echo toBRL(Pagamento::saidaAcumulada(isset($_GET['d']) ? $_GET['d'] : ''));
?>
</td>
                        </tr>
                        <tr>
                            <td class="text-right"><strong>Total em caixa</strong></td>
                            <td colspan="2" class="text-center"><?php 
echo toBRL(Pagamento::totalDia(isset($_GET['d']) ? $_GET['d'] : ''));
?>
</td>
                        </tr>
                    </tfoot>