Add status batch for getNomUrl
This commit is contained in:
parent
fd275a636c
commit
1c0fdcda7a
@ -272,7 +272,7 @@ print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||
* Last modified products
|
||||
*/
|
||||
$max=15;
|
||||
$sql = "SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.fk_price_expression,";
|
||||
$sql = "SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression,";
|
||||
$sql.= " p.entity,";
|
||||
$sql.= " p.tms as datem";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."product as p";
|
||||
@ -336,7 +336,8 @@ if ($result)
|
||||
$product_static->ref=$objp->ref;
|
||||
$product_static->label = $objp->label;
|
||||
$product_static->type=$objp->fk_product_type;
|
||||
$product_static->entity = $objp->entity;
|
||||
$product_static->entity = $objp->entity;
|
||||
$product_static->status_batch = $objp->tobatch;
|
||||
print $product_static->getNomUrl(1,'',16);
|
||||
print "</td>\n";
|
||||
print '<td>'.dol_trunc($objp->label,32).'</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user