Merge pull request #14681 from bafbes/abb120139
FIX replace values of __YEAR__, __MONTH__ and __DAY__ in member docs
This commit is contained in:
commit
e418046ce5
@ -251,6 +251,11 @@ class pdf_standard extends CommonStickerGenerator
|
|||||||
{
|
{
|
||||||
if ($object->country == '-') $object->country = '';
|
if ($object->country == '-') $object->country = '';
|
||||||
|
|
||||||
|
$now = dol_now();
|
||||||
|
$year = dol_print_date($now, '%Y');
|
||||||
|
$month = dol_print_date($now, '%m');
|
||||||
|
$day = dol_print_date($now, '%d');
|
||||||
|
|
||||||
// List of values to scan for a replacement
|
// List of values to scan for a replacement
|
||||||
$substitutionarray = array(
|
$substitutionarray = array(
|
||||||
'__ID__' => $object->id,
|
'__ID__' => $object->id,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user