@@ -158,7 +158,6 @@ class CronController extends BackendController | |||
ini_set('display_startup_errors', 1); | |||
error_reporting(E_ALL); | |||
Yii::error('Cron process orders', 'log-cron'); | |||
$hour = 20; | |||
if (strlen($forceDate)) { | |||
$date = $forceDate; |
@@ -121,7 +121,7 @@ $documentPriceDecimals = (int) $producerManager->getConfig('option_document_pric | |||
<?php endforeach; ?> | |||
<?php endforeach; ?> | |||
<?php else: ?> | |||
<?php foreach ($document->getProductsOrders() as $product): ?> | |||
<?php foreach ($documentManager->getProductsOrders($document) as $product): ?> | |||
<?php foreach ($product as $productOrder): ?> | |||
<?= $this->render('_download_product_line', [ | |||
'producer' => $producer, |