@component('mail::message')
# {{ $plan.' '.$status }}!
@if ($status === 'Activated')
Hi {{ $username }},
Congratulations, you have successfully invested in the {{ $plan }} with ${{ number_format($amount, 2) }}. You will now earn ${{ number_format($rate, 2) }} of your investment {{ $isDaily ? 'daily' : 'weekly' }} for {{ $duration }} {{ $isDaily ? 'days' : 'weeks' }}.
@else
Hi {{ $username }},
Congratulations, your investment period in the {{ $plan }} with ${{ number_format($amount, 2) }} has ended. You earned a total of ${{ number_format(($duration * $rate), 2) }} over a {{ $duration }}-{{ $isDaily ? 'day' : 'week' }} period, plus your initial investment of ${{ number_format($amount, 2) }}. Your earning has been transferred to your wallet.
@endif
Click on the button below to view full investment details.
@component('mail::button', ['url' => route('user.investments'), 'color' => 'success'])
View Investments
@endcomponent
Thanks,
{{ config('app.name') }}
@endcomponent