diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index eecbee63c52..08856cd81d4 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -52,6 +52,7 @@ $fieldid = isset($_GET["ref"])?'ref':'rowid'; $socid=$user->societe_id?$user->societe_id:0; $result=restrictedArea($user,'produit|service',$id,'product','','',$fieldid); +// For canvas usage if (empty($_GET["canvas"])) { $_GET["canvas"] = 'default@product'; @@ -642,6 +643,8 @@ if ($_GET["action"] == 'create' && ($user->rights->produit->creer || $user->righ else $title=$langs->trans("NewProduct"); print_fiche_titre($title); + if ($mesg) print $mesg."\n"; + print '
| '.$langs->trans("Ref").' | '; |