@extends('layouts.master') @section('title') {{ __('addons') }} @endsection @section('content')
{{-- @foreach ($addons as $addon)

{{ $addon->name }}

{{ __('price') }} : {{ $settings['currency_symbol'] ?? null }} {{ number_format($addon->price, 2) }}


{{ $addon->feature->name }}

@if (in_array($addon->feature_id, $subscibed_addons) || in_array($addon->feature_id, $subscription)) @else @endif
@endforeach --}} @foreach ($addons as $addon) @if (in_array($addon->feature_id, $features))
{{ __('added') }}

{{ $addon->name }}

{{ __('price') }} : {{ $settings['currency_symbol'] ?? null }} {{ number_format($addon->price, 2) }}


{{ __($addon->feature->name) }}

@else

{{ $addon->name }}

{{ __('price') }} : {{ $settings['currency_symbol'] ?? null }} {{ number_format($addon->price, 2) }}


{{ $addon->feature->name }}

@if ($subscription) @if ($paymentConfiguration && $subscription->package_type == 0)
@csrf
@else @endif @endif
@endif @endforeach
@endsection @section('script') @foreach ($addons as $addon) @endforeach @endsection