|
@@ -384,7 +384,8 @@ html;
|
|
|
{
|
|
{
|
|
|
if (!request("k"))return view("exception.404");
|
|
if (!request("k"))return view("exception.404");
|
|
|
/** @var \stdClass $appointment */
|
|
/** @var \stdClass $appointment */
|
|
|
- $appointment = DeliveryAppointment::query()->with(["cars"=>function(Builder $query){
|
|
|
|
|
|
|
+ $appointment = DeliveryAppointment::query()->with(["cars"=>function($query){
|
|
|
|
|
+ /** @var Builder $query */
|
|
|
$query->whereNull("delivery_time");
|
|
$query->whereNull("delivery_time");
|
|
|
}])->find(request("k"));
|
|
}])->find(request("k"));
|
|
|
return view("store.deliveryAppointment.deliverySuccess",["cars"=>$appointment->cars]);
|
|
return view("store.deliveryAppointment.deliverySuccess",["cars"=>$appointment->cars]);
|