@component('mail::message') # Congratulations Dear {{ $username }}, @if (!$isInvestment) Someone has registered through your referral link. Their username is {{ $referee }}. You will now earn a %5 commission on any investment they make. @else One of your referrals with username {{ $referee }} has made a {{ $type }} of {{ number_format($amount, 2) }}. You have earned ${{ number_format(($amount * 0.05), 2) }}, which is a %5 commission for the {{ $type }}. @endif Thanks,
{{ config('app.name') }} @endcomponent