uawdijnntqw1x1x1
IP : 52.14.204.52
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
80d3f
/
..
/
core
/
resources
/
views
/
admin
/
withdraw
/
create.blade.php
/
/
@extends('admin.layouts.app') @section('panel') <div class="row"> <div class="col-lg-12"> <div class="card"> <form action="{{ route('admin.withdraw.method.store') }}" method="POST" enctype="multipart/form-data"> @csrf <div class="card-body"> <div class="payment-method-item"> <div class="payment-method-body"> <div class="form-group"> <label>@lang('Name')</label> <input class="form-control" name="name" type="text" value="{{ old('name') }}" required /> </div> <div class="row mt-4"> <div class="col-md-6"> <div class="form-group"> <label>@lang('Currency')</label> <div class="input-group"> <input class="form-control border-radius-5" name="currency" type="text" value="{{ old('currency') }}" required /> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <label>@lang('Rate')</label> <div class="input-group"> <div class="input-group-text">1 {{ __($general->cur_text) }} =</div> <input class="form-control" name="rate" type="number" value="{{ old('rate') }}" step="any" required /> <div class="input-group-text"> <span class="currency_symbol"></span> </div> </div> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="card border--primary mb-2"> <h5 class="card-header bg--primary">@lang('Range')</h5> <div class="card-body"> <div class="form-group"> <label>@lang('Minimum Amount')</label> <div class="input-group"> <input class="form-control" name="min_limit" type="number" value="{{ old('min_limit') }}" step="any" required /> <div class="input-group-text"> {{ __($general->cur_text) }} </div> </div> </div> <div class="form-group"> <label>@lang('Maximum Amount')</label> <div class="input-group"> <input class="form-control" name="max_limit" type="number" value="{{ old('max_limit') }}" step="any" required /> <div class="input-group-text"> {{ __($general->cur_text) }} </div> </div> </div> </div> </div> </div> <div class="col-lg-6"> <div class="card border--primary"> <h5 class="card-header bg--primary">@lang('Charge')</h5> <div class="card-body"> <div class="form-group"> <label>@lang('Fixed Charge')</label> <div class="input-group"> <input class="form-control" name="fixed_charge" type="number" value="{{ old('fixed_charge') }}" step="any" required /> <div class="input-group-text"> {{ __($general->cur_text) }} </div> </div> </div> <div class="form-group"> <label>@lang('Percent Charge')</label> <div class="input-group"> <input class="form-control" name="percent_charge" type="number" value="{{ old('percent_charge') }}" step="any" required> <div class="input-group-text">%</div> </div> </div> </div> </div> </div> <div class="col-lg-12"> <div class="card border--primary my-2"> <h5 class="card-header bg--primary">@lang('Withdraw Instruction') </h5> <div class="card-body"> <div class="form-group"> <textarea class="form-control border-radius-5 nicEdit" name="instruction" rows="5">{{ old('instruction') }}</textarea> </div> </div> </div> </div> <div class="col-lg-12"> <div class="card border--primary mt-3"> <div class="card-header bg--primary d-flex justify-content-between"> <h5 class="text-white">@lang('User Data')</h5> <button class="btn btn-sm btn-outline-light float-end form-generate-btn" type="button"> <i class="la la-fw la-plus"></i>@lang('Add New')</button> </div> <div class="card-body"> <div class="row addedField"> </div> </div> </div> </div> </div> </div> </div> </div> <div class="card-footer"> <button class="btn btn--primary w-100 h-45" type="submit">@lang('Submit')</button> </div> </form> </div><!-- card end --> </div> </div> <x-form-generator /> @endsection @push('script') <script> "use strict" var formGenerator = new FormGenerator(); </script> <script src="{{ asset('assets/global/js/form_actions.js') }}"></script> @endpush @push('breadcrumb-plugins') <x-back route="{{ route('admin.withdraw.method.index') }}" /> @endpush @push('script') <script> (function($) { "use strict"; $('input[name=currency]').on('input', function() { $('.currency_symbol').text($(this).val()); }); $('.addUserData').on('click', function() { var html = ` <div class="col-md-12 user-data"> <div class="form-group"> <div class="input-group mb-md-0 mb-4"> <div class="col-md-4"> <input name="field_name[]" class="form-control" type="text" required> </div> <div class="col-md-3 mt-md-0 mt-2"> <select name="type[]" class="form-control" required> <option value="text" > @lang('Input Text') </option> <option value="textarea" > @lang('Textarea') </option> <option value="file"> @lang('File') </option> </select> </div> <div class="col-md-3 mt-md-0 mt-2"> <select name="validation[]" class="form-control" required> <option value="required"> @lang('Required') </option> <option value="nullable"> @lang('Optional') </option> </select> </div> <div class="col-md-2 mt-md-0 mt-2 text-end"> <span class="input-group-btn"> <button class="btn btn--danger btn-lg removeBtn w-100" type="button"> <i class="fa fa-times"></i> </button> </span> </div> </div> </div> </div>`; $('.addedField').append(html); }); $(document).on('click', '.removeBtn', function() { $(this).closest('.user-data').remove(); }); @if (old('currency')) $('input[name=currency]').trigger('input'); @endif })(jQuery); </script> @endpush
/home/jackpotjunglegam/public_html/80d3f/../core/resources/views/admin/withdraw/create.blade.php