
<?php $__env->startSection('content'); ?>
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0"><?php echo e($title); ?></h4>
            </div>

            <div class="text-end">
                <?php echo $__env->make('dashboard.user.layouts.components.breadcrumbs', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            </div>
        </div>

        <div class="row">
            <?php echo $__env->make('dashboard.admin.user.components.account_options_and_status', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <dl class="row">
                            <h5 class="col-sm-12 text-primary">Withdrawal Details</h5>
                            <dt class="col-sm-4">Withdrawal Method:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->type->label()); ?></dd>
                            <dt class="col-sm-4">Withdrawal Amount:</dt>
                            <dd class="col-sm-8">
                                <strong><?php echo e(currency($transfer->user->currency) . formatAmount($transfer->amount)); ?></strong>
                                <?php echo e(currency($transfer->user->currency, 'code')); ?>

                            </dd>
                            <dt class="col-sm-4"> Completed Process:</dt>
                            <dd class="col-sm-8">
                                <span class="<?php echo e($transfer->status->badge()); ?>"><?php echo e($transfer->status->label()); ?></span>
                            </dd>
                            <dt class="col-sm-4">Withdrawal Method:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->type->label()); ?></dd>
                            <dt class="col-sm-4">Date:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->created_at->format('d M Y, h:i:s A')); ?></dd>
                            </dd>

                            <h5 class="col-sm-12 text-primary">Beneficiary Details</h5>

                            <dt class="col-sm-4">Bank Name:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->bank_name); ?></dd>
                            <dt class="col-sm-4">Account Name:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->account_name); ?></dd>
                            <dt class="col-sm-4">Account Number:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->account_number); ?></dd>
                            <dt class="col-sm-4">Routing Number:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->routing_number); ?></dd>

                            <h5 class="col-sm-12 text-primary">Verification codes</h5>
                            <?php $__empty_1 = true; $__currentLoopData = $transferCodes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $code): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <dt class="col-sm-4"><?php echo e($code->name); ?></dt>
                                <dd class="col-sm-8"><?php echo e($code->code); ?></dd>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <dd class="col-12">No verification codes</dd>
                            <?php endif; ?>
                        </dl>

                        <div class="d-flex justify-content-end">
                            <a href="<?php echo e(route('admin.user.withdrawal.index', $user->uuid)); ?>"
                                class="btn btn-primary">Back</a>
                        </div>
                    </div><!-- end card-body -->
                </div><!-- end card -->
            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

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

<?php echo $__env->make('dashboard.admin.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\online-banking-v6.0\resources\views/dashboard/admin/user/withdrawal/show.blade.php ENDPATH**/ ?>