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

Newsletter-Kontakt
Zurück Bearbeiten

@if (Session::has('alert-success'))
{{ Session::get('alert-success') }}
@endif
Kontakt-Informationen
@if ($contact->notes) @endif
E-Mail: {{ $contact->email }}
Name: {{ $contact->full_name ?: '-' }}
Vorname: {{ $contact->firstname ?: '-' }}
Nachname: {{ $contact->lastname ?: '-' }}
Status: {!! $contact->status_badge !!}
Gruppen: @if ($contact->group_kulturreisen) Kulturreisen @endif @if ($contact->group_ferienwohnungen) Ferienwohnungen @endif @if (!$contact->group_kulturreisen && !$contact->group_ferienwohnungen) Keine Gruppe zugewiesen @endif
Herkunft: {{ $contact->source_label }}
Notizen: {{ $contact->notes }}
Buchungsstatistiken
Kulturreisen Buchungen: {{ $contact->total_bookings_kulturreisen }} @if ($contact->customer) Kunde anzeigen @endif
Ferienwohnungen Buchungen: {{ $contact->total_bookings_ferienwohnungen }} @if ($contact->travel_user) Kunde anzeigen @endif
Gesamt Buchungen: {{ $contact->total_bookings }}
Letzte Buchung: {{ $contact->last_booking_at ? $contact->last_booking_at->format('d.m.Y') : '-' }}
Aktivitäts-Log
@if ($contact->logs->count() > 0)
@foreach ($contact->logs as $log)
{{ $log->action_label }} {{ $log->created_at->format('d.m.Y H:i') }}
@if ($log->description)
{{ $log->description }}
@endif @if ($log->user) Durch: {{ $log->user->fullname }} @endif
@endforeach
@else

Keine Aktivitäten vorhanden

@endif
Aktionen
@if ($contact->status === 'active')
@csrf
@elseif($contact->status === 'unsubscribed')
@csrf
@endif
@csrf @method('DELETE')
Zeitstempel
@if ($contact->subscribed_at) @endif @if ($contact->unsubscribed_at) @endif @if ($contact->last_synced_at) @endif
Erstellt: {{ $contact->created_at->format('d.m.Y H:i') }}
Aktualisiert: {{ $contact->updated_at->format('d.m.Y H:i') }}
Angemeldet: {{ $contact->subscribed_at->format('d.m.Y H:i') }}
Abgemeldet: {{ $contact->unsubscribed_at->format('d.m.Y H:i') }}
Letzte Sync: {{ $contact->last_synced_at->format('d.m.Y H:i') }}
@endsection