diff --git a/include/template/letter_all.php b/include/template/letter_all.php index d5059aa82..b71cd7e82 100644 --- a/include/template/letter_all.php +++ b/include/template/letter_all.php @@ -2,6 +2,7 @@ //This file is part of NOALYSS and is under GPL //see licence.txt ?>jr_id=$element; $l_amount=$this->db->get_value("select jr_montant from jrn ". " where jr_id=$element"); - echo " ".$operation->get_internal()." [ ".nb($l_amount)." € ]"; + echo " ".$operation->get_internal()." [ ".nbm($l_amount,2)." € ]"; }//for }// if ( $a != null ) { // compute amount diff --git a/include/template/letter_prop.php b/include/template/letter_prop.php index 4b4b6cd42..845b2d0f2 100644 --- a/include/template/letter_prop.php +++ b/include/template/letter_prop.php @@ -138,7 +138,7 @@ $r=sprintf(' ".$operation->get_internal()." [ $l_amount € ]"; + echo " ".$operation->get_internal()." [ ".nbm($l_amount,2)." € ]"; }//for }// if ( $a != null ) {