Merge pull request #8818 from wdammak/patch-6

NEW Add link to inventory code
This commit is contained in:
Laurent Destailleur 2018-06-30 01:19:50 +02:00 committed by GitHub
commit f9b46ee0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1027,7 +1027,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']))
{