diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php index 5181ae02667..addc56a240b 100644 --- a/htdocs/compta/resultat/index.php +++ b/htdocs/compta/resultat/index.php @@ -922,7 +922,7 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++) if($mois>12) {$annee_decalage=$annee+1;} $case = strftime("%Y-%m", dol_mktime(12, 0, 0, $mois_modulo, 1, $annee_decalage)); - print '
| '.$langs->trans("AccountingCategory").' | '; print ''; -print ' | '.$langs->trans("PreviousPeriod").' | '; -print ''.$langs->trans("SelectedPeriod").' | '; +print ''.$langs->trans("PreviousPeriod").' | '; +print ''.$langs->trans("SelectedPeriod").' | '; foreach($months as $k => $v){ if (($k+1) >= $date_startmonth) { - print ''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).' | '; + print ''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).' | '; } } foreach($months as $k => $v){ if (($k+1) < $date_startmonth) { - print ''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).' | '; + print ''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).' | '; } } print ''; @@ -493,15 +493,15 @@ elseif ($modecompta=="BOOKKEEPING") } print ''; - print '' . price($totCat['NP']) . ' | '; - print '' . price($totCat['N']) . ' | '; + print '' . price($totCat['NP']) . ' | '; + print '' . price($totCat['N']) . ' | '; // Each month foreach($totCat['M'] as $k => $v){ - if (($k+1) >= $date_startmonth) print '' . price($v) . ' | '; + if (($k+1) >= $date_startmonth) print '' . price($v) . ' | '; } foreach($totCat['M'] as $k => $v){ - if (($k+1) < $date_startmonth) print '' . price($v) . ' | '; + if (($k+1) < $date_startmonth) print '' . price($v) . ' | '; } print "\n"; @@ -523,8 +523,8 @@ elseif ($modecompta=="BOOKKEEPING") print ' - '; print $cpt['account_label']; print ''; - print '' . price($resultNP) . ' | '; - print '' . price($resultN) . ' | '; + print '' . price($resultNP) . ' | '; + print '' . price($resultN) . ' | '; // Make one call for each month foreach($months as $k => $v) @@ -532,7 +532,7 @@ elseif ($modecompta=="BOOKKEEPING") if (($k+1) >= $date_startmonth) { $resultM=$totPerAccount[$cpt['account_number']]['M'][$k]; - print '' . price($resultM) . ' | '; + print '' . price($resultM) . ' | '; } } foreach($months as $k => $v) @@ -540,7 +540,7 @@ elseif ($modecompta=="BOOKKEEPING") if (($k+1) < $date_startmonth) { $resultM=$totPerAccount[$cpt['account_number']]['M'][$k]; - print '' . price($resultM) . ' | '; + print '' . price($resultM) . ' | '; } } print "\n";
|---|