@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')
{{ __('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'))]) }} |