Merge branch '3.1' of ssh://git@github.com/Dolibarr/dolibarr.git into 3.1
This commit is contained in:
commit
eaba1c94f3
@ -48,7 +48,7 @@ if ($user->societe_id) $socid=$user->societe_id;
|
|||||||
$result=restrictedArea($user,'banque',$id,'bank_account','','',$fieldid);
|
$result=restrictedArea($user,'banque',$id,'bank_account','','',$fieldid);
|
||||||
|
|
||||||
$req_nb=GETPOST("req_nb",'',3);
|
$req_nb=GETPOST("req_nb",'',3);
|
||||||
$thirdarty=GETPOST("thirdparty",'',3);
|
$thirdparty=GETPOST("thirdparty",'',3);
|
||||||
$account=GETPOST("account");
|
$account=GETPOST("account");
|
||||||
$vline=GETPOST("vline");
|
$vline=GETPOST("vline");
|
||||||
$action=GETPOST("action");
|
$action=GETPOST("action");
|
||||||
@ -211,7 +211,7 @@ if ($account || $_GET["ref"])
|
|||||||
}
|
}
|
||||||
if ($thirdparty)
|
if ($thirdparty)
|
||||||
{
|
{
|
||||||
$sql_rech.=" AND s.nom LIKE '%".$db->escape($thirdparty)."%')";
|
$sql_rech.=" AND s.nom LIKE '%".$db->escape($thirdparty)."%'";
|
||||||
$param.='&thirdparty='.urlencode($thirdparty);
|
$param.='&thirdparty='.urlencode($thirdparty);
|
||||||
$mode_search = 1;
|
$mode_search = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -739,11 +739,11 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
|
|||||||
{
|
{
|
||||||
if ($idprod)
|
if ($idprod)
|
||||||
{
|
{
|
||||||
if ( empty($hidedesc) ) $libelleproduitservice.=$desc;
|
if ( empty($hidedesc) ) $libelleproduitservice.=dol_htmlentitiesbr($desc,1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$libelleproduitservice.=$desc;
|
$libelleproduitservice.=dol_htmlentitiesbr($desc,1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -651,6 +651,7 @@ function print_projecttasks_array($db, $socid, $projectsListId, $mytasks=0)
|
|||||||
$sql.= " AND ec.fk_socpeople = ".$user->id;
|
$sql.= " AND ec.fk_socpeople = ".$user->id;
|
||||||
}
|
}
|
||||||
$sql.= " GROUP BY p.rowid, p.ref, p.title, p.fk_user_creat, p.public, p.fk_statut";
|
$sql.= " GROUP BY p.rowid, p.ref, p.title, p.fk_user_creat, p.public, p.fk_statut";
|
||||||
|
$sql.= " ORDER BY p.title, p.ref";
|
||||||
|
|
||||||
$var=true;
|
$var=true;
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user