
<?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 if (isset($component)) { $__componentOriginalb2c223f2cabdcb0c6da76bfac943142c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb2c223f2cabdcb0c6da76bfac943142c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.breadcrumbs','data' => ['breadcrumbs' => $breadcrumbs]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.breadcrumbs'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['breadcrumbs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($breadcrumbs)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb2c223f2cabdcb0c6da76bfac943142c)): ?>
<?php $attributes = $__attributesOriginalb2c223f2cabdcb0c6da76bfac943142c; ?>
<?php unset($__attributesOriginalb2c223f2cabdcb0c6da76bfac943142c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb2c223f2cabdcb0c6da76bfac943142c)): ?>
<?php $component = $__componentOriginalb2c223f2cabdcb0c6da76bfac943142c; ?>
<?php unset($__componentOriginalb2c223f2cabdcb0c6da76bfac943142c); ?>
<?php endif; ?>
            </div>
        </div>

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

            <div class="col-lg-12">
                <?php if (isset($component)) { $__componentOriginal9f62502e3945f54811d2559dbe1792df = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9f62502e3945f54811d2559dbe1792df = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.available_balance','data' => ['user' => $user]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.available_balance'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['user' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($user)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9f62502e3945f54811d2559dbe1792df)): ?>
<?php $attributes = $__attributesOriginal9f62502e3945f54811d2559dbe1792df; ?>
<?php unset($__attributesOriginal9f62502e3945f54811d2559dbe1792df); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9f62502e3945f54811d2559dbe1792df)): ?>
<?php $component = $__componentOriginal9f62502e3945f54811d2559dbe1792df; ?>
<?php unset($__componentOriginal9f62502e3945f54811d2559dbe1792df); ?>
<?php endif; ?>

                <?php if (isset($component)) { $__componentOriginal87dd96fabcb1ce9254eda7ff7199227b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal87dd96fabcb1ce9254eda7ff7199227b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin.card','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                    <dl class="row">
                        <h5 class="col-sm-12 text-primary">Transfer Details</h5>
                        <dt class="col-sm-4">Transfer Method:</dt>
                        <dd class="col-sm-8"><?php echo e($transfer->transfer_type->fullLabel()); ?></dd>
                        <dt class="col-sm-4">Transfer 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">Transfer Method:</dt>
                        <dd class="col-sm-8"><?php echo e($transfer->transfer_type->fullLabel()); ?></dd>
                        <dt class="col-sm-4">Date:</dt>
                        <dd class="col-sm-8"><?php echo e(formatDateTime($transfer->created_at)); ?></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->recipient_bank); ?></dd>
                        <dt class="col-sm-4">Account Name:</dt>
                        <dd class="col-sm-8"><?php echo e($transfer->recipient_name); ?></dd>
                        <dt class="col-sm-4">Account Number:</dt>
                        <dd class="col-sm-8"><?php echo e($transfer->recipient_account_number); ?></dd>
                        <?php if($transfer->recipient_routing_number): ?>
                            <dt class="col-sm-4">Routing Number:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->recipient_routing_number); ?></dd>
                        <?php endif; ?>

                        <?php if($transfer->recipient_iban_code): ?>
                            <dt class="col-sm-4">IBAN Number:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->recipient_iban_code); ?></dd>
                        <?php endif; ?>

                        <?php if($transfer->recipient_swift_code): ?>
                            <dt class="col-sm-4">SWIFT Code:</dt>
                            <dd class="col-sm-8"><?php echo e($transfer->recipient_swift_code); ?></dd>
                        <?php endif; ?>

                        <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.transfer.index', $user->uuid)); ?>" class="btn btn-primary"> <i
                                class="ti ti-arrow-left me-1"></i> Back</a>
                    </div>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal87dd96fabcb1ce9254eda7ff7199227b)): ?>
<?php $attributes = $__attributesOriginal87dd96fabcb1ce9254eda7ff7199227b; ?>
<?php unset($__attributesOriginal87dd96fabcb1ce9254eda7ff7199227b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal87dd96fabcb1ce9254eda7ff7199227b)): ?>
<?php $component = $__componentOriginal87dd96fabcb1ce9254eda7ff7199227b; ?>
<?php unset($__componentOriginal87dd96fabcb1ce9254eda7ff7199227b); ?>
<?php endif; ?>

            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

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

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