Преглед на файлове

[backend] Distribution : correction bug ajout commande (paramètre meanPayment non défini)

dev
Guillaume Bourgeois преди 4 години
родител
ревизия
663949e6cd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      backend/controllers/OrderController.php

+ 2
- 2
backend/controllers/OrderController.php Целия файл

@@ -810,7 +810,7 @@ class OrderController extends BackendController
* @param string $processCredit
*/
public function actionAjaxCreate(
$date, $idPointSale, $idUser, $username, $meanPayment, $products, $comment, $processCredit = 0)
$date, $idPointSale, $idUser, $username, $meanPayment = '', $products, $comment, $processCredit = 0)
{
\Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
@@ -891,7 +891,7 @@ class OrderController extends BackendController
* @param string $comment
*/
public function actionAjaxUpdate(
$date, $idOrder, $idPointSale, $idUser, $username, $meanPayment, $products, $comment = '', $processCredit = 0)
$date, $idOrder, $idPointSale, $idUser, $username, $meanPayment = '', $products, $comment = '', $processCredit = 0)
{
\Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;

Loading…
Отказ
Запис