changes
This commit is contained in:
@@ -127,8 +127,7 @@ class DashboardController extends Controller
|
||||
$restaurantCount = ManageRestaurant::where('is_active', 1)->count();
|
||||
$formattedDateTime = now()->format('Y-m-d H:i:s');
|
||||
|
||||
$recent_transactions = Subscriptions::where('next_payment_date', '>=', $formattedDateTime)
|
||||
->with('subscription')
|
||||
$recent_transactions = Subscriptions::with('subscription')
|
||||
->orderBy('id', 'desc')
|
||||
->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user