Add link to inventory code

This commit is contained in:
wdammak 2018-05-18 16:32:46 +01:00 committed by GitHub
parent e01d9a62bc
commit 90881fe488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1067,7 +1067,15 @@ if ($resql)
if (! empty($arrayfields['m.inventorycode']['checked']))
{
// Inventory code
print '<td>'.$objp->inventorycode.'</td>';
print '<td>'.'<a href="'
.DOL_URL_ROOT.'/product/stock/mouvement.php'
.'?id='.$objp->entrepot_id
.'&amp;search_inventorycode='.$objp->inventorycode
.'&amp;search_type_mouvement='.$objp->type_mouvement
.'">'
.$objp->inventorycode
.'</a>'
.'</td>';
}
if (! empty($arrayfields['m.label']['checked']))
{