Jump to content

Edit History

robysoldtamiya

robysoldtamiya

try this solution, instead of searching for connection date, search for invoice date

find in file statsbestcustomers.php and comment this line

//Roby    WHERE co.date_add BETWEEN '.$this->getDate()

add these 2 lines

        LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_customer` = c.`id_customer`
        WHERE o.invoice_date BETWEEN '.$this->getDate()
 

robysoldtamiya

robysoldtamiya

try this solution, instead of searching for connection date, search for invoice date

find in file statsbestcustomers.php and comment this line

//Roby    WHERE co.date_add BETWEEN '.$this->getDate()

adde these 2 lines

        LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_customer` = c.`id_customer`
        WHERE o.invoice_date BETWEEN '.$this->getDate()
 

robysoldtamiya

robysoldtamiya

try this solution, insteand of searching for connection date, search for invoice date

find in file statsbestcustomers.php and comment this line

//Roby    WHERE co.date_add BETWEEN '.$this->getDate()

adde these 2 lines

        LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_customer` = c.`id_customer`
        WHERE o.invoice_date BETWEEN '.$this->getDate()
 

×
×
  • Create New...