diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index d17166a78564c15f5e7f1bf17cde2f435808cf20..0aefd90498cad235d40dc1e74308765034080161 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -43,7 +43,11 @@ $user->getrights('expedition');
 
 if (!$user->rights->commande->lire) accessforbidden();
 
-require_once(DOL_DOCUMENT_ROOT.'/project.class.php');
+if ($conf->projet->enabled) 
+{
+  require_once(DOL_DOCUMENT_ROOT.'/project.class.php');
+}
+
 require_once(DOL_DOCUMENT_ROOT.'/propal.class.php');
 require_once(DOL_DOCUMENT_ROOT.'/commande/commande.class.php');
 
@@ -468,6 +472,14 @@ else
 				$head[$h][1] = $langs->trans('ComptaCard');
 				$h++;
 			}
+			
+			if ($conf->use_preview_tabs)
+		  {
+    		$head[$h][0] = DOL_URL_ROOT.'/commande/apercu.php?id='.$commande->id;
+    		$head[$h][1] = $langs->trans("Preview");
+    		$hselected=$h;
+    		$h++;
+      }
 
 			$head[$h][0] = DOL_URL_ROOT.'/commande/info.php?id='.$commande->id;
 			$head[$h][1] = $langs->trans('Info');