foutje met rode kleur procenten

This commit is contained in:
2024-03-04 10:30:03 +01:00
parent ee398549b1
commit 66ab033e6b
2 changed files with 11 additions and 10 deletions
@@ -217,9 +217,12 @@ class Monfin2overzicht extends MY_Controller{
// todo
// zorg dat alle getallen geformateerd zijn met een duizendtalscheidingsteken
$budgetten->totaal = number_format($budgetten->totaal, 0 , ',' , '.');
$budgetten->basis = number_format($budgetten->basis , 0 , ',' , '.');
$budgetten->extra = number_format($budgetten->extra, 0 , ',' , '.');
// $totaal = str_replace(".", '', $budgetten->totaal);
// $totaal = str_replace(".", '', $budgetten->totaal);
// $totaal = str_replace(".", '', $budgetten->totaal);
// $budgetten->totaal = number_format($totaal, 0 , ',' , '.');
// $budgetten->basis = number_format($budgetten->basis , 0 , ',' , '.');
// $budgetten->extra = number_format($budgetten->extra, 0 , ',' , '.');
foreach($sombasisperuitgavetype as $index => $sompertype){
$sompertype->som = number_format($sompertype->som,0, ',' , '.' );