This commit is contained in:
Laurent Destailleur 2022-07-29 13:58:30 +02:00
parent 59b2412bc2
commit aca6b848d2

View File

@ -141,7 +141,7 @@ print '</div><div class="fichetwothirdright">';
$max = 10;
$sql = "SELECT p.rowid, p.label as produit, p.tobatch, p.tosell, p.tobuy,";
$sql .= " e.ref as warehouse_ref, e.rowid as warehouse_id, e.ref as warehouse_label, e.lieu, e.statut as warehouse_status,";
$sql .= " m.value as qty, m.datem, m.batch, m.eatby, m.sellby";
$sql .= " m.rowid as mid, m.value as qty, m.datem, m.batch, m.eatby, m.sellby";
$sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e";
$sql .= ", ".MAIN_DB_PREFIX."stock_mouvement as m";
$sql .= ", ".MAIN_DB_PREFIX."product as p";
@ -200,7 +200,7 @@ if ($resql) {
$tmplotstatic->eatby = $objp->eatby;
print '<tr class="oddeven">';
print '<td class="nowraponall">'.dol_print_date($db->jdate($objp->datem), 'dayhour').'</td>';
print '<td class="nowraponall">'.img_picto($langs->trans("Ref").' '.$objp->mid, 'movement', 'class="pictofixedwidth"').dol_print_date($db->jdate($objp->datem), 'dayhour').'</td>';
print '<td class="tdoverflowmax200">';
print $producttmp->getNomUrl(1);
print "</td>\n";