@component('mail::message') # Hi You've received an invitation to register on our website and download the file. Please click on the button below, to register and download file. @php $password = ''; if(get_class($download->file->modelable) === 'App\Models\Signer') { $password = $download->file->modelable->document_password; } @endphp @if($password) @lang('global.Please Use The ') "{{ $password }}" @lang('global.Password PDF Doc') @endif @php $url = request()->headers->get('origin').'/register?invited=1&invited_by='.auth()->id().'&invitation_reason=download-document&document_id='.$download->uuid.'&email='.request()->post('email'); @endphp @component('mail::button', ['url' => $url]) @lang('global.Register & Download file') @endcomponent @lang('global.Thanks')
{{ config('app.name') }} @endcomponent