fix: replace values of __YEAR__, __MONTH__ and __DAY__ in member docs
This commit is contained in:
parent
b90a5f2b76
commit
f08c91fcc6
@ -267,9 +267,9 @@ class pdf_standard extends CommonStickerGenerator
|
|||||||
'__EMAIL__'=>$object->email,
|
'__EMAIL__'=>$object->email,
|
||||||
'__BIRTH__'=>dol_print_date($object->birth, 'day'),
|
'__BIRTH__'=>dol_print_date($object->birth, 'day'),
|
||||||
'__TYPE__'=>$object->type,
|
'__TYPE__'=>$object->type,
|
||||||
'__YEAR__'=>$year,
|
'__YEAR__'=>date('Y', dol_now()),
|
||||||
'__MONTH__'=>$month,
|
'__MONTH__'=>date('m', dol_now()),
|
||||||
'__DAY__'=>$day,
|
'__DAY__'=>date('d', dol_now()),
|
||||||
'__DOL_MAIN_URL_ROOT__'=>DOL_MAIN_URL_ROOT,
|
'__DOL_MAIN_URL_ROOT__'=>DOL_MAIN_URL_ROOT,
|
||||||
'__SERVER__'=>"http://".$_SERVER["SERVER_NAME"]."/"
|
'__SERVER__'=>"http://".$_SERVER["SERVER_NAME"]."/"
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user