gorden 8 місяців тому
батько
коміт
3bccd62d56
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      app/admin/controller/order/WholeController.php

+ 3 - 3
app/admin/controller/order/WholeController.php

@@ -975,7 +975,7 @@ class WholeController extends Curd
                                     'func'=>'procActionToPrinter',
                                     'sign'=>'',
                                     'data'=>[
-                                        'printer_premises'=>$premises->dept_id,
+                                        'printer_premises'=>$restaurant->dept_id,
                                         'printer_device'=>[
                                             $key
                                         ],
@@ -1516,7 +1516,7 @@ class WholeController extends Curd
                                     'func'=>'procActionToPrinter',
                                     'sign'=>'',
                                     'data'=>[
-                                        'printer_premises'=>$premises->dept_id,
+                                        'printer_premises'=>$restaurant->dept_id,
                                         'printer_device'=>[
                                             $key
                                         ],
@@ -1532,7 +1532,7 @@ class WholeController extends Curd
                                     'func'=>'procActionToPrinter',
                                     'sign'=>'',
                                     'data'=>[
-                                        'printer_premises'=>$premises->dept_id,
+                                        'printer_premises'=>$restaurant->dept_id,
                                         'printer_device'=>[
                                             $key
                                         ],