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 ' '; + print ' '; if ($modecompta == 'BOOKKEEPING') { if (isset($decaiss[$case]) && $decaiss[$case] != 0) @@ -943,7 +943,7 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++) } print ""; - print ' '; + print ' '; if ($modecompta == 'BOOKKEEPING') { if (isset($encaiss[$case])) @@ -978,8 +978,8 @@ print ''; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { $nbcols+=2; - print ''.(isset($totsorties[$annee])?price(price2num($totsorties[$annee], 'MT')):' ').''; - print ''.(isset($totentrees[$annee])?price(price2num($totentrees[$annee], 'MT')):' ').''; + print ''.(isset($totsorties[$annee])?price(price2num($totsorties[$annee], 'MT')):' ').''; + print ''.(isset($totentrees[$annee])?price(price2num($totentrees[$annee], 'MT')):' ').''; } print "\n"; @@ -993,7 +993,7 @@ print "\n"; print ''.$langs->trans("AccountingResult").''; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { - print ' '; + print ' '; if (isset($totentrees[$annee]) || isset($totsorties[$annee])) { $in=(isset($totentrees[$annee])?price2num($totentrees[$annee], 'MT'):0); diff --git a/htdocs/compta/resultat/result.php b/htdocs/compta/resultat/result.php index 7b7d37a6cb9..fcee95b688f 100644 --- a/htdocs/compta/resultat/result.php +++ b/htdocs/compta/resultat/result.php @@ -228,18 +228,18 @@ print ''; print ''; print ''; -print ''; -print ''; +print ''; +print ''; foreach($months as $k => $v){ if (($k+1) >= $date_startmonth) { - print ''; + print ''; } } foreach($months as $k => $v){ if (($k+1) < $date_startmonth) { - print ''; + print ''; } } print ''; @@ -493,15 +493,15 @@ elseif ($modecompta=="BOOKKEEPING") } print ''; - print ''; - print ''; + print ''; + print ''; // Each month foreach($totCat['M'] as $k => $v){ - if (($k+1) >= $date_startmonth) print ''; + if (($k+1) >= $date_startmonth) print ''; } foreach($totCat['M'] as $k => $v){ - if (($k+1) < $date_startmonth) print ''; + if (($k+1) < $date_startmonth) print ''; } print "\n"; @@ -523,8 +523,8 @@ elseif ($modecompta=="BOOKKEEPING") print ' - '; print $cpt['account_label']; print ''; - print ''; - print ''; + print ''; + print ''; // 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 ''; + print ''; } } 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 ''; + print ''; } } print "\n";
'.$langs->trans("AccountingCategory").''.$langs->trans("PreviousPeriod").''.$langs->trans("SelectedPeriod").''.$langs->trans("PreviousPeriod").''.$langs->trans("SelectedPeriod").''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).''.$langs->trans('MonthShort'.sprintf("%02s", ($k+1))).'
' . price($totCat['NP']) . '' . price($totCat['N']) . '' . price($totCat['NP']) . '' . price($totCat['N']) . '' . price($v) . '' . price($v) . '' . price($v) . '' . price($v) . '
' . price($resultNP) . '' . price($resultN) . '' . price($resultNP) . '' . price($resultN) . '' . price($resultM) . '' . price($resultM) . '' . price($resultM) . '' . price($resultM) . '