Cosmetic : display properly currency in detail operation
This commit is contained in:
parent
099d90df95
commit
8708c63b71
5 changed files with 31 additions and 12 deletions
|
|
@ -19,8 +19,15 @@ define ("LOCALE",1);
|
|||
define ("domaine","");
|
||||
define ("MULTI",1);
|
||||
define ("dbname","");
|
||||
// Uncomment to DEBUG
|
||||
// define ("DEBUG",TRUE);
|
||||
|
||||
/*
|
||||
* DEBUGNOALYSS let you see more information when you develop.
|
||||
* 0 = for production
|
||||
* 1 = display all errors
|
||||
* 2 = display all errors + more information
|
||||
*/
|
||||
|
||||
define ("DEBUGNOALYSS",0);
|
||||
// Uncomment to log your input
|
||||
// define ("LOGINPUT",TRUE);
|
||||
// Uncomment if you want to activate the possibility to reinitialize
|
||||
|
|
@ -73,4 +80,4 @@ define ("dbname","");
|
|||
// Define a random session key if you work with different version of NOALYSS
|
||||
// define ('SESSION_KEY','abcde');
|
||||
// Max size is defined by default to 2MB, it could be also needed to modify PHP Ini file
|
||||
// define ("MAX_FILE_SIZE",2097152);
|
||||
// define ("MAX_FILE_SIZE",2097152);
|
||||
|
|
|
|||
|
|
@ -287,9 +287,9 @@ $str_anc="";
|
|||
$four_space=" "." "." "." ";
|
||||
|
||||
echo $currency->get_code(),$four_space;
|
||||
echo _("Taux utilisé")," ", $obj->det->currency_rate,$four_space;
|
||||
echo _("Taux Réf"), " ",$obj->det->currency_rate_ref.$four_space;
|
||||
echo _("Montant en devise"), " ",nbm($sum_charge_euro).$four_space;
|
||||
echo _("Taux utilisé")," ", nbm($obj->det->currency_rate,4),$four_space;
|
||||
echo _("Taux Réf"), " ",nbm($obj->det->currency_rate_ref,4).$four_space;
|
||||
echo _("Montant en devise"), " ",nbm($sum_charge_euro,4).$four_space;
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -207,9 +207,10 @@ $amount_idx=0; $sum_prod_currency=0;
|
|||
$four_space=" "." "." "." ";
|
||||
|
||||
echo $currency->get_code(),$four_space;
|
||||
echo _("Taux utilisé")," ", $obj->det->currency_rate,$four_space;
|
||||
echo _("Taux Réf"), " ",$obj->det->currency_rate_ref.$four_space;
|
||||
echo _("Montant en devise"), " ",$sum_prod_currency,$four_space;
|
||||
echo _("Taux utilisé")," ", nbm($obj->det->currency_rate,4),$four_space;
|
||||
echo _("Taux Réf"), " ",nbm($obj->det->currency_rate_ref,4).$four_space;
|
||||
echo _("Montant en devise"), " ",nbm($sum_prod_currency,4).$four_space;
|
||||
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -297,9 +297,9 @@ echo $ipaid->input();
|
|||
$four_space=" "." "." "." ";
|
||||
|
||||
echo $currency->get_code(),$four_space;
|
||||
echo _("Taux utilisé")," ", $obj->det->currency_rate,$four_space;
|
||||
echo _("Taux Réf"), " ",$obj->det->currency_rate_ref.$four_space;
|
||||
echo _("Montant en devise"), " ",$sum_prod_currency,$four_space;
|
||||
echo _("Taux utilisé")," ", nbm($obj->det->currency_rate,4),$four_space;
|
||||
echo _("Taux Réf"), " ",nbm($obj->det->currency_rate_ref,4).$four_space;
|
||||
echo _("Montant en devise"), " ",nbm($sum_prod_currency,4).$four_space;
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -87,6 +87,17 @@ echo $f_accounting->input(); ?>
|
|||
<?php echo $f_paid->input(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align:right;width:30em">
|
||||
<?php echo _('Devise')?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo $sCurrency->input(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="text-align:right;width:30em">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue