New: Year, then month to have files sorted
This commit is contained in:
parent
b6fe8b2ec4
commit
92be758692
@ -101,7 +101,7 @@ class pdf_paiement
|
|||||||
|
|
||||||
$month = sprintf("%02d",$month);
|
$month = sprintf("%02d",$month);
|
||||||
$year = sprintf("%04d",$year);
|
$year = sprintf("%04d",$year);
|
||||||
$file = $dir . "/payments-".$month."-".$year.".pdf";
|
$file = $dir . "/payments-".$year."-".$month.".pdf";
|
||||||
|
|
||||||
// Protection et encryption du pdf
|
// Protection et encryption du pdf
|
||||||
if ($conf->global->PDF_SECURITY_ENCRYPTION)
|
if ($conf->global->PDF_SECURITY_ENCRYPTION)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user