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

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

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

{{ number_format($stats['total_customers']) }}

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

{{ number_format($stats['active_deals']) }}

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

{{ number_format($stats['pending_tasks']) }}

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

${{ number_format($stats['total_revenue'], 2) }}

{{ __('app.recent_interactions') }}
@if($recent_interactions->count() > 0) @foreach($recent_interactions->take(5) as $interaction)

{{ $interaction->customer->name }}

{{ $interaction->type }} - {{ $interaction->created_at->diffForHumans() }}
@endforeach @else

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

@endif
{{ __('app.pending_tasks') }}
@if($recent_ai_tasks->count() > 0) @foreach($recent_ai_tasks->take(5) as $task)

{{ Str::limit($task->title, 30) }}

{{ $task->customer->name }} - {{ $task->created_at->diffForHumans() }}
@endforeach @else

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

@endif
@endsection