Procházet zdrojové kódy

Correctif : username dans dernières commandes du tableau de bord du backend

prodstable
keun před 8 roky
rodič
revize
a75d363db1
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +3
    -0
      common/models/Commande.php

+ 3
- 0
common/models/Commande.php Zobrazit soubor

@@ -344,6 +344,9 @@ class Commande extends \yii\db\ActiveRecord
{
return Html::encode($this->user->prenom.' '.$this->user->nom) ;
}
elseif(strlen($this->username)) {
return Html::encode($this->username) ;
}
else {
return 'Client introuvable' ;
}

Načítá se…
Zrušit
Uložit