Skip to content
Snippets Groups Projects
Commit c86e9083 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

bugfix

parent b7cb8f33
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ function Generate($date_gen, $db, $date_now, $email)
$sqlall .= " WHERE l.fk_soc = s.idp AND l.fk_fournisseur = f.rowid";
$sqlall .= " AND l.fk_soc_facture = r.idp ";
$sqlall .= " AND l.fk_commercial = comm.rowid ";
$sqlall .= " AND date_format(l.date_commande,'%Y%v') = '".strftime("%Y%v", $date_gen)."'";
$sqlall .= " AND date_format(l.date_commande,'%Y%v') = '".strftime("%Y%V", $date_gen)."'";
/*
*
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment