Add date_livraison substitution
Complete the substitution for supplier orders.
This commit is contained in:
parent
59e993e834
commit
78f8607d41
@ -5889,6 +5889,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob
|
|||||||
// For backward compatibility
|
// For backward compatibility
|
||||||
$substitutionarray['__REFCLIENT__'] = (isset($object->ref_client) ? $object->ref_client : (isset($object->ref_customer) ? $object->ref_customer : null));
|
$substitutionarray['__REFCLIENT__'] = (isset($object->ref_client) ? $object->ref_client : (isset($object->ref_customer) ? $object->ref_customer : null));
|
||||||
$substitutionarray['__REFSUPPLIER__'] = (isset($object->ref_supplier) ? $object->ref_supplier : null);
|
$substitutionarray['__REFSUPPLIER__'] = (isset($object->ref_supplier) ? $object->ref_supplier : null);
|
||||||
|
$substitutionarray['__DATE_LIVRAISON__'] = (isset($object->date_livraison) ? dol_print_date($object->date_livraison, 'day', 0, $outputlangs): '');
|
||||||
|
|
||||||
// TODO Remove this
|
// TODO Remove this
|
||||||
$msgishtml = 0;
|
$msgishtml = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user