

<?php $__env->startSection('title', 'Fund Transfer'); ?>
<?php $__env->startSection('content'); ?>

    <div id="appCapsule">
        <!-- * App Header -->



        <!-- App Capsule -->

        <div class="section mt-2 mb-2">


            <div class="listed-detail mt-3">
                <div class="icon-wrapper">
                    <div class="iconbox">
                        <ion-icon name="hourglass"></ion-icon>
                    </div>
                </div>
                <h3 class="text-center mt-2"><?php echo e($dp['bankname']); ?></h3>
                <center>
                    <p>You will be redirected in 15 seconds</p>
                </center>
                <script>
                    var timer = setTimeout(function() {
                        window.location = "<?php echo e(route('sucesstransfer')); ?>"
                    }, 3000);
                </script>
            </div>
            <ul class="listview flush transparent simple-listview no-space mt-3">
                <?php if($dp['payment_mode'] == 'Wire Transfer'): ?>
                    <li>
                        <strong>Transaction Type</strong>
                        <span><?php echo e($dp['payment_mode']); ?></span>
                    </li>
                    <li>
                        <strong>To</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li>
                    <li>
                        <strong>Bank Name</strong>
                        <span><?php echo e($dp['bankname']); ?></span>
                    </li>

                    <li>
                        <strong>Account Name</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li>
                    <li>
                        <strong>Account Number</strong>
                        <span><?php echo e($dp['accountnumber']); ?></span>
                    </li>
                    <li>
                        <strong>Amount</strong>
                        <h3 class="m-0"><?php echo e(Auth::user()->currency); ?><?php echo e($dp['amount']); ?></h3>
                    </li>
                    <li>
                        <strong>Fee</strong>
                        <h3 class="m-0"><?php echo e(Auth::user()->currency); ?>0.00</h3>
                    </li>
                    <li>
                        <strong>Account Type</strong>
                        <span><?php echo e($dp['Accounttype']); ?></span>
                    </li>


                    <li>
                        <strong>Rounting Number</strong>
                        <span><?php echo e($dp['iban']); ?></span>
                    </li>

                    <li>
                        <strong>Refrence ID</strong>
                        <span>#<?php echo e($dp['txn_id']); ?></span>
                    </li>
                    <li>
                        <strong>Date</strong>
                        <span><?php echo e(\Carbon\Carbon::parse($dp['date'])->toDayDateTimeString()); ?></span>
                    </li>
                <?php elseif($dp['payment_mode'] == 'Cryptocurrency'): ?>
                    <li>
                        <strong>Transaction Type</strong>
                        <span><?php echo e($dp['payment_mode']); ?></span>
                    </li>
                    <li>
                        <strong>To</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li>
                    <li>
                        <strong>Token</strong>
                        <span><?php echo e($dp['bankname']); ?></span>
                    </li>

                    <li>
                        <strong>Wallet Address</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li></span>
                    </li>

                    <li>
                        <strong>Amount</strong>
                        <h3 class="m-0"><?php echo e(Auth::user()->currency); ?><?php echo e($dp['amount']); ?></h3>
                    </li>

                    <li>
                        <strong>Refrence ID</strong>
                        <span>#<?php echo e($dp['txn_id']); ?></span>
                    </li>
                    <li>
                        <strong>Date</strong>
                        <span><?php echo e(\Carbon\Carbon::parse($dp['date'])->toDayDateTimeString()); ?></span>
                    </li>
                <?php elseif($dp['payment_mode'] == 'Western Union'): ?>
                    <li>
                        <strong>Transaction Type</strong>
                        <span><?php echo e($dp['payment_mode']); ?></span>
                    </li>



                    <li>
                        <strong>Name</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li>


                    <li>
                        <strong>Country</strong>
                        <span><?php echo e($dp['country']); ?></span>
                    </li>


                    <li>
                        <strong>City</strong>
                        <span><?php echo e($dp['city']); ?></span>
                    </li>

                    <li>
                        <strong>Zipcode</strong>
                        <span><?php echo e($dp['zipcode']); ?></span>
                    </li>

                    <li>
                        <strong>Zipcode</strong>
                        <span><?php echo e($dp['city']); ?></span>
                    </li>
                    </li>

                    <li>
                        <strong>Amount</strong>
                        <h3 class="m-0"><?php echo e(Auth::user()->currency); ?><?php echo e($dp['amount']); ?></h3>
                    </li>

                    <li>
                        <strong>Refrence ID</strong>
                        <span>#<?php echo e($dp['txn_id']); ?></span>
                    </li>
                    <li>
                        <strong>Date</strong>
                        <span><?php echo e(\Carbon\Carbon::parse($dp['date'])->toDayDateTimeString()); ?></span>
                    </li>
                <?php else: ?>
                    <li>
                        <strong>Transaction Type</strong>
                        <span><?php echo e($dp['payment_mode']); ?></span>
                    </li>



                    <li>
                        <strong>Email</strong>
                        <span><?php echo e($dp['accountname']); ?></span>
                    </li></span>
                    </li>

                    <li>
                        <strong>Amount</strong>
                        <h3 class="m-0"><?php echo e(Auth::user()->currency); ?><?php echo e($dp['amount']); ?></h3>
                    </li>

                    <li>
                        <strong>Refrence ID</strong>
                        <span>#<?php echo e($dp['txn_id']); ?></span>
                    </li>
                    <li>
                        <strong>Date</strong>
                        <span><?php echo e(\Carbon\Carbon::parse($dp['date'])->toDayDateTimeString()); ?></span>
                    </li>
                <?php endif; ?>

                <li>
                    <strong>Descripion</strong>
                    <span><?php echo e($dp['decription']); ?></span>
                </li>
            </ul>

            <br>
            <div class="form-group basic">
                <div class="row">
                    <div class="col-6">
                        <a href="<?php echo e(route('dashboard')); ?>" class="btn btn-lg btn-danger cancel btn-block">Send Again</a>
                    </div>
                    <div class="col-6">
                        <a href="<?php echo e(route('dashboard')); ?>" class="btn btn-lg btn-primary btn-block">Go Home</a>
                    </div>
                </div>
            </div>


        </div>
    </div>




<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.bankapp', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\bankapp\resources\views/user/preview.blade.php ENDPATH**/ ?>