@if (app()->getLocale() == 'ar') @else @endif @if ($_css) @foreach ($_css as $item) @endforeach @endif @if (!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] != config('mobile_app.app_id')) @include('patient.app.navbar') @endif
@if ($errors->any())
@endif @if (Session::has('error'))
@php session()->pull('error'); @endphp @endif @if (Session::has('success'))
@php session()->pull('success'); @endphp @endif @if (Session::has('info'))
@php session()->pull('info'); @endphp @endif
@include($_page) @if ($_js) @foreach ($_js as $item) @endforeach @endif @hasSection('scripts') @yield('scripts') @endif