/[dolibarr]/dolibarr/htdocs/comm/propal.php
ViewVC logotype

Diff of /dolibarr/htdocs/comm/propal.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.127 by eldy, Sun Sep 25 22:04:38 2005 UTC revision 1.128 by eldy, Mon Sep 26 22:34:51 2005 UTC
# Line 1108  else Line 1108  else
1108        $sql .= " AND p.price='".$_GET['search_montant_ht']."'";        $sql .= " AND p.price='".$_GET['search_montant_ht']."'";
1109      }      }
1110    if ($sall) $sql.= " AND (s.nom like '%".$sall."%' OR p.note like '%".$sall."%' OR pd.description like '%".$sall."%')";    if ($sall) $sql.= " AND (s.nom like '%".$sall."%' OR p.note like '%".$sall."%' OR pd.description like '%".$sall."%')";
1111    if ($_GET['socidp'])    if ($socidp) $sql .= ' AND s.idp = '.$socidp;
     {  
       $sql .= ' AND s.idp = '.$_GET['socidp'];  
     }  
1112    if ($_GET['viewstatut'] <> '')    if ($_GET['viewstatut'] <> '')
1113      {      {
1114        $sql .= ' AND p.fk_statut in ('.$_GET['viewstatut'].')';        $sql .= ' AND p.fk_statut in ('.$_GET['viewstatut'].')';

Legend:
Removed from v.1.127  
changed lines
  Added in v.1.128

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26