@extends('frontend.new_design.layout.new_master') @section('site_title', __('Checkout')) @section('meta_title'){{ __('Subscription Checkout') }}@endsection @section('content')

{{ __('Payment method') }}

@if(Auth::guard('web')->check()) @if(Auth::guard('web')->user()->user_type == 1 && Session::get('user_role') != 'freelancer')
{{ __('Notice:') }} {{ __('Please login as a freelancer to buy a subscription.') }}
@endif @endif
@csrf

{{ __('Choose a payment method') }}

@if($subscription->price > 0) @if(Auth::check() && Auth::user()->user_wallet?->balance > 0 && $subscription->price > 0)

{{ __('Wallet Balance:') }} {{ float_amount_with_currency_symbol(Auth::user()->user_wallet?->balance) }}

@endif
{!! \App\Helper\PaymentGatewayList::renderPaymentGatewayForForm2(false) !!}
@else

{{ __('This is a free plan. Click Confirm to activate.') }}

@endif
{{ __('Cancel') }} @if(Auth::guard('web')->check()) @if(Auth::guard('web')->user()->user_type == 2 || (Auth::guard('web')->user()->user_type == 1 && Session::get('user_role') == 'freelancer') || (Auth::guard('web')->user()->user_type == 1 && get_static_option('subscription_chat_enable_disable') == 'disable')) @endif @else @endif

{{ $subscription->title ?? '' }}

{{ float_amount_with_currency_symbol($subscription->price ?? 0) }} /{{ ucfirst($subscription->subscription_type?->type ?? 'month') }}

{{ $subscription->limit ?? '' }} {{ __('Connects') }}

@if($subscription->features && count($subscription->features) > 0)

{{ __('Plan includes:') }}

    @foreach($subscription->features as $feature)
  • {{ $feature->feature ?? '' }}
  • @endforeach
@endif
{{ __('Total') }} {{ float_amount_with_currency_symbol($subscription->price ?? 0) }}
@endsection @section('script') @endsection