From 07caebd54f10bc99c8db3f08617a7eece2962b56 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 16 Nov 2025 18:30:20 +0100 Subject: [PATCH] Validate payment status before showing "Add meetup" button in project support. --- .../views/pages/association/project-support/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/pages/association/project-support/index.blade.php b/resources/views/pages/association/project-support/index.blade.php index a58b730..61a5250 100644 --- a/resources/views/pages/association/project-support/index.blade.php +++ b/resources/views/pages/association/project-support/index.blade.php @@ -125,7 +125,7 @@ $delete = function ($id) { - @if($currentPleb && $currentPleb->association_status->value > 1) + @if($currentPleb && $currentPleb->association_status->value > 1 && $currentPleb->paymentEvents()->where('year', date('Y'))->where('paid', true)->exists()) @endif