Browse Source

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

prodstable
keun 7 years ago
parent
commit
a75d363db1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      common/models/Commande.php

+ 3
- 0
common/models/Commande.php View File

{ {
return Html::encode($this->user->prenom.' '.$this->user->nom) ; return Html::encode($this->user->prenom.' '.$this->user->nom) ;
} }
elseif(strlen($this->username)) {
return Html::encode($this->username) ;
}
else { else {
return 'Client introuvable' ; return 'Client introuvable' ;
} }

Loading…
Cancel
Save