fix: le pays n'tait pas sauvegard, ni affich
This commit is contained in:
parent
69e0d00fd1
commit
4a073ae76b
@ -176,7 +176,7 @@ class Entrepot
|
||||
$this->ville = $obj->ville;
|
||||
$this->pays_id = $obj->fk_pays;
|
||||
|
||||
if ($soc->pays_id)
|
||||
if ($this->pays_id)
|
||||
{
|
||||
$sql = "SELECT libelle from ".MAIN_DB_PREFIX."c_pays where rowid = ".$this->pays_id;
|
||||
$resql=$db->query($sql);
|
||||
|
||||
@ -211,7 +211,7 @@ else
|
||||
print '<td width="25%">'.$langs->trans('Town').'</td><td width="25%">'.$entrepot->ville.'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">';
|
||||
print $entrepot->pays_id;
|
||||
print $entrepot->pays;
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr><td width="20%">'.$langs->trans("Status").'</td><td colspan="3">'.$entrepot->statuts[$entrepot->statut].'</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user