@extends('admin.layout') @if (Session::has('admin_lang')) @php $admin_lang = Session::get('admin_lang'); $cd = str_replace('admin_', '', $admin_lang); $default = \App\Models\Language::where('code', $cd)->first(); @endphp @else @php $default = \App\Models\Language::where('is_default', 1)->first(); @endphp @endif @if (!empty($la) && $la->rtl == 1) @section('styles') @endsection @endif @if (empty($la) && $be->default_language_direction == 'rtl') @section('styles') @endsection @endif @section('content')