https://laravel.com/docs/5.5/eloquent-relationships#querying-relationship-existence
Last topic:
If you need even more power, you may use the whereHas and orWhereHas methods to put "where" conditions on your has queries. These methods allow you to add customized constraints to a relationship constraint, such as checking the content of a comment:
// Retrieve all posts with at least one comment containing words like foo% $posts = Post::whereHas('comments', function ($query) { $query->where('content', 'like', 'foo%'); })->get();
So, you should be able to do something similar with your "due_date" field.