瀏覽代碼

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

refactoring
Guillaume Bourgeois 5 年之前
父節點
當前提交
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…
取消
儲存