@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() > 5)
@endif @if(empty($settings->from_email))
{!! __('app.msg_configure_mail_setting') !!}
@endif @endif @foreach($notes as $note)
{{$note->title}}
{{\App\Http\Helper\Helper::datetimeDisplay($note->created_at)}}
{{$note->content}}
@endforeach @if(\App\Http\Helper\Helper::checkPermissions('dashboard_cards', false))
@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\Http\Helper\Helper::checkPermissions('analatics_triggers', false) || \App\Http\Helper\Helper::checkPermissions('analatics_split_tests', false))
{{ __('app.analatics') }}
@if(\App\Http\Helper\Helper::checkPermissions('analatics_campaigns', false))
{{ __('app.name') }} {{ __('app.started_at') }} {{ __('app.total') }} {{ __('app.scheduled') }} {{ __('app.sent') }} {{ __('app.opens') }} {{ __('app.clicks') }} {{ __('app.replies') }} {{ __('app.created') }} {{ __('app.detail') }} {{ __('app.action') }}
@endif @if(\App\Http\Helper\Helper::checkPermissions('analatics_triggers', false))
{{ __('app.name') }} {{ __('app.based_on') }} {{ __('app.action') }} {{ __('app.scheduled_by') }} {{ __('app.created') }} {{ __('app.detail') }}
@endif @if(\App\Http\Helper\Helper::checkPermissions('analatics_split_tests', false))
{{ __('app.name') }} {{ __('app.started_at') }} {{ __('app.winning_criteria') }} {{ __('app.decision_percentage') }} {{ __('app.action') }} {{ __('app.total') }} {{ __('app.scheduled') }} {{ __('app.sent') }} {{ __('app.opens') }} {{ __('app.clicks') }} {{ __('app.replies') }} {{ __('app.created') }} {{ __('app.detail') }} {{ __('app.action') }}
@endif
@endif @if(\App\Http\Helper\Helper::checkPermissions('activity_logs', false))
{{__('app.activities')}}
@foreach($activities as $index => $activity) @php $description = !empty($activity->description) ? nl2br(wordwrap($activity->description, 150, "\n", true)) : '---'; $values = ['primary', 'warning', 'success', 'primary1', 'primary2', 'primary3']; $random = Arr::random($values); @endphp

{{\App\Http\Helper\Helper::datetimeDisplay($activity->created_at)}}

{{$activity->causer['name'] ?? ''}}: {{$description ?? ''}}

@endforeach
@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