@if($customer_mail->is_answer) Antwort von:
@else Gesendet an:
@endif <{{$customer_mail->email}}> {{$customer_mail->sent_at }} @if($customer_mail->recipient)
TO: {{\App\Services\Util::_implodeLines($customer_mail->recipient, ', ')}}
@endif @if($customer_mail->cc)
CC: {{\App\Services\Util::_implodeLines($customer_mail->cc, ', ')}}
@endif @if($customer_mail->bcc)
BCC: {{\App\Services\Util::_implodeLines($customer_mail->bcc, ', ')}}
@endif
{{$customer_mail->subject}}

{{--
|

--}}
{!! nl2br($customer_mail->message) !!}

@if($customer_mail->customer)

Kunde: {{ $customer_mail->customer->salutation->name }} {{ $customer_mail->customer->title }} {{ $customer_mail->customer->firstname }} {{ $customer_mail->customer->name }} @if($customer_mail->booking) ({{$customer_mail->booking->lead_id}}) @endif

@endif @if($customer_mail->booking)

Buchung: @if($customer_mail->booking->travel_country_id) {{ " | ".$customer_mail->booking->travel_country->name }} @endif @if($customer_mail->booking->travelagenda_id) {{ " | ".$customer_mail->booking->travel_agenda->name }} @endif ({{ $customer_mail->booking_id }})

@endif @if($customer_mail->send) Mail gesendet

Datum: {{$customer_mail->sent_at}}

@endif @if($customer_mail->fail) Mail Fehler

{{$customer_mail->error }}

@endif
@if($customer_mail->customer_files)
Datei-Anhänge
@foreach($customer_mail->customer_files as $file)
{{$file->original_name}}
{{$file->formatBytes()}}
@endforeach
@endif @if(isset($show_move_dirs) && $show_move_dirs)
{!! Form::open(['url' => route('customer_mail_detail', [$customer_mail->id, 'move-mail']), 'class' => 'move-mail-form']) !!}
{{-- TODO load subdirs by pos id --}} @if($customer_mail->booking->travel_country) @foreach(\App\Services\Booking::getCustomerMailDirs() as $customer_mail_dir) @if($customer_mail_dir->pos > 0) @endif @endforeach @endif
{!! Form::close() !!}
{!! Form::open(['url' => route('customer_mail_detail', [$customer_mail->id, 'forward_email']), 'class' => 'forward-mail-form']) !!}
{{ Form::text('customer_mail_forward_email', $customer_mail->email, array('placeholder'=>'E-Mail', 'id'=>'customer_mail_forward_email', 'class'=>'form-control', 'required')) }}
{!! Form::close() !!}
@endif
@if(isset($customer_mail->customer_mail))
@include('customer.mail.modal-show-mail-inner', ['customer_mail' => $customer_mail->customer_mail, 'show_move_dirs' => false]) @endif