{{-- --}}
Qui est Docteur IA ?
{{--
    --}} {{--
  • --}} {{--
--}}
    @if(!session('close_sub_banner'))
  • @if($company->trial)
    Félicitations pour votre abonnement {{$subscription ? $subscription->name : ''}} {{$company->trialDaysLeft()}} jours restants de période d'essai
    @else @php $isPaddleSubscription = false; $paddleCustomerPortalUrl = null; $lastPaddleInvoice = $company->subscriptionInvoices()->where('mode', 'paddle')->latest()->first(); if ($lastPaddleInvoice && $lastPaddleInvoice->paddle_subscription_id && $company->paddle_customer_id) { $isPaddleSubscription = true; try { $paymentGateway = app(\App\Services\PaymentGateways\PaymentGatewayInterface::class); if ($paymentGateway instanceof \App\Services\PaymentGateways\PaddlePaymentGateway) { $paddleCustomerPortalUrl = $paymentGateway->getCustomerPortalUrl($company->paddle_customer_id); } } catch (\Throwable $e) { \Illuminate\Support\Facades\Log::error('Error fetching Paddle customer portal URL', [ 'error' => $e->getMessage(), ]); } } @endphp
    {{$subscription ? $subscription->name : ''}} @if($isPaddleSubscription && $company->paddle_scheduled_cancellation && $company->paddle_subscription_expires_at && \Carbon\Carbon::now()->lessThanOrEqualTo(\Carbon\Carbon::parse($company->paddle_subscription_expires_at))) La résiliation de cet abonnement est prévue pour le {{\Carbon\Carbon::parse($company->paddle_subscription_expires_at)->translatedFormat('d M Y à H:i')}}. @if(auth()->user()->isSubscriber() && $paddleCustomerPortalUrl) Restaurer mon abonnement @endif @else Abonnement actif @endif
    @endif
  • @endif
    @if(auth()->user())
  • {{auth()->user()->proName()}}
    {{auth()->user()->role}} · {{auth()->user()->position}}
  • @endif {{--
  • --}} {{-- --}} {{-- notifications--}} {{-- --}} {{-- --}} {{-- --}} {{--
      --}} {{--
    • --}} {{--

      Notifications

      --}} {{-- New 6--}} {{--
    • --}} {{--
    • --}} {{--
        --}} {{--
      • --}} {{-- --}} {{-- just now--}} {{-- --}} {{-- Congratulations!. --}} {{-- --}} {{--
      • --}} {{--
      • --}} {{-- --}} {{-- 3 mins--}} {{-- --}} {{-- --}} {{-- John Micle is now following you. --}} {{-- --}} {{--
      • --}} {{--
      • --}} {{-- --}} {{-- 7 mins--}} {{-- --}} {{-- --}} {{-- Sneha Jogi sent you a message. --}} {{-- --}} {{--
      • --}} {{--
      • --}} {{-- --}} {{-- 12 mins--}} {{-- --}} {{-- --}} {{-- Ravi Patel like your photo. --}} {{-- --}} {{--
      • --}} {{--
      • --}} {{-- --}} {{-- 15 mins--}} {{-- --}} {{-- Warning! --}} {{-- --}} {{--
      • --}} {{--
      • --}} {{-- --}} {{-- 10 hrs--}} {{-- --}} {{-- Application error. --}} {{-- --}} {{--
      • --}} {{--
      --}} {{--
      --}} {{-- All notifications --}} {{--
      --}} {{--
    • --}} {{--
    --}} {{--
  • --}}
  • @if(auth()->user()->photo) @else {{-- person_pin--}} @endif
    • manage_accounts Mon profil
    • logout Se Déconnecter
  • {{--
  • --}} {{-- --}} {{-- settings--}} {{-- --}} {{--
  • --}}