@extends('layouts.main') @section('page-title') {{ __('Subscription Setting')}} @endsection @section('page-breadcrumb') {{ __('Subscription Setting') }} @endsection @section('page-action')
@endsection @section('content')
@if((admin_setting('custome_package') == 'on') && (admin_setting('plan_package') == 'on'))
@endif @if(admin_setting('custome_package') == 'on')
{{ Form::open(['url' => 'plans']) }}
{{ Form::label('package_price_monthly', __('Basic Package Price/Month').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('package_price_monthly', !empty($plan) ? $plan->package_price_monthly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Price/month'),'step' => '0.1','min'=>'0']) }}
{{ Form::label('package_price_yearly', __('Basic Package Price/Year').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('package_price_yearly', !empty($plan) ? $plan->package_price_yearly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Price/Yearly'),'step' => '0.1','min'=>'0']) }}
{{ Form::label('price_per_user_monthly', __('Per User Price/Month').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('price_per_user_monthly', !empty($plan) ? $plan->price_per_user_monthly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Enter Price Per User'),'step' => '0.1','min'=>'0']) }}
{{ Form::label('price_per_user_yearly', __('Per User Price/Year').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('price_per_user_yearly', !empty($plan) ? $plan->price_per_user_yearly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Enter Price Per User'),'step' => '0.1','min'=>'0']) }}
{{ Form::label('price_per_workspace_monthly', __('Per Workspace Price/Month').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('price_per_workspace_monthly', !empty($plan) ? $plan->price_per_workspace_monthly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Enter Price Per Workspace'),'step' => '0.1','min'=>'0']) }}
{{ Form::label('price_per_workspace_yearly', __('Per Workspace Price/Year').' ( '.admin_setting('defult_currancy_symbol').' )', ['class' => 'form-label']) }} {{ Form::number('price_per_workspace_yearly', !empty($plan) ? $plan->price_per_workspace_yearly : null, ['class' => 'form-control','required'=>'required','placeholder' => __('Enter Price Per Workspace'),'step' => '0.1','min'=>'0']) }}
{{ Form::submit(__('Save'), ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@if (count($modules)) @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->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 Acctive Add-on') }}

@endif
@endif
@endsection @include('plans.plan_script')