@php $userprice = !empty($plan) ? $plan->price_per_user_monthly : 0; $userpriceyearly = !empty($plan) ? $plan->price_per_user_yearly : 0; $workspaceprice = !empty($plan) ? $plan->price_per_workspace_monthly : 0; $workspacepriceyearly = !empty($plan) ? $plan->price_per_workspace_yearly : 0; $planprice = !empty($plan) ? $plan->package_price_monthly : 0; $planpriceyearly = !empty($plan) ? $plan->package_price_yearly : 0; $currancy_symbol = admin_setting('defult_currancy_symbol'); @endphp @extends('layouts.main') @section('page-title') {{ __('Pricing') }} @endsection @section('page-breadcrumb') {{ __('Pricing') }} @endsection @push('scripts') @endpush @section('content') @if((admin_setting('custome_package') == 'on') && (admin_setting('plan_package') == 'on'))
@endif
@if(SubscriptionDetails()['status'] == true)
{{ (SubscriptionDetails()['status'] == true) ? SubscriptionDetails()['billing_type'] : '' }}
{{ (SubscriptionDetails()['status'] == true) ? SubscriptionDetails()['total_user'].' '.__('Users') : '' }}
{{ (SubscriptionDetails()['status'] == true) ? SubscriptionDetails()['total_workspace'].' '.__('Workspace') : '' }}
{{ ((SubscriptionDetails()['status'] == true) && (SubscriptionDetails()['plan_expire_date'] != null)) ? __('Expired At ').SubscriptionDetails()['plan_expire_date'] : '' }}
@endif
{{ $planprice . ' ' . admin_setting('defult_currancy') }} {{ __('/Month') }}
@if (count($modules) > 0)
{{ __('Modules') }}
@foreach ($modules as $module) @php $path = $module->getPath() . '/module.json'; $json = json_decode(file_get_contents($path), true); @endphp @if (!isset($json['display']) || $json['display'] == true)
{{ $module->getName() }}
getName(),explode(',',$session['user_module'])) ))) ? 'checked' :''}} class="form-check-input pointer user_module_check" data-module-img="{{ get_module_img($module->getName()) }}" data-module-price-monthly="{{ ModulePriceByName($module->getName())['monthly_price'] }}" data-module-price-yearly="{{ ModulePriceByName($module->getName())['yearly_price'] }}" data-module-alias="{{ Module_Alias_Name($module->getName()) }}" value="{{ $module->getName() }}">

{{ Module_Alias_Name($module->getName()) }}

{{ isset($json['description']) ? $json['description'] : '' }}

{{ super_currency_format_with_sym(ModulePriceByName($module->getName())['monthly_price']) }} {{ __('/Month') }} {{ super_currency_format_with_sym(ModulePriceByName($module->getName())['yearly_price']) }} {{ __('/Year') }}
{{ __('View Details')}}
@endif @endforeach @else

{{ __('Add-on Not Available') }}

{{ __('Click ') }}{{ __('here') }} {{ __('to back home') }}

@endif
@if (!empty($purchaseds))
{{ __('Activated') }}
@foreach ($purchaseds as $purchased) @php $path = $purchased->getPath() . '/module.json'; $json = json_decode(file_get_contents($path), true); @endphp @if (!isset($json['display']) || $json['display'] == true)
{{ $purchased->getName() }}
{{Form::open(array('route'=>array('cancel.add.on',\Illuminate\Support\Facades\Crypt::encrypt($purchased->getName())),'class' => 'm-0'))}} @method('GET') {{Form::close()}}

{{ Module_Alias_Name($purchased->getName()) }}

{{ isset($json['description']) ? $json['description'] : '' }}

{{ super_currency_format_with_sym(ModulePriceByName($purchased->getName())['monthly_price']) }} {{ __('/Month') }} {{ super_currency_format_with_sym(ModulePriceByName($purchased->getName())['yearly_price']) }} {{ __('/Year') }}
{{ __('View Details') }}
@endif @endforeach @endif
{{ __('Basic Package')}}
  • {{ __('Workspace ') }}: 0
  • {{ __('Users ') }}: 0
  • {{ __('Extension') }}: 0
@endsection @push('scripts') {{-- if session is not empty --}} @if (isset($session) && !empty($session)) @endif @if (admin_setting('bank_transfer_payment_is_on') == 'on') @endif @endpush