diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php
index 9eb67cecc56..003f3fab255 100644
--- a/htdocs/commande/class/commande.class.php
+++ b/htdocs/commande/class/commande.class.php
@@ -3081,17 +3081,29 @@ class Commande extends CommonOrder
if ($short) return $url;
$picto = 'order';
- $label = '' . $langs->trans("ShowOrder") . '';
- if (! empty($this->ref))
- $label .= '
' . $langs->trans('Ref') . ': ' . $this->ref;
- if (! empty($this->ref_client))
- $label.= '
' . $langs->trans('RefCustomer') . ': ' . $this->ref_client;
- if (! empty($this->total_ht))
- $label.= '
' . $langs->trans('AmountHT') . ': ' . price($this->total_ht, 0, $langs, 0, -1, -1, $conf->currency);
- if (! empty($this->total_tva))
- $label.= '
' . $langs->trans('VAT') . ': ' . price($this->total_tva, 0, $langs, 0, -1, -1, $conf->currency);
- if (! empty($this->total_ttc))
- $label.= '
' . $langs->trans('AmountTTC') . ': ' . price($this->total_ttc, 0, $langs, 0, -1, -1, $conf->currency);
+ $label = '';
+
+ if ($user->rights->commande->lire) {
+ $label = ''.$langs->trans("ShowOrder").'';
+ if (!empty($this->ref)) {
+ $label .= '
'.$langs->trans('Ref').': '.$this->ref;
+ }
+ if (!empty($this->ref_client)) {
+ $label .= '
'.$langs->trans('RefCustomer').': '.$this->ref_client;
+ }
+ if (!empty($this->total_ht)) {
+ $label .= '
'.$langs->trans('AmountHT').': '.price($this->total_ht, 0, $langs, 0, -1, -1,
+ $conf->currency);
+ }
+ if (!empty($this->total_tva)) {
+ $label .= '
'.$langs->trans('VAT').': '.price($this->total_tva, 0, $langs, 0, -1, -1,
+ $conf->currency);
+ }
+ if (!empty($this->total_ttc)) {
+ $label .= '
'.$langs->trans('AmountTTC').': '.price($this->total_ttc, 0, $langs, 0, -1, -1,
+ $conf->currency);
+ }
+ }
$linkstart = '';
$linkend='';