Zhouzhendong hace 4 años
padre
commit
b5b41fa55e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/WaybillService.php

+ 1 - 1
app/Services/WaybillService.php

@@ -318,7 +318,7 @@ class WaybillService
             'recipient_mobile'=>$order->consignee_phone,
             'source_bill'=>     $order->client_code,
             'is_to_pay'=>       strstr($order->logistic->code,'DF')===false ? 0 : 1,
-            'destination_city_id'=>$order->city ? app(RegionService::class)->getCity($receiveInputting['C_City']) : null,
+            'destination_city_id'=>$order->city ? app(RegionService::class)->getCity($order->city) : null,
             'order_id'=>        $order->id,
         ]);
         $waybill->update([