Updated search form, added new hooks, updated cart to support time along with date

This commit is contained in:
Shreesh Arora
2024-09-06 10:39:07 +05:30
parent 9d4aaa8541
commit 03094d2108
16 changed files with 100 additions and 163 deletions

View File

@@ -942,8 +942,8 @@ class AdminCartsControllerCore extends AdminController
$this->context->cart = new Cart($id_cart);
$date_from = date('Y-m-d', strtotime($date_from));
$date_to = date('Y-m-d', strtotime($date_to));
$date_from = date('Y-m-d H:i:s', strtotime($date_from));
$date_to = date('Y-m-d H:i:s', strtotime($date_to));
if ($this->context->cart->id_currency != (int)Configuration::get('PS_CURRENCY_DEFAULT')) {
$currency = Currency::getCurrencyInstance($this->context->cart->id_currency);