<tr> <td>Total:</td> <td><?php echo dinheiroParaBr(somaVerba($_SESSION['idInstituicao'], "pf")); ?> </td> <td><?php echo dinheiroParaBr(somaVerba($_SESSION['idInstituicao'], "pj")); ?> </td> <td><?php echo dinheiroParaBr(somaVerba($_SESSION['idInstituicao'], "premio")); ?> </td> <td><strong><?php echo dinheiroParaBr(somaVerba($_SESSION['idInstituicao'], "pf") + somaVerba($_SESSION['idInstituicao'], "pj") + somaVerba($_SESSION['idInstituicao'], "premio")); ?> </strong></td> </tr> </tbody> </table> </div> </div> </div> </section> <?php break; case "detalhe":
</tr> <?php } ?> <tr> <td>Total:</td> <td><?php echo dinheiroParaBr(somaVerba(5, "pf")); ?> </td> <td><?php echo dinheiroParaBr(somaVerba(5, "pj")); ?> </td> <td><?php echo dinheiroParaBr(somaVerba(5, "premio")); ?> </td> <td><strong><?php echo dinheiroParaBr(somaVerba(5, "pf") + somaVerba(5, "pj") + somaVerba(5, "premio")); ?> </strong></td> </tr> </tbody> </table> </table> ?>