We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f86981b commit 9f8b95fCopy full SHA for 9f8b95f
app/Http/Controllers/DonationController.php
@@ -6,6 +6,7 @@
6
7
use App\Http\Requests\Donations\EuPlatescRequest;
8
use App\Models\Donation;
9
+use App\Notifications\Ngo\DonationReceived;
10
use App\Notifications\UserDonationReceived;
11
use App\Services\EuPlatescService;
12
use Illuminate\Support\Facades\Notification;
@@ -37,8 +38,7 @@ public function thankYou(string $uuid)
37
38
39
Notification::route('mail', $donation->email)
40
->notify(new UserDonationReceived($donation));
-
41
+
42
$organizationsUsers = $donation->load('organization')
43
->organization->load('users')->users->filter(function ($user) {
44
return $user->hasVerifiedEmail();
0 commit comments