diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index be3a0c552cf..b98e3252ba1 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -548,7 +548,7 @@ if ($conf->facture->enabled && $conf->commande->enabled && $user->rights->comman { $obj = $db->fetch_object($resql); print ""; - print ''; + print ''; $commandestatic->id=$obj->rowid; $commandestatic->ref=$obj->ref; @@ -558,6 +558,10 @@ if ($conf->facture->enabled && $conf->commande->enabled && $user->rights->comman print $commandestatic->getNomUrl(1); print ''; + print ''; + print ' '; + print ''; + print ''; $filename=sanitize_string($obj->ref); $filedir=$conf->commande->dir_output . '/' . sanitize_string($obj->ref); @@ -641,9 +645,11 @@ if ($conf->facture->enabled && $user->rights->facture->lire) $obj = $db->fetch_object($resql); print ''; - print ''; + print ''; + print ''; print '
'; + $facturestatic->ref=$obj->facnumber; $facturestatic->id=$obj->rowid; $facturestatic->type=$obj->type;