@extends('layouts.app') @section('title', app()->getLocale() === 'fr' ? 'Forfaits | Menu Intelligent' : 'Packages | Smart Menu') @push('styles') @endpush @section('content') @php $fr = app()->getLocale() === 'fr'; $featureTranslations = [ 'Unlimited menu items and QR scans' => 'Plats et scans QR illimités', 'English and French customer menu' => 'Menu client en français et en anglais', 'Nutrition calculation' => 'Calcul des informations nutritionnelles', 'AI smart menu search' => 'Recherche intelligente avec IA', 'Customer search analytics' => 'Analyse des recherches des clients', 'Restaurant branding' => 'Image de marque du restaurant', 'Technical support' => 'Soutien technique', 'Free restaurant setup' => 'Configuration gratuite du restaurant', 'Priority technical support' => 'Soutien technique prioritaire', ]; @endphp
{{ $fr ? 'Tarification simple' : 'Simple pricing' }}

{{ $fr ? 'Un menu plus intelligent. Un prix sans surprise.' : 'A smarter menu. Straightforward pricing.' }}

{{ $fr ? 'Offrez une expérience QR moderne, bilingue et personnalisée à chaque client.' : 'Give every customer a modern, bilingual and personalized QR menu experience.' }}

✓ {{ $fr ? 'Essai gratuit de 24 heures — aucune carte requise' : 'Free 24-hour trial — no credit card required' }}
@foreach($plans as $plan) @php($yearly = $plan->billing_interval === 'year')
@if($yearly){{ $fr ? 'Meilleure valeur' : 'Best value' }}@endif

{{ $yearly ? ($fr ? 'Forfait annuel' : 'Yearly package') : ($fr ? 'Forfait mensuel' : 'Monthly package') }}

${{ number_format((float)$plan->price, 0) }} CAD / {{ $yearly ? ($fr ? 'année' : 'year') : ($fr ? 'mois' : 'month') }}

{{ $yearly ? ($fr ? 'Économisez 98 $ par année et profitez de la configuration gratuite.' : 'Save $98 per year and receive free restaurant setup.') : ($fr ? 'La flexibilité complète, facturée un mois à la fois.' : 'Complete flexibility, paid one month at a time.') }}

    @foreach($plan->features ?? [] as $feature)
  • {{ $fr ? ($featureTranslations[$feature] ?? $feature) : $feature }}
  • @endforeach
@auth
@else @endauth
@endforeach
@endsection @auth @push('scripts') @endpush @endauth