From 61b0b8708c30548440ef0dcbbb71d4dd16c87786 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 10 Feb 2022 01:05:37 +0100 Subject: [PATCH] Update remember months --- app/Payment/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Payment/Payment.php b/app/Payment/Payment.php index 2e8f2c0b..05130541 100644 --- a/app/Payment/Payment.php +++ b/app/Payment/Payment.php @@ -49,6 +49,6 @@ class Payment extends Model { return $q->whereHas('status', function($q) { return $q->where('is_remember', true); - })->where(fn ($query) => $query->whereNull('last_remembered_at')->orWhere('last_remembered_at', '<=', now()->subMonths(6))); + })->where(fn ($query) => $query->whereNull('last_remembered_at')->orWhere('last_remembered_at', '<=', now()->subMonths(3))); } }