|
@@ -4520,7 +4520,7 @@ class WholeController extends Curd
|
|
|
if (strpos($print, '核销') !== false && $order->order_status_payment != 'SUCCESS') {
|
|
|
return json_fail('无法打印未支付的订单');
|
|
|
}
|
|
|
-
|
|
|
+ dump($premises,$restaurant);
|
|
|
if (!empty($premises) || $restaurant) {
|
|
|
if ($order->order_classify == 'DISHES' && empty($restaurant)) {
|
|
|
$restaurant = SysDept::where('dept_super_id', $premises->dept_id)->where('dept_category', '餐厅')->first();
|