SELECT id, status, end, IF( end<now(), TRUE, FALSE) AS hasEnded FROM finance_subscriptions WHERE account='1' AND start<=now() AND (status='payed' OR status='freetrial' OR status='open') ORDER BY start ASC LIMIT 0,1;
Resultado: 0 registro(s) retornado(s)
Login - Tiles n` Under
*** YOU ARE ON THE TESTING SERVER *** To access the official application, click here.
This site or the third party tools used by it use cookies that are necessary for its operation and useful for the purposes described in the cookie policy. By continuing on our site you consent to the use of cookies. If you want to know more about how we use cookies on our site, read our Cookies Policy.