2
0
forked from Wavyzz/dolibarr

Fix: uniformize code

Fix: if the contact's address is empty, it uses one of the company
This commit is contained in:
Regis Houssin
2009-12-23 10:07:48 +00:00
parent 2df0d15ef7
commit 3b5735bd9c
41 changed files with 177 additions and 161 deletions

View File

@@ -133,7 +133,7 @@ class html_cerfafr extends ModeleDon
$html = str_replace('__CURRENCY__',$outputlangs->transnoentitiesnoconv("Currency".$conf->monnaie),$html);
$html = str_replace('__CURRENCYCODE__',$conf->monnaie,$html);
$html = str_replace('__MAIN_INFO_SOCIETE_NOM__',$mysoc->nom,$html);
$html = str_replace('__MAIN_INFO_SOCIETE_ADRESSE__',$mysoc->adresse,$html);
$html = str_replace('__MAIN_INFO_SOCIETE_ADRESSE__',$mysoc->address,$html);
$html = str_replace('__MAIN_INFO_SOCIETE_CP__',$mysoc->cp,$html);
$html = str_replace('__MAIN_INFO_SOCIETE_VILLE__',$mysoc->ville,$html);
$html = str_replace('__DONATOR_NAME__',$don->nom,$html);