result() as $row_dpp_genap)
{
$jmlh_totaldpp_genap_1 += $row_dpp_genap->jmlbayar;
}
foreach($dpp_fakultas_ganjil_1->result() as $row_dpp_ganjil)
{
$jmlh_totaldpp_ganjil += $row_dpp_ganjil->jmlbayar;
}
foreach($dpk_allfak_1->result() as $row_dpk)
{
$jmlh_totaldpk += $row_dpk->jmlbayar;
}
$totaldpp = $jmlh_totaldpp_genap + $jmlh_totaldpp_ganjil;
$totaldpk = $jmlh_totaldpk;
$totalpendapatan = $totaldpp + $totaldpk;
$total_dpp = number_format($totaldpp,0,',','.');
$total_dpk = number_format($totaldpk,0,',','.');
$total_pendapatan = number_format($totalpendapatan,0,',','.');
?>
Penerimaan Total
Rp. = $total_pendapatan; ?>
Belanja Total
db->query($sql_b);
foreach($query_b->result() as $row_b){
$totb = $row_b->total_b;
$tot_b = number_format($totb,0,',','.');
}
?>
Rp. =$tot_b;?>
Capaian Realisasi Belanja Terhadap Pendapatan Total