Fix ref_client on Project Overview for propale
The ref_customer in the propal object is name ref_client. I just added another check if nothing is found.
This commit is contained in:
parent
b47a8c86a3
commit
1410565b83
@ -1259,6 +1259,10 @@ foreach ($listofreferent as $key => $value) {
|
||||
if (!empty($element->ref_customer)) {
|
||||
print ' - '.$element->ref_customer;
|
||||
}
|
||||
// Compatibility propale
|
||||
if (empty($element->ref_customer) && !empty($element->ref_client)){
|
||||
print ' - '.$element->ref_client;
|
||||
}
|
||||
}
|
||||
print "</td>\n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user