@extends('layouts.layout-2') @section('content')

Kunden verwalten

<{{$customer_mail->email}}> {{$customer_mail->created_at }}
{{$customer_mail->subject}}

{{--
|

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

@if($customer_mail->customer)

Kunde: {{ $customer_mail->customer->salutation->name }} {{ $customer_mail->customer->firstname }} {{ $customer_mail->customer->name }}

@endif @if($customer_mail->booking)

Buchung: {{ $customer_mail->booking_id }} @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

@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 {{--
 
--}}
@endsection