Mutualize code for forms to send emails. Remove thousand line of code.

This commit is contained in:
Laurent Destailleur
2017-09-17 15:38:50 +02:00
parent e014ac6ea9
commit ab5724e7ff
29 changed files with 839 additions and 1410 deletions

View File

@@ -5258,7 +5258,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob
}
}
$substitutionarray['__ONLINE_PAYMENT_XXX__'] = 'todo';
$substitutionarray['__ONLINE_PAYMENT_URL__'] = 'LinkToPayOnlineIfApplicable';
}
if (empty($exclude) || ! in_array('objectamount', $exclude))
{