@if(file_exists(public_path('js/lang/' . session()->get('user.language', config('app.locale')) . '.js'))) @else @endif @php $business_date_format = session('business.date_format', config('constants.default_date_format')); $datepicker_date_format = str_replace('d', 'dd', $business_date_format); $datepicker_date_format = str_replace('m', 'mm', $datepicker_date_format); $datepicker_date_format = str_replace('Y', 'yyyy', $datepicker_date_format); $moment_date_format = str_replace('d', 'DD', $business_date_format); $moment_date_format = str_replace('m', 'MM', $moment_date_format); $moment_date_format = str_replace('Y', 'YYYY', $moment_date_format); $business_time_format = session('business.time_format'); $moment_time_format = 'HH:mm'; if($business_time_format == 12){ $moment_time_format = 'hh:mm A'; } $common_settings = !empty(session('business.common_settings')) ? session('business.common_settings') : []; $default_datatable_page_entries = !empty($common_settings['default_datatable_page_entries']) ? $common_settings['default_datatable_page_entries'] : 25; @endphp @if(file_exists(public_path('js/lang/' . session()->get('user.language', config('app.locale')) . '.js'))) @else @endif @if(file_exists(public_path('AdminLTE/plugins/select2/lang/' . session()->get('user.language', config('app.locale')) . '.js'))) @endif @php $validation_lang_file = 'messages_' . session()->get('user.language', config('app.locale') ) . '.js'; @endphp @if(file_exists(public_path() . '/js/jquery-validation-1.16.0/src/localization/' . $validation_lang_file)) @endif @if(!empty($__system_settings['additional_js'])) {!! $__system_settings['additional_js'] !!} @endif @yield('javascript') @if(Module::has('Essentials')) @includeIf('essentials::layouts.partials.footer_part') @endif