@ -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");