diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 13f7e36ff39..671b2c58d40 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -288,8 +288,14 @@ else print_date_select($obj->df); print ""; - - print "Auteur :".' '.""; + + $authorfullname=" "; + if ($fac->author) { + $author = new User($db, $fac->author); + $author->fetch(''); + $authorfullname=$author->fullname; + } + print "Auteur :$authorfullname"; print ""; print ""; print ""; @@ -359,7 +365,14 @@ else print "Libellé"; print $obj->libelle; print ""; - print "Auteur$fac->author "; + + $authorfullname=" "; + if ($fac->author) { + $author = new User($db, $fac->author); + $author->fetch(''); + $authorfullname=$author->fullname; + } + print "Auteur$authorfullname"; print "".' Total HT'.price($fac->total_ht).""; print 'TVA'.price($fac->total_tva)."";