diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index dc8d08243ae..a81069d21dd 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1071,7 +1071,7 @@ else print ''; + if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print ''; print '
'; print $langs->trans("BarcodeType"); print ''; - if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print 'id.'">'.img_edit($langs->trans('SetBarcodeType'),1).'id.'">'.img_edit($langs->trans('Edit'),1).'
'; print ''; if ($_GET['action'] == 'editbarcodetype') @@ -1092,7 +1092,7 @@ else print ''; + if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print ''; print '
'; print $langs->trans("BarcodeValue"); print ''; - if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print 'id.'">'.img_edit($langs->trans('SetBarcode'),1).'id.'">'.img_edit($langs->trans('Edit'),1).'
'; print ''; if ($_GET['action'] == 'editbarcode')