Commit 6eb2953f authored by Simon Magnin-Feysot's avatar Simon Magnin-Feysot

Fix comptoir field bis

parent 4564bdc0
...@@ -192,7 +192,7 @@ if ( $_REQUEST["action"] == "view" && $_REQUEST["mode"] == "" ) ...@@ -192,7 +192,7 @@ if ( $_REQUEST["action"] == "view" && $_REQUEST["mode"] == "" )
if ( $_REQUEST["fin"] ) if ( $_REQUEST["fin"] )
$conds[] = "ae_cotisations.date_cotis <= '".date("Y-m-d H:i:s",$_REQUEST["fin"])."'"; $conds[] = "ae_cotisations.date_cotis <= '".date("Y-m-d H:i:s",$_REQUEST["fin"])."'";
if ( isset($comptoirs[$_REQUEST["id_comptoir"]]) && $_REQUEST["comptoir"] ) if ( $_REQUEST["comptoir"] )
{ {
$conds[] = "ae_cotisations.id_comptoir='".intval($_REQUEST["comptoir"])."'"; $conds[] = "ae_cotisations.id_comptoir='".intval($_REQUEST["comptoir"])."'";
$comptoir=true; $comptoir=true;
...@@ -282,7 +282,7 @@ elseif ( $_REQUEST["action"] == "view" ) ...@@ -282,7 +282,7 @@ elseif ( $_REQUEST["action"] == "view" )
if ( $_REQUEST["fin"] ) if ( $_REQUEST["fin"] )
$conds[] = "ae_cotisations.date_cotis <= '".date("Y-m-d H:i:s",$_REQUEST["fin"])."'"; $conds[] = "ae_cotisations.date_cotis <= '".date("Y-m-d H:i:s",$_REQUEST["fin"])."'";
if ( isset($comptoirs[$_REQUEST["id_comptoir"]]) && $_REQUEST["comptoir"] ) if ( $_REQUEST["comptoir"] )
{ {
$conds[] = "ae_cotisations.id_comptoir='".intval($_REQUEST["comptoir"])."'"; $conds[] = "ae_cotisations.id_comptoir='".intval($_REQUEST["comptoir"])."'";
$comptoir=true; $comptoir=true;
......
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