weizong song 4 months ago
parent 98344b9175
commit 5886041d03

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

Loading…
Cancel
Save