Explorar el Código

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

prodstable
keun hace 8 años
padre
commit
a75d363db1
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      common/models/Commande.php

+ 3
- 0
common/models/Commande.php Ver fichero

@@ -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' ;
}

Cargando…
Cancelar
Guardar