[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
@extends('layouts.master') @section('title') {{ __('Edit Business') }} @endsection @section('main_content') <div class="erp-table-section"> <div class="container-fluid"> <div class="card border-0"> <div class="card-bodys"> <div class="table-header p-16"> <h4>{{ __('Edit Business') }}</h4> @can('plans-read') <a href="{{ route('admin.business.index') }}" class="add-order-btn rounded-2 {{ Route::is('admin.users.create') ? 'active' : '' }}"><i class="far fa-list" aria-hidden="true"></i> {{ __('Business List') }}</a> @endcan </div> <div class="order-form-section p-16"> <form action="{{ route('admin.business.update', $business->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>{{ __('Business Name') }}</label> <input type="text" name="companyName" value="{{ $business->companyName }}" required class="form-control" placeholder="{{ __('Enter Company Name') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{__('Business Category')}}</label> <div class="gpt-up-down-arrow position-relative"> <select name="business_category_id" required class="form-control table-select w-100 role"> <option value=""> {{__('Select Business Category')}}</option> @foreach ($categories as $category) <option @selected($category->id == $business->business_category_id) value="{{ $category->id }}"> {{ ucfirst($category->name) }} </option> @endforeach </select> <span></span> </div> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Subscription Plan') }}</label> <div class="gpt-up-down-arrow position-relative"> <select name="plan_subscribe_id" class="form-control table-select w-100 role"> <option value="">{{ __('Select One') }}</option> @foreach ($plans as $plan) <option value="{{ $plan->id }}" @selected($plan->id == optional($business->enrolled_plan)->plan_id)> {{ ucfirst($plan->subscriptionName) }} </option> @endforeach </select> <span></span> </div> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Phone') }}</label> <input type="text" name="phoneNumber" value="{{ $business->phoneNumber }}" required class="form-control" placeholder="{{ __('Enter Phone Number') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Email') }}</label> <input type="email" name="email" value="{{ $user->email }}" class="form-control" placeholder="{{ __('Enter Email') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Shop Opening Balance') }}</label> <input type="number" name="shopOpeningBalance" value="{{ $business->shopOpeningBalance }}" required class="form-control" placeholder="{{ __('Enter Balance') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{ __('Address') }}</label> <input type="text" name="address" value="{{ $business->address }}" required class="form-control" placeholder="{{ __('Enter Address') }}"> </div> <div class="col-lg-6 mb-2"> <label>{{__('Password')}}</label> <div class="position-relative"> <input type="password" name="password" class="form-control" placeholder="{{ __('Enter New Password') }}"> <span class="hide-pass hide-show-icon"> <img class="showIcon d-none" src="{{ asset('assets/images/icons/show.svg') }}" alt="Show"> <img class="hideIcon" src="{{ asset('assets/images/icons/Hide.svg') }}" alt="Hide"> </span> </div> </div> <div class="col-lg-6 mb-2"> <label>{{__('Confirm password')}}</label> <div class="position-relative"> <input type="password" name="password_confirmation" class="form-control" placeholder="{{ __('Enter Confirm password') }}"> <span class="hide-pass hide-show-icon"> <img class="hideIcon" src="{{ asset('assets/images/icons/Hide.svg') }}" alt="Hide"> <img class="showIcon d-none" src="{{ asset('assets/images/icons/show.svg') }}" alt="Show"> </span> </div> </div> <div class="col-lg-6"> <div class="row"> <div class="col-10"> <label class="img-label">{{ __('Image') }}</label> <input type="file" accept="image/*" name="pictureUrl" class="form-control file-input-change" data-id="image"> </div> <div class="col-2 align-self-center mt-3"> <img src="{{ asset($business->pictureUrl ?? 'assets/images/icons/upload.png') }}" id="image" class="table-img"> </div> </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">{{ __('Save') }}</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