Commit 57d6d786 authored by Ayolo's avatar Ayolo
Browse files

fix?

parent 71aedf66
......@@ -66,10 +66,10 @@ if ( $_REQUEST["action"] == "view" )
$condsnb = array();
$comptoir = false;
if ( $_REQUEST["debut"] )
if ( $_REQUEST["debut"] && !empty($_REQUEST["debut"]) )
$conds[] = "`cpt_debitfacture`.`date_facture` >= '".date("Y-m-d H:i:s",$_REQUEST["debut"])."'";
if ( $_REQUEST["fin"] )
if ( $_REQUEST["fin"] && !empty($_REQUEST["fin"]) )
$conds[] = "`cpt_debitfacture`.`date_facture` <= '".date("Y-m-d H:i:s",$_REQUEST["fin"])."'";
if ( isset($comptoirs[$_REQUEST["id_comptoir"]]) && $_REQUEST["id_comptoir"] )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment