|
|
@@ -1,4 +1,4 @@
|
|
|
-<?php
|
|
|
+<?php
|
|
|
|
|
|
namespace App\Services;
|
|
|
|
|
|
@@ -33,6 +33,7 @@ class DeliveryAppointmentService
|
|
|
'created_at_end' => ['alias' => 'created_at' , 'endDate' => ' 23:59:59'],
|
|
|
'appointment_date_end' => ['alias' => 'appointment_date' , 'endDate' => ' 23:59:59'],
|
|
|
"owner_id"=>['multi' => ','],
|
|
|
+ "asn_number"=>['like' => '','timeLimit' => 15],
|
|
|
"id"=>['multi' => ','],
|
|
|
])->orderByDesc("id")->whereIn("owner_id",$owners)->with(["cars.car","details.commodity.barcodes"]);
|
|
|
}
|
|
|
@@ -198,4 +199,4 @@ class DeliveryAppointmentService
|
|
|
$total = $warehouse->production_capacity*DeliveryAppointment::HOUR[$period];
|
|
|
return $total-$result->capacity;
|
|
|
}
|
|
|
-}
|
|
|
+}
|