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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user