diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 8b380f417dd..cd4ca8dcc65 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -203,6 +203,8 @@ else if ( $result ) { + if ($action <> 'edit' && $action <> 're-edit') + { print ''; print ''; print ''; @@ -269,7 +271,7 @@ else if ($action == 'edit_price' && $user->rights->produit->creer) { - print '
Edition de la fiche '.$types[$product->type].' : '.$product->ref.'

'; + print '
Nouveau prix

'; print "\n"; print ''; @@ -283,12 +285,12 @@ else print '
'; print ''; } - + } if (($action == 'edit' || $action == 're-edit') && $user->rights->produit->creer) { - print '
Edition de la fiche '.$types[$product->type].' : '.$product->ref.'

'; + print_fiche_titre('Edition de la fiche '.$types[$product->type].' : '.$product->ref, $mesg); print "
\n"; print ''; @@ -297,7 +299,6 @@ else print "".'Référence'; print 'Libellé'; - print "".'Prix de vente'.price($product->price).''; print "".'Taux TVA'; $html = new Form($db); print $html->select_tva("tva_tx", $product->tva_tx); @@ -363,7 +364,7 @@ else print ''; print ''; print '
'; - } + } } else {