';
+
+ print '
';
+ print '
';
+
+
+ // Product
+ print '| '.$langs->trans("Product").' | ';
+ $producttmp = new Product($db);
+ $producttmp->fetch($object->fk_product);
+ print $producttmp->getNomUrl(1, 'stock')." - ".$producttmp->label;
+ print ' |
';
+ print "
";
+
+ echo '
';
+
+// // Sell by
+// if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) {
+// print '
| ';
+// print $form->editfieldkey($langs->trans('SellByDate'), 'sellby', $object->sellby, $object, $user->rights->stock->creer, 'datepicker');
+// print ' | ';
+// print $form->editfieldval($langs->trans('SellByDate'), 'sellby', $object->sellby, $object, $user->rights->stock->creer, 'datepicker');
+// print ' | ';
+// print '
';
+// }
+//
+// // Eat by
+// if (empty($conf->global->PRODUCT_DISABLE_EATBY)) {
+// print '
| ';
+// print $form->editfieldkey($langs->trans('EatByDate'), 'eatby', $object->eatby, $object, $user->rights->stock->creer, 'datepicker');
+// print ' | ';
+// print $form->editfieldval($langs->trans('EatByDate'), 'eatby', $object->eatby, $object, $user->rights->stock->creer, 'datepicker');
+// print ' | ';
+// print '
';
+// }
+//
+// if (!empty($conf->global->PRODUCT_LOT_ENABLE_TRACEABOLITY)) {
+// print '
| '.$form->editfieldkey($langs->trans('ManufacturingDate'), 'manufacturing_date', $object->manufacturing_date, $object, $user->rights->stock->creer).' | ';
+// print ''.$form->editfieldval($langs->trans('ManufacturingDate'), 'manufacturing_date', $object->manufacturing_date, $object, $user->rights->stock->creer, 'datepicker').' | ';
+// print '
';
+// // print '
| '.$form->editfieldkey($langs->trans('FirstUseDate'), 'commissionning_date', $object->commissionning_date, $object, $user->rights->stock->creer).' | ';
+// // print ''.$form->editfieldval($langs->trans('FirstUseDate'), 'commissionning_date', $object->commissionning_date, $object, $user->rights->stock->creer, 'datepicker').' | ';
+// // print '
';
+// print '
| '.$form->editfieldkey($langs->trans('DestructionDate'), 'scrapping_date', $object->scrapping_date, $object, $user->rights->stock->creer).' | ';
+// print ''.$form->editfieldval($langs->trans('DestructionDate'), 'scrapping_date', $object->scrapping_date, $object, $user->rights->stock->creer, 'datepicker').' | ';
+// print '
';
+// }
+//
+// // Quality control
+// if (!empty($conf->global->PRODUCT_LOT_ENABLE_QUALITY_CONTROL)) {
+// print '
| '.$form->editfieldkey($langs->trans('EndOfLife'), 'eol_date', $object->eol_date, $object, $user->rights->stock->creer).' | ';
+// print ''.$form->editfieldval($langs->trans('EndOfLife'), 'eol_date', $object->eol_date, $object, $user->rights->stock->creer, 'datepicker').' | ';
+// print '
';
+// print '
| '.$form->editfieldkey($langs->trans('QCFrequency'), 'qc_frequency', $object->qc_frequency, $object, $user->rights->stock->creer).' | ';
+// print ''.$form->editfieldval($langs->trans('QCFrequency'), 'qc_frequency', $object->qc_frequency, $object, $user->rights->stock->creer, 'numeric').' | ';
+// print '
';
+// }
+//
+// // Other attributes
+// include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php';
+
+ print '
';
+
+ $nboflines = show_stats_for_batch($object, $socid);
+
+ print "
";
+
+ print '
';
+ print '