diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index c22d551be04..702cc057568 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -1916,8 +1916,8 @@ if ($resql) {
// Action column
- if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
- print '
';
+ if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
+ print ' | ';
if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
$selected = 0;
if (in_array($obj->id, $arrayofselected)) {
@@ -2407,14 +2407,14 @@ if ($resql) {
// Total buying or cost price
if (!empty($arrayfields['total_pa']['checked'])) {
- print ' | '.price($marginInfo['pa_total']).' | ';
+ print ''.price($marginInfo['pa_total'], 0, $langs, 1, -1, 'MT').' | ';
if (!$i) {
$totalarray['nbfield']++;
}
}
// Total margin
if (!empty($arrayfields['total_margin']['checked'])) {
- print ''.price($marginInfo['total_margin']).' | ';
+ print ''.price($marginInfo['total_margin'], 0, $langs, 1, -1, 'MT').' | ';
if (!$i) {
$totalarray['nbfield']++;
}
@@ -2528,7 +2528,7 @@ if ($resql) {
// Action column (Show the massaction button only when this page is not opend from the Extended POS)
- if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
+ if (!getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '';
if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
$selected = 0;
|