';
print '| ' . $warehouse->getNomUrl(1) . ' | ';
+ if (! $i) $totalarray['nbfield']++;
// Location
- print ''.$objp->lieu.' | ';
+ print ''.$obj->lieu.' | ';
+ if (! $i) $totalarray['nbfield']++;
+
// Stock qty
- print ''.price2num($objp->stockqty, 5).' | ';
+ print ''.price2num($obj->stockqty, 5).' | ';
+ if (! $i) $totalarray['nbfield']++;
+
// PMP value
print '';
- if (price2num($objp->estimatedvalue, 'MT')) print price(price2num($objp->estimatedvalue, 'MT'), 1);
+ if (price2num($obj->estimatedvalue, 'MT')) print price(price2num($obj->estimatedvalue, 'MT'), 1);
else print '';
print ' | ';
+ if (! $i) $totalarray['nbfield']++;
+
// Selling value
print '';
- if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($objp->sellvalue, 'MT'), 1);
+ if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($obj->sellvalue, 'MT'), 1);
else
{
$htmltext=$langs->trans("OptionMULTIPRICESIsOn");
print $form->textwithtooltip($langs->trans("Variable"), $htmltext);
}
print ' | ';
+ if (! $i) $totalarray['nbfield']++;
+
+ // Extra fields
+ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
+
// Status
- print ''.$warehouse->LibStatut($objp->statut, 5).' | ';
+ print ''.$warehouse->LibStatut($obj->statut, 5).' | ';
+ if (! $i) $totalarray['nbfield']++;
print ' | ';
+ if (! $i) $totalarray['nbfield']++;
print "
\n";
@@ -255,6 +303,7 @@ if ($result)
print '';
print '