';
- print '| ' . $langs->trans("TotalVente") . ' | ';
+ print '
| ' . $langs->trans("TotalVente") . ' | ';
for($i = 1; $i <= 12; $i ++) {
$j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START?$conf->global->SOCIETE_FISCAL_MONTH_START:1) - 1;
if ($j > 12) $j-=12;
- print '' . $langs->trans('MonthShort' . str_pad($j, 2, '0', STR_PAD_LEFT)) . ' | ';
+ print '' . $langs->trans('MonthShort' . str_pad($j, 2, '0', STR_PAD_LEFT)) . ' | ';
}
- print '' . $langs->trans("Total") . ' |
';
+ print '' . $langs->trans("Total") . ' | ';
$sql = "SELECT '" . $langs->trans("TotalVente") . "' AS total,";
for($i = 1; $i <= 12; $i ++) {
@@ -348,9 +348,9 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) // This part of code looks strange.
while ($row = $db->fetch_row($resql)) {
print '| ' . $row[0] . ' | ';
for($i = 1; $i <= 12; $i ++) {
- print '' . price($row[$i]) . ' | ';
+ print '' . price($row[$i]) . ' | ';
}
- print '' . price($row[13]) . ' | ';
+ print '' . price($row[13]) . ' | ';
print '
';
}
$db->free($resql);
@@ -369,9 +369,9 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) // This part of code looks strange.
for($i = 1; $i <= 12; $i ++) {
$j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START?$conf->global->SOCIETE_FISCAL_MONTH_START:1) - 1;
if ($j > 12) $j-=12;
- print '' . $langs->trans('MonthShort' . str_pad($j, 2, '0', STR_PAD_LEFT)) . ' | ';
+ print '' . $langs->trans('MonthShort' . str_pad($j, 2, '0', STR_PAD_LEFT)) . ' | ';
}
- print '' . $langs->trans("Total") . ' | ';
+ print '' . $langs->trans("Total") . ' | ';
$sql = "SELECT '" . $langs->trans("Vide") . "' AS marge,";
for($i = 1; $i <= 12; $i ++) {
@@ -401,9 +401,9 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) // This part of code looks strange.
print '| ' . $row[0] . ' | ';
for($i = 1; $i <= 12; $i ++) {
- print '' . price(price2num($row[$i])) . ' | ';
+ print '' . price(price2num($row[$i])) . ' | ';
}
- print '' . price(price2num($row[13])) . ' | ';
+ print '' . price(price2num($row[13])) . ' | ';
print '
';
}
$db->free($resql);
diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php
index f13344c936b..46ebb8b4bc8 100644
--- a/htdocs/accountancy/customer/lines.php
+++ b/htdocs/accountancy/customer/lines.php
@@ -383,9 +383,9 @@ if ($result) {
print $form->textwithtooltip(dol_trunc($text,$trunclength), $objp->description);
print '';
- print '' . price($objp->total_ht) . ' | ';
+ print '' . price($objp->total_ht) . ' | ';
- print '' . vatrate($objp->tva_tx.($objp->vat_src_code?' ('.$objp->vat_src_code.')':'')) . ' | ';
+ print '' . vatrate($objp->tva_tx.($objp->vat_src_code?' ('.$objp->vat_src_code.')':'')) . ' | ';
print '' . $langs->trans("Country".$objp->country_code) .' ('.$objp->country_code.') | ';
diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php
index 9f95c6857b0..c6c12a26f31 100644
--- a/htdocs/accountancy/customer/list.php
+++ b/htdocs/accountancy/customer/list.php
@@ -483,7 +483,7 @@ if ($result) {
print $form->textwithtooltip(dol_trunc($text,$trunclength), $objp->description);
print '';
- print '';
+ print ' | ';
print price($objp->total_ht);
print ' | ';