From b93201b062d74830f0a796fdb06ea31cb3e8dd90 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 1 Jun 2006 16:59:49 +0000 Subject: [PATCH] Fix: mise en page --- htdocs/commande/fiche.php | 1 + htdocs/compta/commande/fiche.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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').'