jd440 Posted May 1, 2017 Share Posted May 1, 2017 Ouvrant un nouveau profil/accès à mon B-O à quelqu'un, J'aimerai que n'apparaissent que les commandes des 30 dernier jours. Auriez vous une idée? Link to comment Share on other sites More sharing options...
jd440 Posted May 1, 2017 Author Share Posted May 1, 2017 class AdminOrdersControllerCore public function __construct() { […] if ($this->context->employee->id_profile == 3) { $this->_where = ' AND a.`date_add` >= (CURRENT_DATE - INTERVAL 30 DAY)'; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now