From 66ab033e6b50370a6e0d34df50897f5697882ebd Mon Sep 17 00:00:00 2001 From: Monique Hansma Date: Mon, 4 Mar 2024 10:30:03 +0100 Subject: [PATCH] foutje met rode kleur procenten --- application/controllers/monfin2/Monfin2overzicht.php | 9 ++++++--- application/views/monpas/pages/monfin2/overzicht.php | 12 +++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/application/controllers/monfin2/Monfin2overzicht.php b/application/controllers/monfin2/Monfin2overzicht.php index 8f049eb..83dd712 100644 --- a/application/controllers/monfin2/Monfin2overzicht.php +++ b/application/controllers/monfin2/Monfin2overzicht.php @@ -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, ',' , '.' ); diff --git a/application/views/monpas/pages/monfin2/overzicht.php b/application/views/monpas/pages/monfin2/overzicht.php index 960ec30..640906d 100644 --- a/application/views/monpas/pages/monfin2/overzicht.php +++ b/application/views/monpas/pages/monfin2/overzicht.php @@ -148,8 +148,7 @@ - + @@ -277,7 +276,7 @@ + "> @@ -534,7 +533,7 @@ + "> @@ -659,12 +658,11 @@ + "> - +