
<?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-xl-12 col-lg-12">
                <?php if (isset($component)) { $__componentOriginal66cb34fa521ca32c539059e04f66064d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal66cb34fa521ca32c539059e04f66064d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.card','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.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([]); ?>

                    <?php $__env->slot('header'); ?>
                        <h4>
                            <i class="ti ti-credit-card"></i> Payment Method: <?php echo e($deposit->method); ?>

                        </h4>
                        <small>Secure payment processing for your deposit</small>

                        <div class="text-end">
                            Amount <br>
                            <span class="text-primary fs-18 fw-semibold">
                                <?php echo e(currency($deposit->user->currency)); ?><?php echo e(formatAmount($deposit->amount)); ?>

                                <?php echo e(currency($deposit->user->currency, 'code')); ?>

                            </span>
                        </div>
                    <?php $__env->endSlot(); ?>
                    <?php
                        $amount = currency($deposit->user->currency) . formatAmount($deposit->amount);
                    ?>
                    <?php if($deposit->isBitcoinMethod()): ?>
                        <?php if (isset($component)) { $__componentOriginalfe09c8749324076e07136fa94a0420b5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfe09c8749324076e07136fa94a0420b5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.info-list','data' => ['title' => 'Payment Instructions','options' => [
                            'You are to make payment of ' .
                            $amount .
                            ' using your selected payment method. Screenshot and upload the proof of payment.',
                        ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.info-list'); ?>
<?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(['title' => 'Payment Instructions','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                            'You are to make payment of ' .
                            $amount .
                            ' using your selected payment method. Screenshot and upload the proof of payment.',
                        ])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $attributes = $__attributesOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__attributesOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $component = $__componentOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__componentOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
                    <?php elseif($deposit->isCreditCardMethod()): ?>
                        <?php if (isset($component)) { $__componentOriginalfe09c8749324076e07136fa94a0420b5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfe09c8749324076e07136fa94a0420b5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.info-list','data' => ['title' => 'Payment Instructions','options' => ['Enter your card details to make a deposit.']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.info-list'); ?>
<?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(['title' => 'Payment Instructions','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['Enter your card details to make a deposit.'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $attributes = $__attributesOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__attributesOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $component = $__componentOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__componentOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
                    <?php elseif($deposit->isPayPalMethod()): ?>
                        <?php if (isset($component)) { $__componentOriginalfe09c8749324076e07136fa94a0420b5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfe09c8749324076e07136fa94a0420b5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.info-list','data' => ['title' => 'Payment Instructions','options' => [
                            'Please proceed to send your payment using PayPal.',
                            'After completing your payment, kindly upload your proof of payment for review.',
                        ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.info-list'); ?>
<?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(['title' => 'Payment Instructions','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                            'Please proceed to send your payment using PayPal.',
                            'After completing your payment, kindly upload your proof of payment for review.',
                        ])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $attributes = $__attributesOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__attributesOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $component = $__componentOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__componentOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
                    <?php elseif($deposit->isBankTransferMethod()): ?>
                        <?php if (isset($component)) { $__componentOriginalfe09c8749324076e07136fa94a0420b5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfe09c8749324076e07136fa94a0420b5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.info-list','data' => ['title' => 'Payment Instructions','options' => [
                            'Please proceed to make a bank transfer.',
                            'After transfer, kindly upload your proof of payment for approval.',
                        ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.info-list'); ?>
<?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(['title' => 'Payment Instructions','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                            'Please proceed to make a bank transfer.',
                            'After transfer, kindly upload your proof of payment for approval.',
                        ])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $attributes = $__attributesOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__attributesOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfe09c8749324076e07136fa94a0420b5)): ?>
<?php $component = $__componentOriginalfe09c8749324076e07136fa94a0420b5; ?>
<?php unset($__componentOriginalfe09c8749324076e07136fa94a0420b5); ?>
<?php endif; ?>
                    <?php endif; ?>

                    <?php if($deposit->isBitcoinMethod()): ?>
                        <?php echo $__env->make('dashboard.user.partials.bitcoin_payment', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <?php elseif($deposit->isCreditCardMethod()): ?>
                        <?php echo $__env->make('dashboard.user.partials.credit_card_payment', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <?php elseif($deposit->isPayPalMethod()): ?>
                        <?php echo $__env->make('dashboard.user.partials.paypal_payment', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <?php elseif($deposit->isBankTransferMethod()): ?>
                        <?php echo $__env->make('dashboard.user.partials.bank_transfer_payment', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <?php endif; ?>

                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal66cb34fa521ca32c539059e04f66064d)): ?>
<?php $attributes = $__attributesOriginal66cb34fa521ca32c539059e04f66064d; ?>
<?php unset($__attributesOriginal66cb34fa521ca32c539059e04f66064d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal66cb34fa521ca32c539059e04f66064d)): ?>
<?php $component = $__componentOriginal66cb34fa521ca32c539059e04f66064d; ?>
<?php unset($__componentOriginal66cb34fa521ca32c539059e04f66064d); ?>
<?php endif; ?>
            </div>
        </div>
    </div>

    <script>
        function copyToClipboard(elementId) {
            const input = document.getElementById(elementId);
            navigator.clipboard.writeText(input.value).then(() => {
                alert('Bitcoin address copied to clipboard!');
            }).catch(err => {
                console.error('Failed to copy: ', err);
                alert('Failed to copy address. Please try again.');
            });
        }
    </script>
<?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.3-seacoast-bank\resources\views/dashboard/user/deposit/payment.blade.php ENDPATH**/ ?>