@extends('layouts.app') @section('title', 'SEU CRM - ' . __('app.interactions')) @section('content')

{{ __('app.interactions') }}

{{ __('app.add_interaction') }}
@if(session('success')) @endif
{{ __('app.all_interactions') }}
@forelse($interactions as $interaction) @empty @endforelse
{{ __('app.customer') }} {{ __('app.channel') }} {{ __('app.direction') }} {{ __('app.subject') }} {{ __('app.user') }} {{ __('app.date') }} {{ __('app.actions') }}
{{ substr($interaction->customer->name, 0, 1) }}
{{ $interaction->customer->name }}
{{ $interaction->customer->email }}
{{ ucfirst($interaction->channel) }} {{ ucfirst($interaction->direction) }} {{ Str::limit($interaction->subject ?? $interaction->body, 50) }} {{ $interaction->user->name ?? __('app.system') }} {{ $interaction->created_at->format('M d, Y H:i') }}
@csrf @method('DELETE')
{{ __('app.no_interactions_found') }}
@if($interactions->hasPages())
{{ $interactions->links() }}
@endif
@endsection