From a9f257b0583066ede442c99ade21204c09767700 Mon Sep 17 00:00:00 2001 From: Vitaly Artemev Date: Wed, 28 Dec 2016 20:24:27 +0400 Subject: [PATCH] fix generatedAt --- admin/model/retailcrm/history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/model/retailcrm/history.php b/admin/model/retailcrm/history.php index 7dccee0..b984635 100644 --- a/admin/model/retailcrm/history.php +++ b/admin/model/retailcrm/history.php @@ -55,7 +55,7 @@ class ModelRetailcrmHistory extends Model return false; $orders = RetailcrmHistoryHelper::assemblyOrder($packs->history); - $generatedAt = $orders['generatedAt']; + $generatedAt = $packs['generatedAt']; $this->subtotalSettings = $this->model_setting_setting->getSetting('sub_total'); $this->totalSettings = $this->model_setting_setting->getSetting('total');