⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
resources
/
views
/
plans
/
View File Name :
index.blade.php
@extends('layouts.main') @section('page-title') {{ __('Subscription Setting')}} @endsection @section('page-breadcrumb') {{ __('Subscription Setting') }} @endsection @section('page-action') <div> <div class="button-tab-wrapper"> <div class="create-packge-tab"> <label for="plan_package"><h5>{{ __('Create Package') }}</h5></label> <div class="form-check form-switch custom-switch-v1 float-end"> <input type="checkbox" name="plan_package" class="form-check-input input-primary pointer" id="plan_package" {{ admin_setting('plan_package') == 'on' ? 'checked' : '' }}> <label class="form-check-label" for="plan_package"></label> </div> </div> <div class="custome-design-tab"> <label for="custome_package"><h5>{{ __('Custom Design Package') }}</h5></label> <div class="form-check form-switch custom-switch-v1 float-end"> <input type="checkbox" name="custome_package" class="form-check-input input-primary pointer" id="custome_package" {{ admin_setting('custome_package') == 'on' ? 'checked' : '' }}> <label class="form-check-label" for="custome_package"></label> </div> </div> </div> </div> @endsection @section('content') <div class="row justify-content-center px-0"> @if((admin_setting('custome_package') == 'on') && (admin_setting('plan_package') == 'on')) <div class=" col-12"> <div class=""> <div class="card-body package-card-inner d-flex align-items-center justify-content-center my-3"> <div class="tab-main-div"> <div class="nav-pills"> <a class="nav-link p-2" href="{{ route('plan.list')}}" role="tab" aria-controls="pills-home" aria-selected="true">{{__('Pre-Packaged Subscription')}}</a> </div> <div class="nav-pills"> <a class="nav-link active p-2" href="{{ route('plans.index')}}" role="tab" aria-controls="pills-home" aria-selected="true">{{__('Usage Subscription')}}</a> </div> </div> </div> </div> </div> @endif @if(admin_setting('custome_package') == 'on') <div class=" col-12"> <div class="card"> {{ Form::open(['url' => 'plans']) }} <div class="card-body package-card-inner d-flex align-items-center"> <div class="package-itm theme-avtar border border-secondary"> <img src="{{ (!empty(admin_setting('favicon')) && check_file(admin_setting('favicon'))) ? get_file(admin_setting('favicon')) : get_file('uploads/logo/favicon.png')}}{{'?'.time()}}" alt=""> </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-itm px-3"> {{ 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']) }} </div> <div class="package-content flex-grow-1 px-3"> </div> <div class="price text-end"> {{ Form::submit(__('Save'), ['class' => 'btn btn-primary']) }} </div> </div> {{ Form::close() }} </div> </div> <!-- [ sample-page ] start --> <div class="event-cards row px-0"> @if (count($modules)) @foreach ($modules as $module) @if (!isset($module->display) || $module->display == true) <div class="col-lg-2 col-md-4 col-sm-6 product-card "> <div class="card {{ ($module->isEnabled()) ? 'enable_module' : 'disable_module'}}"> <div class="product-img"> <div class="theme-avtar"> <img src="{{ $module->image }}{{'?'.time()}}" alt="{{ $module->name }}" class="img-user" style="max-width: 100%"> </div> <div class="checkbox-custom"> <div class="btn-group card-option"> <button type="button" class="btn" data-ajax-popup="true" data-size="md" data-title="{{ __('Customize Logo And Name') }}" data-url="{{ route('add-one.detail',$module->name) }}" data-bs-toggle="tooltip" data-bs-original-title="{{ __('Module Setting') }}"> <i class="ti ti-adjustments"></i> </button> </div> </div> </div> <div class="product-content"> <h4> {{ $module->alias }}</h4> <p class="text-muted text-sm mb-0"> {{ $module->description ?? '' }} </p> <div class="price d-flex justify-content-between"> {{-- <ins><span class="currency-type">{{ super_currency_format_with_sym(ModulePriceByName($module->name)['monthly_price']) }}</span> <span class="time-lbl text-muted">{{ __('/Month') }}</span></ins> <ins><span class="currency-type">{{ super_currency_format_with_sym(ModulePriceByName($module->name)['yearly_price']) }}</span> <span class="time-lbl text-muted">{{ __('/Year') }}</span></ins> --}} <ins><span>{{ super_currency_format_with_sym(ModulePriceByName($module->name)['monthly_price']) }}</span> <span class="time-lbl text-muted">{{ __('/Month') }}</span></ins> <ins><span>{{ super_currency_format_with_sym(ModulePriceByName($module->name)['yearly_price']) }}</span> <span class="time-lbl text-muted">{{ __('/Year') }}</span></ins> </div> <a href="{{ route('software.details',$module->alias) }}" target="_new" class="btn btn-outline-secondary w-100 mt-2">{{ __('View Details')}}</a> </div> </div> </div> @endif @endforeach @else <div class="col-lg-12 col-md-12"> <div class="card p-5"> <div class="d-flex justify-content-center"> <div class="ms-3 text-center"> <h3>{{ __('Add-on Not Available') }}</h3> <p class="text-muted">{{ __('Click ') }}<a href="{{route('module.index') }}">{{ __('here') }}</a> {{ __('To Acctive Add-on') }}</p> </div> </div> </div> </div> @endif </div> <!-- [ sample-page ] end --> @endif </div> @endsection @include('plans.plan_script')