fix modules cs
This commit is contained in:
@@ -183,7 +183,6 @@ class AddressController extends BaseFrontController
|
|||||||
|
|
||||||
\Thelia\Log\Tlog::getInstance()->error(sprintf('Error during address deletion : %s', $error_message));
|
\Thelia\Log\Tlog::getInstance()->error(sprintf('Error during address deletion : %s', $error_message));
|
||||||
|
|
||||||
|
|
||||||
// If Ajax Request
|
// If Ajax Request
|
||||||
if ($this->getRequest()->isXmlHttpRequest()) {
|
if ($this->getRequest()->isXmlHttpRequest()) {
|
||||||
if ($error_message) {
|
if ($error_message) {
|
||||||
|
|||||||
@@ -170,5 +170,4 @@ class CartController extends BaseFrontController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ namespace Front\Controller;
|
|||||||
use Propel\Runtime\Exception\PropelException;
|
use Propel\Runtime\Exception\PropelException;
|
||||||
use Thelia\Cart\CartTrait;
|
use Thelia\Cart\CartTrait;
|
||||||
use Thelia\Controller\Front\BaseFrontController;
|
use Thelia\Controller\Front\BaseFrontController;
|
||||||
use Thelia\Core\Event\PdfEvent;
|
|
||||||
use Thelia\Core\HttpFoundation\Response;
|
|
||||||
use Thelia\Core\Template\TemplateHelper;
|
|
||||||
use Thelia\Core\Translation\Translator;
|
use Thelia\Core\Translation\Translator;
|
||||||
use Thelia\Exception\TheliaProcessException;
|
use Thelia\Exception\TheliaProcessException;
|
||||||
use Thelia\Form\Exception\FormValidationException;
|
use Thelia\Form\Exception\FormValidationException;
|
||||||
@@ -263,6 +260,7 @@ class OrderController extends BaseFrontController
|
|||||||
{
|
{
|
||||||
/* check customer */
|
/* check customer */
|
||||||
$this->checkAuth();
|
$this->checkAuth();
|
||||||
|
|
||||||
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
|
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -270,6 +268,7 @@ class OrderController extends BaseFrontController
|
|||||||
{
|
{
|
||||||
/* check customer */
|
/* check customer */
|
||||||
$this->checkAuth();
|
$this->checkAuth();
|
||||||
|
|
||||||
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
|
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -286,5 +285,4 @@ class OrderController extends BaseFrontController
|
|||||||
return $this->render('ajax/order-delivery-module-list', $args);
|
return $this->render('ajax/order-delivery-module-list', $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user