New: early development of multi-company module
This commit is contained in:
parent
cfce23120c
commit
b9265c2c36
@ -165,7 +165,7 @@ function batch_fournisseur_updateturnover($year)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sqli = "INSERT INTO ".MAIN_DB_PREFIX."fournisseur_ca";
|
$sqli = "INSERT INTO ".MAIN_DB_PREFIX."fournisseur_ca";
|
||||||
$sqli .= " VALUES ($key,".$db->idate(mktime()).",$year,'".price2num($value)."'";
|
$sqli .= " VALUES (".$key.",".$db->idate(mktime()).",".$year.",'".price2num($value)."'";
|
||||||
$sqli.= ",'". $fournisseurs_ca_achat[$key][$year] ."');";
|
$sqli.= ",'". $fournisseurs_ca_achat[$key][$year] ."');";
|
||||||
$resqli = $db->query($sqli);
|
$resqli = $db->query($sqli);
|
||||||
if (! $resqli)
|
if (! $resqli)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user