• @if($company->logo) User Image @else {{-- --}} {{-- person_pin--}} @endif
    {{--

    @if(auth()->user()->role == 'Docteur') Dr. @endif {{ auth()->user()->name }}

    --}} {{-- {{ auth()->user()->position }} --}} {{--

    {{ $company->name }}

    --}} {{ $company->name }}
  • {{-- @if(auth()->user()->subStandard())--}}
  • dashboard Tableau de Bord
  • {{-- @endif--}} @if(auth()->user()->isAdmin() or auth()->user()->isSA() or auth()->user()->isSecretary())
  • group Personnel
  • @endif @if(!auth()->user()->isComptable())
  • accessible Patients
  • assignment Prises en charge
    • @if(auth()->user()->isTraitant()) Mes @endif Rendez-vous
    • @if(auth()->user()->isTraitant()) Mes @endif Consultations
    • @if(!auth()->user()->isSecretary())
    • @if(auth()->user()->isTraitant()) Mes @endif Hospitalisations
    • @endif
  • @endif @if(auth()->user()->subStandard() AND (auth()->user()->isTraitant() OR auth()->user()->isAdmin() OR auth()->user()->isSA()))
  • @if(auth()->user()->isTraitant()) Mes @endif Téléconsultations
  • @endif @if(!auth()->user()->subGold())
  • local_pharmacy Produits
  • @endif @if(auth()->user()->isAdmin() OR auth()->user()->isSA() OR auth()->user()->isSecretary())
  • hotel Lieux
    • Départements
    • Chambres
    • Lits
  • @endif @if(auth()->user()->subGold() AND (!auth()->user()->isTraitant()))
  • local_pharmacy Pharmacie
    • Produits
    • Ventes
  • @endif @if(!auth()->user()->isTraitant())
  • monetization_on Facturation
  • @endif @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 @if(auth()->user()->isSA())
  • card_membership Abonnement @if($isPaddleSubscription && $paddleCustomerPortalUrl)
    • Abonnements
      Propulsé par Paddle
    • @if(!$company->trial)
    • Changer de plan
    • @endif
    @else
    • Mon Abonnement
    • Historique des Factures
    @endif
  • @endif @if(auth()->user()->isAdmin() OR auth()->user()->isSA() OR auth()->user()->isSecretary())
  • settings Paramètres
    • Infos Générales
    • Prestations
    • Analyses
    • @if(auth()->user()->isSA())
    • Types Hospitalisation
    • Spécialités
    • Maladies ou Gênes
    • @endif
  • @endif