Здравствуйте. Что-то выдает ошибку, хотя все сделал по образцу..Вот текст" Notice: Undefined index: total_purchase in /var/www/u1418804/public_html/1catalog1.ru/admin/controller/report/sale.php on line 97Notice: Undefined index: profit in /var/www/u1418804/public_html/1catalog1.ru/admin/controller/report/sale.php on line 98Notice: Undefined index: total_purchase in /var/www/u1418804/public_html/1catalog1.ru/admin/controller/report/sale.php on line 97Notice: Undefined index: profit in /var/www/u1418804/public_html/1catalog1.ru/admin/controller/report/sale.php on line 98"
Вот код " линия 96 'total' => $this->currency->format($result['total'], $this->config->get('config_currency')),
линия 97 'total_purchase' => $this->currency->format($result['total_purchase'], $this->config->get('config_currency')),
лиия 98 'profit' => $this->currency->format($result['profit'], $this->config->get('config_currency'))"
Где я ошибся????