[ bug #1159 ] Commercial search "other" give p.note do not exists
This commit is contained in:
parent
894e6a296f
commit
b9d37fd6f7
@ -11,6 +11,7 @@ Fix: wrong buy price update
|
|||||||
Fix: [ bug #1142 ] Set paiement on invoice (PGSql)
|
Fix: [ bug #1142 ] Set paiement on invoice (PGSql)
|
||||||
Fix: [ bug #1145 ] Agenda button list type do not display
|
Fix: [ bug #1145 ] Agenda button list type do not display
|
||||||
Fix: [ bug #1148 ] Product consomation : supplier order bad status
|
Fix: [ bug #1148 ] Product consomation : supplier order bad status
|
||||||
|
Fix: [ bug #1159 ] Commercial search "other" give p.note do not exists
|
||||||
|
|
||||||
***** ChangeLog for 3.4.1 compared to 3.4.0 *****
|
***** ChangeLog for 3.4.1 compared to 3.4.0 *****
|
||||||
Fix: Display buying price on line edit when no supplier price is defined
|
Fix: Display buying price on line edit when no supplier price is defined
|
||||||
|
|||||||
@ -167,7 +167,7 @@ if ($search_montant_ht)
|
|||||||
{
|
{
|
||||||
$sql.= " AND p.total_ht='".$db->escape(price2num(trim($search_montant_ht)))."'";
|
$sql.= " AND p.total_ht='".$db->escape(price2num(trim($search_montant_ht)))."'";
|
||||||
}
|
}
|
||||||
if ($sall) $sql.= " AND (s.nom LIKE '%".$db->escape($sall)."%' OR p.note LIKE '%".$db->escape($sall)."%' OR pd.description LIKE '%".$db->escape($sall)."%')";
|
if ($sall) $sql.= " AND (s.nom LIKE '%".$db->escape($sall)."%' OR p.note_private LIKE '%".$db->escape($sall)."%' OR p.note_public LIKE '%".$db->escape($sall)."%' OR pd.description LIKE '%".$db->escape($sall)."%')";
|
||||||
if ($socid) $sql.= ' AND s.rowid = '.$socid;
|
if ($socid) $sql.= ' AND s.rowid = '.$socid;
|
||||||
if ($viewstatut <> '')
|
if ($viewstatut <> '')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user