!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/portfolio.picotech.app/public_html/resources/views/admin/report/   drwxr-xr-x
Free 28.3 GB of 117.98 GB (23.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     plan_report.blade.php (8.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.admin')

@section('title')
        {{trans('Plan Reports')}}
@endsection

@section('extra-css')
    <link rel="stylesheet" href="{{asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')}}">
    <link rel="stylesheet" href="{{asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')}}">
    <link rel="stylesheet" href="{{asset('plugins/daterangepicker/daterangepicker.css')}}">
    <link rel="stylesheet" href="{{asset('plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css')}}">
    <link rel="stylesheet" href="{{asset('/css/custom_modal.css')}}">

    <style>
        .daterangepicker.show-calendar{
            top: 226.391px !important;
        }
        .custom-box-shadow{
            background: #f5f1f1 !important;
        }
    </style>
@endsection

@section('content')
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-12 mt-3">
                <div class="card">
                    <div class="card-header">
                        <h2 class="card-title">
                                {{trans('Plan Reports')}}
                        </h2>
                        <div class="float-right">
                            <button type="button" class="btn btn-primary show_filter_modal">
                                <i class="fa fa-filter mr-2" aria-hidden="true"></i>  Filter
                            </button>
                        </div>
                    </div>

                    <!-- /.card-header -->
                    <div class="card-body table-body">
                        <table id="contacts" class="table table-striped table-bordered dt-responsive nowrap">
                            <thead>
                            <tr>
                                <th>{{trans('Profile')}}</th>
                                <th>{{trans('Plan Details')}}</th>
                                <th>{{trans('Amount')}}</th>
                            </tr>
                            </thead>

                        </table>
                    </div>
                    <!-- /.card-body -->
                </div>
                <!-- /.card -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </section>
    <!-- /.content -->

    <!-- Modal -->
    <div class="modal right fade" id="filterModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2">
        <div class="modal-dialog" role="document">
            <div class="modal-content">

                <div class="modal-header justify-content-center bg-primary">
                    <h4 class="modal-title text-white" id="myModalLabel2">     {{trans('Plan Reports')}}  </h4>
                </div>

                <div class="modal-body">
                    <div class="container">
                        <form action="">
                            <div class="row">
                                <div class="col-md-12">
                                    <label for="">Date</label>
                                    <div class="input-group">
                                        <input type="text" value="{{isset($request_data['date'])?$request_data['date']:''}}" name="date"
                                               class="form-control pull-right" id="reservation">
                                    </div>
                                </div>

                                <div class="col-md-12 mt-3">
                                    <label for=""> Customer Type</label>
                                    <select name="customer_type" id="customerType" class="form-control">
                                        <option value="">--Customer Type--</option>
                                        <option {{request()->get('customer_type') && request()->get('customer_type')=='master_reseller'?'selected':''}} value="master_reseller">Master Reseller</option>
                                        <option {{request()->get('customer_type') && request()->get('customer_type')=='reseller'?'selected':''}} value="reseller">Reseller</option>
                                        <option {{request()->get('customer_type') && request()->get('customer_type')=='customer'?'selected':''}} value="customer">Customer</option>
                                    </select>
                                </div>

                                <div class="col-md-12 mt-3">
                                    <label for=""> Customer</label>
                                    <select name="customer_id" id="customers" class="form-control">
                                        <option value="">--Customer--</option>
                                        @foreach($customers as $customer)
                                            <option {{isset($request_data['customer_id']) && $request_data['customer_id']==$customer->id?'selected':''}}
                                                    value="{{$customer->id}}">{{$customer->full_name}}</option>
                                        @endforeach
                                    </select>
                                </div>

                                <div class="col-md-12 mt-3">
                                    <label for="">Type</label>
                                    <select disabled  id="allType" class="form-control">
                                        <option value="plan">Plan</option>
                                    </select>
                                </div>

                                <div class="col-md-6 pt-2">
                                    <button class="btn btn-danger btn-sm mt-4 d-block w-100 closeFilterModal" type="button">Close</button>
                                </div>
                                <div class="col-md-6 pt-2">
                                    <button class="btn btn-primary btn-sm mt-4 d-block w-100 float-right" type="submit">Filter</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>

            </div><!-- modal-content -->
        </div><!-- modal-dialog -->
    </div>
    <!-- modal -->
@endsection

@section('extra-scripts')
    <script src="{{asset('plugins/datatables/jquery.dataTables.min.js')}}"></script>
    <script src="{{asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')}}"></script>
    <script src="{{asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')}}"></script>
    <script src="{{asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')}}"></script>
    <script src="{{asset('plugins/daterangepicker/moment.min.js')}}"></script>
    <script src="{{asset('plugins/daterangepicker/daterangepicker.js')}}"></script>
    <script src="{{asset('plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js')}}"></script>
    <script>
        "use strict";
        let orderDataTable='';
        const queryString=window.location.search;

        orderDataTable=  $('#contacts').DataTable({
            processing: true,
            serverSide: true,
            responsive:true,
            ajax:'{{route('admin.plan.getall.reports')}}'+queryString,

            columns: [
                { "data": "customer" },
                { "data": "plan_details" },
                { "data": "amount" },
            ]
        });

        $(document).on('change', '#allType', function(){
            let  type = $(this).val();

            if(type=='plan'){
                $('.sub_type_section').addClass('d-none');
                $('.emptySection').removeClass('d-none');
            }else{
                $('.emptySection').addClass('d-none');
                $('.sub_type_section').removeClass('d-none');
            }
        });

        $(document).on('change', '#customerType', function(){
            let  type = $(this).val();

            $.ajax({
                type:'GET',
                url:'{{route('admin.get.customer')}}',
                data:{
                    type:type
                },

                success:function(res){
                    if(res.data){
                        let html='<option>--Select Customer--</option>';
                        $.each(res.data,  function(index, value){
                            html+=`<option value="${value.id}">${value.first_name + value.last_name}</option>`
                        });

                        $('#customers').html(html);
                    }
                }
            })

        });

        //Date range picker
        $('#reservation').daterangepicker();

        $(document).ready(function(){
            $('#reservation').val('');
        });
        $(document).on('click','.cancelBtn', function (e){
            $('#reservation').val('');
        });
        $(document).on('click','.show_filter_modal', function (e){
            $('#filterModal').modal('show');
        });
        $(document).on('click','.closeFilterModal', function (e){
            $('#filterModal').modal('hide');
        });
    </script>
@endsection


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--