Skip to content

Commit

Permalink
FIX ref_client not visible in tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 13, 2020
1 parent c196342 commit bb895cb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion htdocs/comm/propal/list.php
Expand Up @@ -765,6 +765,7 @@

$objectstatic->id = $obj->rowid;
$objectstatic->ref = $obj->ref;
$objectstatic->ref_client = $obj->ref_client;
$objectstatic->note_public = $obj->note_public;
$objectstatic->note_private = $obj->note_private;

Expand Down Expand Up @@ -813,7 +814,7 @@
if (!empty($arrayfields['p.ref_client']['checked']))
{
// Customer ref
print '<td class="nowrap">';
print '<td class="nowrap tdoverflowmax200">';
print $obj->ref_client;
print '</td>';
if (!$i) $totalarray['nbfield']++;
Expand Down
2 changes: 1 addition & 1 deletion htdocs/commande/list.php
Expand Up @@ -941,7 +941,7 @@
// Ref customer
if (!empty($arrayfields['c.ref_client']['checked']))
{
print '<td>'.$obj->ref_client.'</td>';
print '<td class="nowrap tdoverflowmax200">'.$obj->ref_client.'</td>';
if (!$i) $totalarray['nbfield']++;
}

Expand Down
3 changes: 2 additions & 1 deletion htdocs/compta/facture/list.php
Expand Up @@ -982,6 +982,7 @@

$facturestatic->id = $obj->id;
$facturestatic->ref = $obj->ref;
$facturestatic->ref_client = $obj->ref_client;
$facturestatic->type = $obj->type;
$facturestatic->total_ht = $obj->total_ht;
$facturestatic->total_tva = $obj->total_vat;
Expand Down Expand Up @@ -1071,7 +1072,7 @@
// Customer ref
if (!empty($arrayfields['f.ref_client']['checked']))
{
print '<td class="nowrap">';
print '<td class="nowrap tdoverflowmax200">';
print $obj->ref_client;
print '</td>';
if (!$i) $totalarray['nbfield']++;
Expand Down
12 changes: 6 additions & 6 deletions htdocs/fourn/facture/list.php
Expand Up @@ -433,8 +433,8 @@
}

$param = '&socid='.$socid;
if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) $param .= '&contextpage='.$contextpage;
if ($limit > 0 && $limit != $conf->liste_limit) $param .= '&limit='.$limit;
if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) $param .= '&contextpage='.urlencode($contextpage);
if ($limit > 0 && $limit != $conf->liste_limit) $param .= '&limit='.urlencode($limit);
if ($search_all) $param .= '&search_all='.urlencode($search_all);
if ($day) $param .= '&day='.urlencode($day);
if ($month) $param .= '&month='.urlencode($month);
Expand All @@ -455,9 +455,9 @@
if ($search_amount_no_tax) $param .= '&search_amount_no_tax='.urlencode($search_amount_no_tax);
if ($search_amount_all_tax) $param .= '&search_amount_all_tax='.urlencode($search_amount_all_tax);
if ($search_status >= 0) $param .= "&search_status=".urlencode($search_status);
if ($show_files) $param .= '&show_files='.$show_files;
if ($option) $param .= "&option=".$option;
if ($optioncss != '') $param .= '&optioncss='.$optioncss;
if ($show_files) $param .= '&show_files='.urlencode($show_files);
if ($option) $param .= "&option=".urlencode($option);
if ($optioncss != '') $param .= '&optioncss='.urlencode($optioncss);
// Add $param from extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php';

Expand Down Expand Up @@ -879,7 +879,7 @@
// Supplier ref
if (!empty($arrayfields['f.ref_supplier']['checked']))
{
print '<td class="nowrap">';
print '<td class="nowrap tdoverflowmax200">';
print $obj->ref_supplier;
print '</td>';
if (!$i) $totalarray['nbfield']++;
Expand Down

0 comments on commit bb895cb

Please sign in to comment.