<?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)) { $__componentOriginalf249638ac7504c50bf0259c0cb71919d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf249638ac7504c50bf0259c0cb71919d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.breadcrumbs','data' => ['breadcrumbs' => $breadcrumbs]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.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($__attributesOriginalf249638ac7504c50bf0259c0cb71919d)): ?>
<?php $attributes = $__attributesOriginalf249638ac7504c50bf0259c0cb71919d; ?>
<?php unset($__attributesOriginalf249638ac7504c50bf0259c0cb71919d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf249638ac7504c50bf0259c0cb71919d)): ?>
<?php $component = $__componentOriginalf249638ac7504c50bf0259c0cb71919d; ?>
<?php unset($__componentOriginalf249638ac7504c50bf0259c0cb71919d); ?>
<?php endif; ?>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="container py-5">
                    <div class="row justify-content-center">
                        <div class="col-md-8">

                            <div class="card shadow-sm border-0 text-center p-5">
                                <!-- Success Icon -->
                                <div class="mb-4">
                                    <span
                                        class="bg-success rounded-circle p-4 d-inline-flex align-items-center justify-content-center">
                                        <i class="bi bi-check-lg text-white fs-1"></i>
                                    </span>
                                </div>

                                <!-- Success Message -->
                                <h3 class="fw-bold text-success">Transfer Successful!</h3>
                                <p class="text-muted mb-4">
                                    Your transfer has been completed successfully. Below are the transaction details.
                                </p>

                                <!-- Transaction Summary -->
                                <div class="table-responsive">
                                    <table class="table table-bordered text-start">
                                        <tbody>
                                            <tr>
                                                <th>Transaction ID</th>
                                                <td><?php echo e($transfer->reference_id); ?></td>
                                            </tr>
                                            <tr>
                                                <th>Amount</th>
                                                <td><?php echo e(currency($transfer->user->currency)); ?><?php echo e(formatAmount($transfer->amount)); ?>

                                                </td>
                                            </tr>
                                            <tr>
                                                <th>Beneficiary</th>
                                                <td><?php echo e($transfer->recipient_name); ?></td>
                                            </tr>
                                            <tr>
                                                <th>Bank</th>
                                                <td><?php echo e($transfer->recipient_bank); ?></td>
                                            </tr>
                                            <tr>
                                                <th>Account Number</th>
                                                <td><?php echo e($transfer->recipient_account_number); ?></td>
                                            </tr>
                                            <tr>
                                                <th>Transfer Type</th>
                                                <td class="text-capitalize"><?php echo e($transfer->transfer_type->fullLabel()); ?></td>
                                            </tr>
                                            <tr>
                                                <th>Status</th>
                                                <td><span
                                                        class="<?php echo e($transfer->status->badge()); ?>"><?php echo e($transfer->status->label()); ?></span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <th>Date</th>
                                                <td><?php echo e(formatDateTime($transfer->created_at)); ?></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>

                                <!-- Buttons -->
                                <div class="d-flex justify-content-center gap-3 mt-4">
                                    <a href="<?php echo e(route('user.transfer.local')); ?>" class="btn btn-outline-primary">
                                        <i class="bi bi-arrow-left-circle me-1"></i> Make Another Transfer
                                    </a>
                                    <a href="<?php echo e(route('user.dashboard')); ?>" class="btn btn-primary">
                                        <i class="bi bi-house-door me-1"></i> Back to Dashboard
                                    </a>
                                </div>
                            </div>

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

<?php echo $__env->make('dashboard.user.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/user/transfer/success.blade.php ENDPATH**/ ?>