@component('mail::message') # Alert @if ($reason == 'new user') Hi Admin, A new user has registered on your site. The username is {{ $username }}. Click on the button below to view your Users. @component('mail::button', ['url' => route('admin.users'), 'color' => 'success']) View Investments @endcomponent @elseif($reason == 'deposit request') Hi Admin, A deposit request of ${{ number_format($amount, 2) }} has been made by {{ $username }}. Click on the button below to view the deposit request. @component('mail::button', ['url' => route('transaction.index'), 'color' => 'success']) View Deposit Request @endcomponent @elseif($reason == 'withdrawal request') Hi Admin, A withdrawal request of ${{ number_format($amount, 2) }} has been made by {{ $username }}. Click on the button below to view the withdrawal request. @component('mail::button', ['url' => route('withdrawal.index'), 'color' => 'success']) View Withdrawal Request @endcomponent @else Hi Admin, An investment of ${{ number_format($amount, 2) }} has been made by {{ $username }} in the {{ $plan }}. Click on the button below to view all investments made. @component('mail::button', ['url' => route('investment.index'), 'color' => 'success']) View Investments @endcomponent @endif Thanks,
{{ config('app.name') }} @endcomponent