Update list.php
This commit is contained in:
parent
53eb891a88
commit
92d137cde9
@ -549,12 +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);
|
||||||
if ($key == 'phone')
|
if ($key == 'phone') {
|
||||||
{
|
|
||||||
print dol_print_phone($obj->phone, '', 0, $obj->rowid, 'AC_TEL');
|
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');
|
elseif ($key == 'fax') {
|
||||||
else print $warehouse->showOutputField($val, $key, $warehouse->$key, '');
|
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