diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 6f0be0181b3..07e692b6ea9 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -30,7 +30,7 @@
require("./pre.inc.php");
-$langs->load("orders");
+$langs->load("sendings");
$langs->load("companies");
$langs->load("bills");
@@ -429,6 +429,13 @@ else
$hselected = $h;
$h++;
+ if ($conf->expedition->enabled && $user->rights->expedition->lire)
+ {
+ $head[$h][0] = DOL_URL_ROOT.'/expedition/commande.php?id='.$commande->id;
+ $head[$h][1] = $langs->trans("SendingCard");
+ $h++;
+ }
+
$head[$h][0] = DOL_URL_ROOT.'/compta/commande/fiche.php?id='.$commande->id;
$head[$h][1] = $langs->trans("ComptaCard");
$h++;
diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php
index e0b2f725f4c..8b6ad36888e 100644
--- a/htdocs/expedition/commande.php
+++ b/htdocs/expedition/commande.php
@@ -78,35 +78,42 @@ if ($_GET["id"] > 0)
$author = new User($db);
$author->id = $commande->user_author_id;
$author->fetch();
+
+ $h=0;
+ $head[$h][0] = DOL_URL_ROOT.'/commande/fiche.php?id='.$commande->id;
+ $head[$h][1] = $langs->trans("OrderCard");
+ $h++;
+
+ $head[$h][0] = DOL_URL_ROOT."/expedition/commande.php?id=".$commande->id;
+ $head[$h][1] = $langs->trans("SendingCard");
+ $hselected = $h;
+ $h++;
- print_titre("Commande : ".$commande->ref);
-
+ dolibarr_fiche_head($head, $hselected, $soc->nom." / ".$langs->trans("Order")." : $commande->ref");
/*
* Confirmation de la validation
*
*/
if ($_GET["action"] == 'cloture')
{
- $html->form_confirm("commande.php?id=".$_GET["id"],"Cloturer la commande","Etes-vous sûr de cloturer cette commande ?","confirm_cloture");
+ $html->form_confirm("commande.php?id=".$_GET["id"],"Clôturer la commande","Etes-vous sûr de vouloir clôturer cette commande ?","confirm_cloture");
+ print "
";
}
/*
*
*/
- print '