Database error: Invalid SQL: SELECT `pk_type` as metamaxmontanttype , CAST( `pk_montant` AS SIGNED INTEGER ) AS metamaxmontant
FROM `r_coupon`
WHERE `pk_boutique`=1067 AND ( ((`pk_date2`!='') AND (`pk_date2`>='2024-11-10')) OR (`pk_date2`='0000-00-00'))
ORDER by metamaxmontant DESC
LIMIT 1
MySQL Error: 1525 (Incorrect DATE value: '')
Session halted.