@foreach ($currencies as $currency) @endforeach

Pick Your Plan

@foreach ($modules as $index => $module)

$index % 2 == 0 ])> {{ $module->name }}

@endforeach
@foreach ($packages as $package)
$package->is_recommended, 'border-gray-300 dark:border-gray-600' => ! $package->is_recommended ])> @if ($package->is_recommended) POPULAR @endif

{{ $package->package_name }}

@if ($package->is_free) @lang('modules.billing.free') @else {{ $package->currency->currency_symbol }}{{ $package->package_type === App\Enums\packageType::LIFETIME ? $package->price : ($isAnnual ? $package->annual_price : $package->monthly_price) }} @endif

@if ($package->package_type === App\Enums\packageType::DEFAULT) @lang('modules.package.defaultPlan') @elseif ($package->package_type === App\Enums\packageType::LIFETIME) @lang('modules.billing.lifetimeAccess') @elseif (!$package->is_free) @lang('modules.billing.billed') {{ $isAnnual ? __('modules.billing.annually') : __('modules.billing.monthly') }} @endif
@foreach ($modules as $module)

$loop->index % 2 == 0])> @if ($package->modules->contains($module)) @else @endif

@endforeach @if ($package->is_free || $paymentActive || ($package->id == $restaurant->package_id && $restaurant->package_type == ($isAnnual ? 'annual' : 'monthly')) || $package->package_type == App\Enums\PackageType::DEFAULT)
  • @if($package->id == $restaurant->package_id && ($restaurant->package_type == ($isAnnual ? 'annual' : 'monthly') || !in_array($restaurant->package_type, ['annual', 'monthly']))) @lang('modules.package.currentPlan') @else @lang('modules.package.choosePlan') @endif
  • @else
  • @lang('modules.billing.noPaymentOptionEnable')
  • @endif
    @endforeach
    @if($free) @lang('modules.billing.choosePlan') @else @lang('modules.billing.choosePaymentMethod') @endif @if(!$free)
    @switch($show) @case('payment-method') @include('plans.payment-methods') @break @case('authorize') @include('plans.authorize-payment-method-form') @break @default

    No payment method selected.

    @endswitch
    @else
    @lang($selectedPlan->packageType === App\Enums\PackageType::DEFAULT ? 'modules.package.choseDefaultPlan' : 'modules.package.choseFreePlan')
    @endif
    @lang('app.cancel') @if($offlineMethodId) @lang($show === 'authorize' ? 'app.save' : 'app.select') @endif
    @if(!$free) @if($stripeSettings->razorpay_status == 1 || $stripeSettings->stripe_status == 1) @push('scripts') @script @endscript @endpush @endif @endif