fixed order list
This commit is contained in:
parent
62a6c89696
commit
f62863876f
|
|
@ -76,7 +76,7 @@ class OrderRepo
|
|||
*/
|
||||
public static function getListBuilder(array $filters = []): Builder
|
||||
{
|
||||
$builder = Order::query();
|
||||
$builder = Order::query()->with(['orderProducts']);
|
||||
|
||||
$customer = $filters['customer'] ?? null;
|
||||
if ($customer) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue