Browse Source

Update sellsjournal.php

Charlène Benke 1 year ago
parent
commit
6707f35556
1 changed files with 2 additions and 1 deletions
  1. 2 1
      htdocs/compta/journal/sellsjournal.php

+ 2 - 1
htdocs/compta/journal/sellsjournal.php

@@ -79,7 +79,8 @@ llxHeader('', $langs->trans("SellsJournal"), '', '', 0, 0, '', '', $morequery);
 
 
 $year_current = dol_print_date(dol_now('gmt'), "%Y", 'gmt');
-$pastmonth = strftime("%m", dol_now()) - 1;
+//$pastmonth = strftime("%m", dol_now()) - 1;
+$pastmonth = dol_print_date(dol_now(), "%m") - 1;
 $pastmonthyear = $year_current;
 if ($pastmonth == 0) {
 	$pastmonth = 12;