@php use Illuminate\Support\Facades\Auth; use App\Models\SystemSetting; @endphp @props([ 'elderly' => null, 'currency' => null, 'suggestedAmounts' => [25, 50, 100, 250, 500], 'paymentMethods' => [] ])
@csrf @if($elderly) @endif

Donation Amount

@if(SystemSetting::isGlobalCurrencyOverrideEnabled()) @endif
{{ \App\Services\CurrencyService::getCurrencySymbol($currency) }}
@error('amount')

{{ $message }}

@enderror
@foreach($suggestedAmounts as $amount) @endforeach

Personal Information

@if(Auth::check())

You are donating as {{ Auth::user()->name }} ({{ Auth::user()->email }})

@else
@error('donor_name')

{{ $message }}

@enderror
@error('donor_email')

{{ $message }}

@enderror
@endif