@extends('../layout/' . layout())
@section('subhead')
@can('AdminAgent')
@if (
env('TEST_CONNECTION_MAIL') == null
&& env('TEST_CONNECTION_SMS') == null
&& env('MAIL_USERNAME') == null
&& env('MAIL_PASSWORD') == null
&& env('STRIPE_KEY') == null
&& env('STRIPE_SECRET') == null
&& env('PAYPAL_CLIENT_ID') == null
&& env('PAYPAL_SECRET') == null
&& templateCount() > 0
&& smsTemplateCount() > 0
)
@include('dashboard.components.configure')
@endif
@endcan
@can('AdminCustomer')
@include('dashboard.components.general_report')
@endcan
{{-- sent_mails_chart --}}
@include('dashboard.components.sent_mails_chart')
{{-- sent_mails_chart:END --}}
{{-- sent_mails_chart --}}
@include('dashboard.components.sent_sms_chart')
{{-- sent_mails_chart:END --}}
@include('components.tracker-statistics') {{-- Has Issue --}}
@include('dashboard.components.plan_limit_chart') {{-- Has Issue --}}
@can('AdminCustomer')
@include('dashboard.components.purchase_history')
@include('dashboard.components.purchase_chart')
@endcan
@can('Admin')
@include('dashboard.components.earning')
@include('dashboard.components.weekly_top_senders')
@endcan
@include('dashboard.components.last_sent_mail')
@include('dashboard.components.last_sent_sms')
@if (count(notes()) > 0)
@include('dashboard.components.notes')
@endif
@include('dashboard.components.campaign_log')