Jump to content

Limité le listing des commandes aux dernier mois


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...