Fix missing ref is object is supplier object

This commit is contained in:
Laurent Destailleur 2016-12-22 17:41:58 +01:00
parent 39bd9a69ec
commit 293560f9c1

View File

@ -751,6 +751,11 @@ foreach ($listofreferent as $key => $value)
}
print $formfile->getDocumentsLink($element_doc, $filename, $filedir);
// Show supplier ref
if (! empty($element->ref_supplier)) print ' - '.$element->ref_supplier;
// Show customer ref
if (! empty($element->ref_customer)) print ' - '.$element->ref_customer;
}
print "</td>\n";