@extends('layouts.site') @section('pageTitle',__('admin.view').' '.__('admin.message')) @section('innerTitle') @lang('admin.view') @lang('admin.message') @endsection @section('breadcrumb')
  • @lang('site.home')
  • @lang('admin.sent-messages')
  • @lang('admin.view') @lang('admin.message')
  • @endsection @section('content')

    {{ $email->subject }}


    {{ $email->user->name }}

    {{ $email->user->name }}

    {{ $email->user->email }}
    {{ \Illuminate\Support\Carbon::parse($email->created_at)->diffForHumans() }} ({{ \Illuminate\Support\Carbon::parse($email->created_at)->format('d.M.Y') }})

    {!! clean($email->message) !!}

    @if(!empty($email->notes))
    @lang('admin.comment'): {{ $email->notes }}
    @endif @if($email->emailAttachments()->count()>0)

    {{ $email->emailAttachments()->count() }} @if($email->emailAttachments()->count()>1) @lang('admin.attachments') @else @lang('admin.attachment') @endif - @lang('admin.download-all')

    @endif
    @lang('admin.delete')
    @foreach($email->users()->orderBy('name')->limit(1000)->get() as $user) @endforeach
    @lang('admin.name') @lang('admin.email')
    {{ $user->name }} {{ $user->email }}
    @endsection @section('header') @endsection @section('footer') @endsection