diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 12ed16cb2be..d58b5c5ba3a 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1464,6 +1464,7 @@ else { print_titre($langs->trans('RelatedBills')); $i = 0; $total = 0; + print '
'; print ''; print '"; print ''; diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php index ed50ad388dd..fa429d2ec59 100644 --- a/htdocs/compta/commande/fiche.php +++ b/htdocs/compta/commande/fiche.php @@ -524,8 +524,8 @@ if ($_GET["id"] > 0) $relativepath = $comref.'/'.$comref.'.pdf'; $filedir = $conf->commande->dir_output . '/' . $comref; $urlsource=$_SERVER["PHP_SELF"]."?id=".$commande->id; - $genallowed=$user->rights->commande->creer; - $delallowed=$user->rights->commande->supprimer; + $genallowed=0; + $delallowed=0; $html->show_documents('commande',$comref,$filedir,$urlsource,$genallowed,$delallowed,$commande->modelpdf);
'.$langs->trans('Ref')."'.$langs->trans('Date').'