Skip to content

Commit

Permalink
Merge pull request #2053 from aspangaro/1688
Browse files Browse the repository at this point in the history
#1688 The ref filter searches on rowid not on ref in unpaid supplier inv...
  • Loading branch information
eldy committed Nov 22, 2014
2 parents a47c7f0 + e3edc3f commit 7fbeb2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/fourn/facture/impayees.php
Expand Up @@ -117,7 +117,7 @@

if ($search_ref)
{
$sql .= " AND f.rowid LIKE '%".$search_ref."%'";
$sql .= " AND f.ref LIKE '%".$search_ref."%'";
}
if ($search_ref_supplier)
{
Expand Down Expand Up @@ -241,7 +241,7 @@
print $facturestatic->getNomUrl(1);
print "</td>\n";

print '<td class="nowrap">'.dol_trunc($objp->ref_supplier,12)."</td>\n";
print '<td class="nowrap">'.dol_trunc($objp->ref_supplier,12).'</td>';

print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->df),'day')."</td>\n";
print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->datelimite),'day');
Expand All @@ -258,7 +258,7 @@
print "<td align=\"right\">".price($objp->total_ttc)."</td>";
print "<td align=\"right\">".price($objp->am)."</td>";

// Affiche statut de la facture
// Show invoice status
print '<td align="right" class="nowrap">';
print $facturestatic->LibStatut($objp->paye,$objp->fk_statut,5,$objp->am);
print '</td>';
Expand Down

0 comments on commit 7fbeb2c

Please sign in to comment.