Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OniiCoder committed Feb 26, 2024
1 parent 2055ec6 commit 1178934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Livewire/OrdersForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function balance($depotOrderId)

public function allDepotOrders()
{
return DepotOrder::where('status', 'LOADED')->where('status', 'UNLOADED')->orderBy('created_at', 'desc')->orWhere('id', $this->model->depot_order_id)->get();
return DepotOrder::where('status', 'LOADED')->orWhere('status', 'UNLOADED')->orderBy('created_at', 'desc')->orWhere('id', $this->model->depot_order_id)->get();
}

public function allProducts()
Expand Down

0 comments on commit 1178934

Please sign in to comment.