@extends('layouts.main') @section('page-title') {{ __('Subscription Setting') }} @endsection @section('page-breadcrumb') {{ __('Subscription Setting') }} @endsection @push('css') @endpush @section('content')
@if (admin_setting('custome_package') == 'on' && admin_setting('plan_package') == 'on')
@endif @if (admin_setting('plan_package') == 'on')

{{ __('Clear and') }} {{ __('simple Pricing') }}

{{ __('Flexible plans for developers, businesses and enterprises alike. We grow as you grow.') }}

{{ __('Compare our plans') }}

    @foreach ($modules as $module) @php $id = strtolower(preg_replace('/\s+/', '_', $module->getName())); $path = $module->getPath() . '/module.json'; $json = json_decode(file_get_contents($path), true); @endphp @if (!isset($json['display']) || $json['display'] == true)
  • {{ Module_Alias_Name($module->getName()) }}
  • @endif @endforeach
@foreach ($plan as $single_plan) @php $plan_modules = !empty($single_plan->modules) ? explode(',', $single_plan->modules) : []; @endphp

{{ !empty($single_plan->name) ? $single_plan->name : __('Basic') }}

{{ currency_format_with_sym($single_plan->package_price_monthly) }}{{ __('/Per Month') }} {{ currency_format_with_sym($single_plan->package_price_yearly) }}{{ __('/Per Year') }}
  • {{ __('Max User :') }} {{ $single_plan->number_of_user == -1 ? 'Unlimited': (!empty($single_plan->number_of_user) ? $single_plan->number_of_user : 'Unlimited') }}
  • {{ __('Max Workspace :') }} {{ $single_plan->number_of_workspace == -1 ? 'Unlimited': (!empty($single_plan->number_of_workspace) ? $single_plan->number_of_workspace : 'Unlimited') }}
  • {{ __('Free Trail Days :') }} {{ !empty($single_plan->trial_days) ? $single_plan->trial_days : 0 }}
    @foreach ($modules as $module) @php $id = strtolower(preg_replace('/\s+/', '_', $module->getName())); $path = $module->getPath() . '/module.json'; $json = json_decode(file_get_contents($path), true); @endphp @if (!isset($json['display']) || $json['display'] == true) @if (in_array($module->getName(), $plan_modules))
  • @else
  • @endif @endif @endforeach
  • @if (\Auth::user()->active_plan == $single_plan->id) @if (\Auth::user()->plan_expire_date || \Auth::user()->trial_expire_date) @if (\Auth::user()->plan_expire_date > \Auth::user()->trial_expire_date) {{ __('Plan Expired : ') }} {{ !empty(\Auth::user()->plan_expire_date) ? company_date_formate(\Auth::user()->plan_expire_date) : date('Y-m-d') }} @else {{ __('Trial Expires on : ') }} {{ !empty(\Auth::user()->trial_expire_date) ? company_date_formate(\Auth::user()->trial_expire_date) : date('Y-m-d') }} {{ __('Subscription') }} @endif @endif @else {{ __('Subscription') }} @if ($single_plan->trial == 1 && $single_plan->is_free_plan != 1 && empty(\Auth::user()->trial_expire_date)) {{ __('Start Free Trial') }} @endif @endif
@endforeach
@endif
@endsection @push('scripts') @endpush