Merge pull request #13747 from bb2a/patch-7

Link Phone in list
This commit is contained in:
Laurent Destailleur 2020-04-27 13:49:30 +02:00 committed by GitHub
commit fe3359022a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1153,12 +1153,12 @@ while ($i < min($num, $limit))
}
if (!empty($arrayfields['s.phone']['checked']))
{
print "<td>".dol_print_phone($obj->phone, $obj->country_code, 0, $obj->rowid)."</td>\n";
print "<td>".dol_print_phone($obj->phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL')."</td>\n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['s.fax']['checked']))
{
print "<td>".dol_print_phone($obj->fax, $obj->country_code, 0, $obj->rowid)."</td>\n";
print "<td>".dol_print_phone($obj->fax, $obj->country_code, 0, $obj->rowid, 'AC_TEL')."</td>\n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['s.url']['checked']))