Skip to content
Snippets Groups Projects
Commit 92be7586 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Year, then month to have files sorted

parent b6fe8b2e
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ class pdf_paiement
$month = sprintf("%02d",$month);
$year = sprintf("%04d",$year);
$file = $dir . "/payments-".$month."-".$year.".pdf";
$file = $dir . "/payments-".$year."-".$month.".pdf";
// Protection et encryption du pdf
if ($conf->global->PDF_SECURITY_ENCRYPTION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment