Update pdf_standard.class.php
This commit is contained in:
parent
221c54c16f
commit
b99192bdb2
@ -251,10 +251,11 @@ class pdf_standard extends CommonStickerGenerator
|
|||||||
{
|
{
|
||||||
if ($object->country == '-') $object->country = '';
|
if ($object->country == '-') $object->country = '';
|
||||||
|
|
||||||
$year = date('Y', dol_now())
|
$now = dol_now();
|
||||||
$month = date('m', dol_now())
|
$year = dol_print_date($now, '%Y');
|
||||||
$day = date('d', dol_now())
|
$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