Modulos

@if ($tenant_show_ads && $url_tenant_image_ads)
@endif
@inject('systemUser', 'App\Models\System\User') @php $supportUser = $systemUser::first(); $hasSupportContact = $supportUser && ($supportUser->phone || $supportUser->whatsapp_number || $supportUser->address_contact); @endphp @if($hasSupportContact) @endif {{-- Certificado digital SUNAT por vencer/vencido -- alerta si certificate_due esta a 60 dias o menos. --}} @php $certDue = $vc_company->certificate_due ?? null; $certDays = $certDue ? (int) now()->diffInDays(\Carbon\Carbon::parse($certDue), false) : null; $certAlert = $certDays !== null && $certDays <= 60; @endphp @if($certAlert) @endif {{-- Alertas de farmacia -- pro9 no traia equivalente, se agregaron directo. --}} @component('tenant.layouts.partials.notification_icon', ['href' => route('items_date_of_due', ['filter_type' => 'expired']), 'title' => 'Productos vencidos o que vencen este mes', 'count' => $vc_items_expiringProducts, 'variant' => 'danger']) @endcomponent {{-- Pedidos ecommerce pendientes. --}} {{-- Pedidos ecommerce pendientes deshabilitados para este tenant. --}} @if(false && $vc_orders > 0) @endif @component('tenant.layouts.partials.notification_icon', ['href' => route('stockcero'), 'title' => 'Productos con stock cero', 'count' => $vc_items_stock, 'variant' => 'info']) @endcomponent @if(in_array('digemid', $vc_modules)) @component('tenant.layouts.partials.notification_icon', ['href' => route('reports.compliance.index'), 'title' => 'Cumplimiento Regulatorio']) @endcomponent @endif {{-- Productos con código DIGEMID dado de baja (re-vincular para reportar OPPF). --}} @if(in_array('digemid', $vc_modules) && ($vc_items_digemid_inactive ?? 0) > 0) @component('tenant.layouts.partials.notification_icon', ['href' => route('tenant.digemid.index').'?filter=inactive_code', 'title' => 'Productos con código DIGEMID dado de baja', 'count' => $vc_items_digemid_inactive, 'variant' => 'warning']) @endcomponent @endif @if(in_array('reports', $vc_modules) && $vc_finished_downloads > 0) @endif {{-- CPE pendientes de rectificacion -- cumplimiento SUNAT. --}} @if($vc_document_regularize_shipping > 0) @component('tenant.layouts.partials.notification_icon', ['href' => route('tenant.documents.regularize_shipping'), 'title' => 'Comprobantes pendientes de rectificación', 'count' => $vc_document_regularize_shipping, 'variant' => 'danger']) @endcomponent @endif
@if($hasSupportContact)
Soporte al Cliente
@if($supportUser && $supportUser->introduction)
{!! $supportUser->introduction !!}
@endif
@if($supportUser && $supportUser->whatsapp_number) @endif @if($supportUser && $supportUser->phone) @endif @if($supportUser && $supportUser->address_contact) @endif
@endif @push('scripts') @endpush @push('scripts') @endpush {{-- Popup post-login con pendientes SUNAT (envio/resumen/baja). Solo estilos inline (sin clases del theme); /set-login-shown evita que se repita. --}} @if(session('first_login')) @if($vc_pending_login_alert_total > 0) @push('scripts') @endpush @endif @endif {{--
Acceso Rápido
--}}