@extends('layouts.app') @section('title', $page_title) @section('styles') @endsection @push('scripts') @endpush @section('content')
@if(Auth::user()->id == config('custom.app_id')) @if(file_exists(public_path().DIRECTORY_SEPARATOR.'install'))
{!! __('app.msg_remove_install_folder') !!} "{{public_path().DIRECTORY_SEPARATOR.'install'}}"
@endif @if(\App\Http\Helper\Helper::getCronLatExecutedMinutes() > 3)
@endif @if(empty($settings->from_email))
{!! __('app.msg_configure_mail_setting') !!}
@endif @endif @if(\App\Http\Helper\Helper::checkPermissions('dashboard_cards', false))

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

{{ \App\Models\Lists::all()->count() }}

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

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

{{ \App\Models\Contact::all()->count() }}

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

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

{{ \App\Models\ScheduleCampaign::getRunningCampaing() }}

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

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

{{ \App\Models\SendingServer::whereStatus('Active')->count() }}
{{__('app.add_new_delivery_server')}}

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

{{ \App\Models\SendingDomain::whereIsActive(true)->count() }}

{{__('app.add_new_sending_domain')}}
@endif
@if(\App\Http\Helper\Helper::checkPermissions('dashboard_calander', false))
@endif @if(\App\Http\Helper\Helper::checkPermissions('dashboard_campaigns_stats', false))
{{ __('app.campaigns') }}
@endif
@if(\App\Http\Helper\Helper::checkPermissions('analatics_campaigns', false))
{{ __('app.analatics') }}
{{ __('app.name') }} {{ __('app.started_at') }} {{ __('app.total') }} {{ __('app.scheduled') }} {{ __('app.sent') }} {{ __('app.opens') }} {{ __('app.clicks') }} {{ __('app.created') }} {{ __('app.detail') }} {{ __('app.action') }}
@endif
@if(\App\Http\Helper\Helper::checkPermissions('dashboard_country_stats', false))
{{ __('app.open_by_countries') }}
@endif @if(\App\Http\Helper\Helper::checkPermissions('dashboard_domain_stats', false))
{!! __('app.top_5_domains') !!}
@endif
@include('includes.datatables') @endsection