fix generatedAt

This commit is contained in:
Vitaly Artemev 2016-12-28 20:24:27 +04:00 committed by GitHub
parent 3dc8ae3245
commit a9f257b058

View File

@ -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');