Fix: mise en majuscule des noms de pays
This commit is contained in:
parent
58d740a96b
commit
aaaa8add52
@ -293,7 +293,7 @@ class AdresseLivraison
|
||||
$ligne->adresse_full = stripslashes($objp->address) . "\n". $objp->cp . ' '. stripslashes($objp->ville);
|
||||
$ligne->pays_id = $objp->fk_pays;
|
||||
$ligne->pays_code = $objp->fk_pays?$objp->pays_code:'';
|
||||
$ligne->pays = $objp->fk_pays?($langs->trans('Country'.$objp->pays_code)!='Country'.$objp->pays_code?$langs->trans('Country'.$objp->pays_code):$objp->pays):'';
|
||||
$ligne->pays = $objp->fk_pays?($langs->trans('Country'.$objp->pays_code)!='Country'.$objp->pays_code?strtoupper($langs->trans('Country'.$objp->pays_code)):$objp->pays):'';
|
||||
$ligne->note = $objp->note;
|
||||
|
||||
$this->lignes[$i] = $ligne;
|
||||
|
||||
@ -541,7 +541,7 @@ class Societe
|
||||
|
||||
$this->pays_id = $obj->fk_pays;
|
||||
$this->pays_code = $obj->fk_pays?$obj->pays_code:'';
|
||||
$this->pays = $obj->fk_pays?($langs->trans('Country'.$obj->pays_code)!='Country'.$obj->pays_code?$langs->trans('Country'.$obj->pays_code):$obj->pays):'';
|
||||
$this->pays = $obj->fk_pays?($langs->trans('Country'.$obj->pays_code)!='Country'.$obj->pays_code?strtoupper($langs->trans('Country'.$obj->pays_code)):$obj->pays):'';
|
||||
|
||||
$this->departement_id = $obj->fk_departement;
|
||||
$this->departement= $obj->fk_departement?$obj->departement:'';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user