1$startDate = Carbon::today();
2$endDate = Carbon::today()->addDays(7);
3$invoices = Invoice::whereBetween('due_date', [$startDate, $endDate])->get();
4// Replace "due_date" with your actual column name
5// Check your model names, they should be singular and not plural.
6
7dd($invoices);
8
9