cosmetic : 2 digit
This commit is contained in:
parent
8d3a357512
commit
a99916902d
2 changed files with 3 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php
|
||||
\Noalyss\Dbg::echo_file(__FILE__);
|
||||
$amount_deb=0;$amount_cred=0;
|
||||
$gDossier=dossier::id();
|
||||
global $g_failed;
|
||||
|
|
@ -94,7 +95,7 @@ $r=sprintf('<A class="detail" style="text-decoration:underline" href="javascrip
|
|||
$operation->jr_id=$element;
|
||||
$l_amount=$this->db->get_value("select jr_montant from jrn ".
|
||||
" where jr_id=$element");
|
||||
echo "<A class=\"detail\" href=\"javascript:void(0)\" onclick=\"viewOperation('".$element."',".$gDossier.")\" > ".$operation->get_internal()." [ ".nb($l_amount)." € ]</A>";
|
||||
echo "<A class=\"detail\" href=\"javascript:void(0)\" onclick=\"viewOperation('".$element."',".$gDossier.")\" > ".$operation->get_internal()." [ ".nbm($l_amount,2)." € ]</A>";
|
||||
}//for
|
||||
}// if ( $a != null ) {
|
||||
// compute amount
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ $r=sprintf('<A class="detail" style="text-decoration:underline" HREF="javascrip
|
|||
$operation->jr_id=$element;
|
||||
$l_amount=$this->db->get_value("select jr_montant from jrn ".
|
||||
" where jr_id=$element");
|
||||
echo "<A class=\"detail\" HREF=\"javascript:viewOperation('".$element."',".$gDossier.")\" > ".$operation->get_internal()." [ $l_amount € ]</A>";
|
||||
echo "<A class=\"detail\" HREF=\"javascript:viewOperation('".$element."',".$gDossier.")\" > ".$operation->get_internal()." [ ".nbm($l_amount,2)." € ]</A>";
|
||||
}//for
|
||||
}// if ( $a != null ) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue