@extends('layouts.base') @section('content') @section('breadcrumb') @endsection

Vos applications

@if($applications->isEmpty())
Aucune application disponible

Contactez votre administrateur pour obtenir des accès.

@else
@foreach($applications as $app)
@if($app->logo)
{{ $app->name }}
@else
{{ Str::of($app->name)->substr(0,1) }}
@endif {{ $app->is_active ? 'Actif' : 'Inactif' }}
{{ $app->name }}
@if($app->description)

{{ Str::limit($app->description, 120) }}

@endif
@if($app->domain) @endif
{{ $app->users_count ?? $app->users()->count() }} utilisateurs {{ $app->users_active_count ?? $app->users()->where('is_active', true)->count() }} actifs {{ $app->users_inactive_count ?? $app->users()->where('is_active', false)->count() }} inactifs {{ $app->clients_count ?? $app->clients()->count() }} client{{ ($app->clients_count ?? $app->clients()->count()) > 1 ? 's' : '' }} Max: {{ $app->max_users ? number_format($app->max_users) : '∞' }}
@if(($app->subscription?->count() ?? 0) > 0) @php $sub = $app->subscription; @endphp
{{ $sub->name }}
@if($sub->description)
{{ Str::limit($sub->description, 80) }}
@endif
@if(!is_null($sub->price_monthly))
{{ number_format($sub->price_monthly, 2, ',', ' ') }} €/mois
@endif @if(!is_null($sub->price_yearly))
{{ number_format($sub->price_yearly, 2, ',', ' ') }} €/an
@endif
@endif @if(($app->features?->count() ?? 0) > 0)
Fonctionnalités actives
@foreach($app->features as $feature) {{ $feature->name }} @endforeach
@endif
Voir les utilisateurs Voir les clients
@if(!is_null($app->price_monthly) || !is_null($app->price_yearly)) @if(!is_null($app->price_monthly)) {{ number_format($app->price_monthly, 2, ',', ' ') }} €/mois @endif @if(!is_null($app->price_yearly)){{ number_format($app->price_yearly, 2, ',', ' ') }} €/an@endif @endif
@if($app->subscription_manager) @endif
@endforeach
@endif
@endsection