Skip to content

Commit

Permalink
Uniformise look and feel
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 3, 2016
1 parent 6ceb79c commit 0f016bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/compta/sociales/index.php
Expand Up @@ -76,6 +76,7 @@
$search_ref="";
$search_label="";
$search_amount="";
$search_status='';
$typeid="";
$year="";
$month="";
Expand Down Expand Up @@ -104,7 +105,7 @@
if ($search_ref) $sql.=" AND cs.rowid=".$db->escape($search_ref);
if ($search_label) $sql.=natural_search("cs.libelle", $search_label);
if ($search_amount) $sql.=natural_search("cs.amount", price2num(trim($search_amount)), 1);
if ($search_status != '') $sql.=" AND cs.paye = ".$db->escape($search_status);
if ($search_status != '' && $search_status >= 0) $sql.=" AND cs.paye = ".$db->escape($search_status);
if ($year > 0)
{
$sql .= " AND (";
Expand Down

0 comments on commit 0f016bb

Please sign in to comment.