Fix: bug #15077 - merci ludovic
This commit is contained in:
parent
982d8b9208
commit
7962553ed6
@ -25,7 +25,7 @@ require("./lib.inc.php");
|
||||
|
||||
|
||||
function propals ($db, $year, $month) {
|
||||
global $bc;
|
||||
global $bc,$langs;
|
||||
$sql = "SELECT s.nom, s.idp, p.rowid as propalid, p.price, p.ref,".$db->pdate("p.datep")." as dp, c.label as statut, c.id as statutid";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."c_propalst as c WHERE p.fk_soc = s.idp AND p.fk_statut = c.id";
|
||||
$sql .= " AND c.id in (1,2,4)";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user