@extends('admin.layout') @if (!empty($la) && $la->rtl == 1) @section('styles') @endsection @endif @if (empty($la) && $be->default_language_direction == 'rtl') @section('styles') @endsection @endif @php $langDirection = $be->default_language_direction; if(request()->has('language')) { $language = \App\Models\Language::where('code', request('language'))->first(); if($language) { $langDirection = $language->rtl; } } if($langDirection == 1) { $langDirection = 'rtl'; } else { $langDirection = 'ltr'; } @endphp @section('content')