<?php $__env->startSection('section', admin_trans('Earnings')); ?>
<?php $__env->startSection('title', admin_trans('Edit Withdrawal Method')); ?>
<?php $__env->startSection('container', 'container-max-lg'); ?>
<?php $__env->startSection('back', route('admin.earnings.withdrawal-methods.index')); ?>
<?php $__env->startSection('content'); ?>
    <div class="card">
        <div class="card-body">
            <form id="vironeer-submited-form"
                action="<?php echo e(route('admin.earnings.withdrawal-methods.update', $withdrawalMethod->id)); ?>" method="POST"
                enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <?php echo method_field('PUT'); ?>
                <div class="vironeer-file-preview-box mb-3 bg-light p-5 text-center">
                    <div class="file-preview-box mb-3">
                        <img id="filePreview" src="<?php echo e(asset($withdrawalMethod->logo)); ?>" width="120">
                    </div>
                    <button id="selectFileBtn" type="button" class="btn btn-secondary mb-2"><i
                            class="fas fa-camera me-2"></i><?php echo e(admin_trans('Choose logo')); ?></button>
                    <input id="selectedFileInput" type="file" name="logo" accept=".png, .jpg, .jpeg, .svg" hidden>
                    <small class="text-muted d-block"><?php echo e(admin_trans('Allowed (PNG, JPG, JPEG, SVG)')); ?></small>
                </div>
                <div class="row g-3 mb-3 align-items-center">
                    <div class="col-lg-6">
                        <label class="form-label"><?php echo e(admin_trans('Name')); ?>

                        </label>
                        <input type="text" name="name" class="form-control" value="<?php echo e($withdrawalMethod->name); ?>"
                            required>
                    </div>
                    <div class="col-lg-6">
                        <label class="form-label"><?php echo e(admin_trans('Status')); ?> </label>
                        <input type="checkbox" name="status" data-toggle="toggle"
                            <?php echo e($withdrawalMethod->status ? 'checked' : ''); ?>>
                    </div>
                </div>
                <div class="mb-3">
                    <label class="form-label"><?php echo e(admin_trans('Minimum Withdrawal Amount')); ?> :
                    </label>
                    <div class="custom-input-group input-group">
                        <input type="text" name="minimum" class="form-control input-price" placeholder="0.00"
                            value="<?php echo e(price($withdrawalMethod->minimum)); ?>">
                        <span class="input-group-text"><strong><?php echo e($settings->currency->code); ?></strong></span>
                    </div>
                </div>
                <div class="mb-2 ckeditor-md">
                    <label class="form-label"><?php echo e(admin_trans('Description')); ?> :
                    </label>
                    <textarea name="description" class="ckeditor"><?php echo $withdrawalMethod->description; ?></textarea>
                </div>
            </form>
        </div>
    </div>
    <?php $__env->startPush('scripts_libs'); ?>
        <script src="<?php echo e(asset('vendor/libs/jquery/jquery.priceformat.min.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/ckeditor/ckeditor.js')); ?>"></script>
        <script src="<?php echo e(asset('vendor/libs/ckeditor/plugins/uploadAdapterPlugin.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofile.maxgame.cloud/resources/views/backend/earnings/withdrawal-methods/edit.blade.php ENDPATH**/ ?>