Merge pull request #1308 from FHenry/3.4

 	[ bug #1142 ] Set paiement on invoice
remove useless code (the tag replacement into footer and header is
already done by SetVar method)
Merge branch '3.4' of https://github.com/Dolibarr/dolibarr.git into 3.4