From f5d0e82f1a438df205d93757b749346089bc51b0 Mon Sep 17 00:00:00 2001 From: fsociety Date: Thu, 24 Oct 2024 16:40:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(profile):=20filter=20paymen?= =?UTF-8?q?t=20events=20by=20paid=20status=20in=20the=20association=20prof?= =?UTF-8?q?ile=20view?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/pages/association/profile.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/pages/association/profile.blade.php b/resources/views/pages/association/profile.blade.php index 89715fa..5123acd 100644 --- a/resources/views/pages/association/profile.blade.php +++ b/resources/views/pages/association/profile.blade.php @@ -127,6 +127,7 @@ $listenForPayment = function () { $paymentEvent->save(); $this->payments = $this->currentPleb ->paymentEvents() + ->where('paid', true) ->get(); $this->currentYearIsPaid = true; } @@ -135,6 +136,7 @@ $listenForPayment = function () { $this->currentYearIsPaid = true; $this->payments = $this->currentPleb ->paymentEvents() + ->where('paid', true) ->get(); } };