Browse Source

Correctif

refactoring
Guillaume Bourgeois 1 year ago
parent
commit
76bcae53b5
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      backend/controllers/CronController.php
  2. +1
    -1
      backend/views/document/download.php

+ 0
- 1
backend/controllers/CronController.php View File

ini_set('display_startup_errors', 1); ini_set('display_startup_errors', 1);
error_reporting(E_ALL); error_reporting(E_ALL);


Yii::error('Cron process orders', 'log-cron');
$hour = 20; $hour = 20;
if (strlen($forceDate)) { if (strlen($forceDate)) {
$date = $forceDate; $date = $forceDate;

+ 1
- 1
backend/views/document/download.php View File

<?php endforeach; ?> <?php endforeach; ?>
<?php endforeach; ?> <?php endforeach; ?>
<?php else: ?> <?php else: ?>
<?php foreach ($document->getProductsOrders() as $product): ?>
<?php foreach ($documentManager->getProductsOrders($document) as $product): ?>
<?php foreach ($product as $productOrder): ?> <?php foreach ($product as $productOrder): ?>
<?= $this->render('_download_product_line', [ <?= $this->render('_download_product_line', [
'producer' => $producer, 'producer' => $producer,

Loading…
Cancel
Save