';
-
- // Reference
- print '';
- print '| '.$langs->trans("Ref").' | ';
- print $form->showrefnav($object,'ref','',1,'ref');
- print ' | ';
- print '
';
-
- // Libelle
- print '| '.$langs->trans("Label").' | '.$object->label.' | ';
- print '
';
-
- // Status (to sell)
- print '| '.$langs->trans("Status").' ('.$langs->trans("Sell").') | ';
- print $object->getLibStatut(2,0);
- print ' |
';
-
- // Status (to buy)
- print '| '.$langs->trans("Status").' ('.$langs->trans("Buy").') | ';
- print $object->getLibStatut(2,1);
- print ' |
';
-
- print "
\n";
-
- print "\n";
-
-
- $permtoedit=0;
- if ($user->rights->produit->creer && $object->type == Product::TYPE_PRODUCT) $permtoedit=1;
- if ($user->rights->service->creer && $object->type == Product::TYPE_SERVICE) $permtoedit=1;
- if (empty($conf->global->MAIN_UPLOAD_DOC)) $permtoedit=0;
-
- /* ************************************************************************** */
- /* */
- /* Barre d'action */
- /* */
- /* ************************************************************************** */
-/*
- print "\n