Zhouzhendong 4 tahun lalu
induk
melakukan
b5b41fa55e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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([