<?php $__env->startSection('content'); ?>
    <div class="main-content" data-simplebar>
        <h3 class="page-title"><?php echo e(__($setTitle)); ?></h3>
        <div class="i-card-sm">
            <div class="row">
                <div class="user-form">
                    <div class="col-lg-12 mb-4">
                        <ul class="list-group">
                             <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Gateway')); ?>

                                <span class="fw-bold">  <?php echo e($withdrawLog->withdrawMethod->name ?? 'N/A'); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Trx')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?><?php echo e(shortAmount($withdrawLog->after_charge)); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Rate')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?>1 =  <?php echo e(shortAmount($withdrawLog->rate)); ?> <?php echo e($withdrawLog?->withdrawMethod?->currency_name ?? getCurrencyName()); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Withdraw Amount')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?><?php echo e(shortAmount($withdrawLog->amount)); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Charge')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?><?php echo e(shortAmount($withdrawLog->charge)); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('Final Amount')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?><?php echo e(shortAmount($withdrawLog->final_amount)); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between align-items-center">
                                <?php echo e(__('After Charge')); ?>

                                <span class="fw-bold"><?php echo e(getCurrencySymbol()); ?><?php echo e(shortAmount($withdrawLog->after_charge)); ?></span>
                            </li>
                        </ul>
                    </div>

                    <form method="POST" action="<?php echo e(route('user.withdraw.success', $uid)); ?>">
                        <?php echo csrf_field(); ?>
                        <?php if(!is_null($withdrawLog?->withdrawMethod->parameter)): ?>
                            <div class="row">
                                <?php $__currentLoopData = $withdrawLog?->withdrawMethod->parameter; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $parameter): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-12">
                                        <div class="form-inner">
                                            <label for="<?php echo e(getArrayValue($parameter,'field_label')); ?>"><?php echo e(__(getArrayValue($parameter,'field_label'))); ?></label>
                                            <input type="text" id="<?php echo e(getArrayValue($parameter,'field_label')); ?>" name="<?php echo e(getArrayValue($parameter,'field_name')); ?>" placeholder="<?php echo e(__("Enter ". getArrayValue($parameter,'field_label'))); ?>" required>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        <?php endif; ?>
                        <div class="col-12">
                            <button type="submit" class="i-btn btn--primary btn--lg"><?php echo e(__('Save')); ?></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.user', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dakehfsw/app.stellenccecapital.com/src/resources/views/user/withdraw/preview.blade.php ENDPATH**/ ?>