Merge pull request #13857 from bb2a/Link-phone-warehouse
Links phone on warehouse liste
This commit is contained in:
commit
2bf91c0f37
@ -549,7 +549,15 @@ if ($num)
|
|||||||
{
|
{
|
||||||
print '<td'.($cssforfield ? ' class="'.$cssforfield.'"' : '').'>';
|
print '<td'.($cssforfield ? ' class="'.$cssforfield.'"' : '').'>';
|
||||||
if ($key == 'statut') print $warehouse->getLibStatut(5);
|
if ($key == 'statut') print $warehouse->getLibStatut(5);
|
||||||
else print $warehouse->showOutputField($val, $key, $warehouse->$key, '');
|
if ($key == 'phone') {
|
||||||
|
print dol_print_phone($obj->phone, '', 0, $obj->rowid, 'AC_TEL');
|
||||||
|
}
|
||||||
|
elseif ($key == 'fax') {
|
||||||
|
print dol_print_phone($obj->fax, '', 0, $obj->rowid, 'AC_FAX');
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
print $warehouse->showOutputField($val, $key, $warehouse->$key, '');
|
||||||
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) $totalarray['nbfield']++;
|
if (!$i) $totalarray['nbfield']++;
|
||||||
if (!empty($val['isameasure']))
|
if (!empty($val['isameasure']))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user