@component('mail::message') {{-- Greeting --}} @if (! empty($greeting)) # {{ $greeting }} @else @if ($level === 'error') # @lang('Whoops!') @else # @lang('Hello!') @endif @endif {{-- Intro Lines --}} @foreach ($introLines as $line) {{ $line }} @endforeach {{-- Stats --}} @component('mail::table') @foreach($stats as $website) @endforeach
{{ __('Website') }} {{ __('Visitors') }} {{ __('Pageviews') }}
{{ $website['url'] }} {{ number_format($website['visitors'], 0, __('.'), __(',')) }} {{ number_format($website['pageviews'], 0, __('.'), __(',')) }}
{{ __('Report generated for :from - :to period.', ['from' => \Carbon\Carbon::createFromFormat('Y-m-d', $range['from'])->format(__('Y-m-d')), 'to' => \Carbon\Carbon::createFromFormat('Y-m-d', $range['to'])->format(__('Y-m-d'))]) }}
@endcomponent {{-- Salutation --}} @if (! empty($salutation)) {{ $salutation }} @else @lang('Regards'),
{{ config('app.name') }} @endif {{-- Subcopy --}} @slot('subcopy') @lang('If you do not wish to receive these emails in the future, you can disable them from the Settings of your websites.') @endslot @endcomponent