@include('includes.admin.menu') @if (setting('MAINTENANCE_MODE') == 'on')
{{ lang('This application is in maintenance mode. We are performing scheduled maintenance.') }}
@endif @if (setting('mail_host') == 'smtp.mailtrap.io' && Auth::user()->getRoleNames()[0] == 'superadmin')
{{ lang('It is necessary to set up your email settings first in order to send and receive emails.') }}
@endif @php $cronset = \App\Models\Setting::where('key', 'cronjob_set')->first(); $cronworking = $cronset->updated_at->addDay(1) >= \Carbon\Carbon::now(); @endphp @if ($cronworking != true || $cronset->value == 'installed') @if (Auth::user()->getRoleNames()[0] == 'superadmin')
{{ lang('It is necessary to set up your cron job first in order for the auto functions to work.') }}
@endif @endif @yield('content')