weizong song 5 months ago
parent 98344b9175
commit 5886041d03

@ -226,6 +226,7 @@ class OrderItems extends SoftDeletesModel
$query->where("status", Orders::STATUS_ONGOING) $query->where("status", Orders::STATUS_ONGOING)
->whereIn("project_id", $projects); ->whereIn("project_id", $projects);
}) })
->where("total", ">", 0)
->whereNull("paid_at") ->whereNull("paid_at")
->where("id", ">", $last_id) ->where("id", ">", $last_id)
->with("customer"); ->with("customer");

Loading…
Cancel
Save