@php $path = explode('/', request()->path()); $path[1] = array_key_exists(1, $path) > 0 ? $path[1] : ''; $path[2] = array_key_exists(2, $path) > 0 ? $path[2] : ''; $path[0] = $path[0] === '' ? 'documents' : $path[0]; $visual->sidebar_theme = property_exists($visual, 'sidebar_theme') ? $visual->sidebar_theme : ''; $enterPermissions = auth()->user()->enterPermissions; $default_favicon = 'images/iconoPNG.png'; $default_favicon_version = file_exists(public_path($default_favicon)) ? filemtime(public_path($default_favicon)) : time(); @endphp {{-- Force cache bust when app version changes --}} {{-- --}} {{-- --}} @yield('title', 'Sysfarma') @if(file_exists(public_path('css/overrides.css'))) @endif {{-- --}} @stack('styles') Ir al contenido principal @include('tenant.layouts.partials.preloader')
@yield('content')
{{-- Flotante de WhatsApp: oculto en giros Clínica y Veterinaria (feature de farmacia/ecommerce) --}} @if($show_ws && empty($vc_compact_sidebar->is_clinic) && empty($vc_compact_sidebar->is_veterinary)) @if(strlen($phone_whatsapp) > 0) Whatsapp @endif @endif @stack('scripts') {{-- --}}