Fix missing ref is object is supplier object
This commit is contained in:
parent
39bd9a69ec
commit
293560f9c1
@ -751,6 +751,11 @@ foreach ($listofreferent as $key => $value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
print $formfile->getDocumentsLink($element_doc, $filename, $filedir);
|
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";
|
print "</td>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user