shish hai 1 ano
pai
achega
b2433f7ef0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app-ghs/controllers/OrderController.php

+ 2 - 2
app-ghs/controllers/OrderController.php

@@ -1692,7 +1692,7 @@ class OrderController extends BaseController
                         'wxNumber' => 'shish3508',
                         'wxNumber' => 'shish3508',
                         'unitPrice' => '¥' . $unitPrice,
                         'unitPrice' => '¥' . $unitPrice,
                         'price' => '¥' . $price,
                         'price' => '¥' . $price,
-                        'refundNum' => $refundNum==0?'':0,
+                        'refundNum' => $refundNum == 0 ? '' : 0,
                     ];
                     ];
                 }
                 }
             }
             }
@@ -1703,7 +1703,7 @@ class OrderController extends BaseController
             $actPrice = $info['actPrice'] ?? 0;
             $actPrice = $info['actPrice'] ?? 0;
             $tkPrice = $info['tkPrice'] ?? 0;
             $tkPrice = $info['tkPrice'] ?? 0;
             $prePrice = $info['prePrice'] ?? 0;
             $prePrice = $info['prePrice'] ?? 0;
-            $customMobile = $custom->customMobile ?? '';
+            $customMobile = $info['customMobile'] ?? '';
             $printData = [
             $printData = [
                 'table' => $table,
                 'table' => $table,
                 'addTime' => '',
                 'addTime' => '',