<div class=" p-4 py-6 max-w-2xl mx-auto">
    <div class=" bg-blue-50 p-4 border border-blue-400 rounded-t-xl lg:p-6 ">

        <div class=" flex justify-between items-center">
            <img src="<?php echo e(asset('logo-welcome.png')); ?>" alt="" class=" h-10 lg:h-16">

            <p class=" text-sm md:text-base lg:text-lg">
                Transaction Receipt
            </p>
        </div>

        <div class=" mt-6 text-center space-y-2 lg:space-y-4 lg:mt-8">
            <p class=" text-3xl lg:text-4xl font-bold text-green-700">
                <?php if (isset($component)) { $__componentOriginal88de1d9b7dfec1e1a90dd17ba5917e5a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal88de1d9b7dfec1e1a90dd17ba5917e5a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.naira-symbol','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('naira-symbol'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal88de1d9b7dfec1e1a90dd17ba5917e5a)): ?>
<?php $attributes = $__attributesOriginal88de1d9b7dfec1e1a90dd17ba5917e5a; ?>
<?php unset($__attributesOriginal88de1d9b7dfec1e1a90dd17ba5917e5a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal88de1d9b7dfec1e1a90dd17ba5917e5a)): ?>
<?php $component = $__componentOriginal88de1d9b7dfec1e1a90dd17ba5917e5a; ?>
<?php unset($__componentOriginal88de1d9b7dfec1e1a90dd17ba5917e5a); ?>
<?php endif; ?> <?php echo e(formatNumber($transaction->amount)); ?>

            </p>

            <p>
                <?php echo e($transaction->status); ?>

            </p>

            <p>
                
                <?php echo e($transaction->created_at->format('d M, Y h:i A')); ?>

            </p>
        </div>

        <div class=" border-t-2 border-dashed border-blue-700 my-4 lg:my-6">
        </div>

        <div class=" mt-4 space-y-2 text-sm md:text-base lg:space-y-4">
            <div class=" grid grid-cols-2 gap-2">
                <label for="">Transaction Type</label>
                <p class="<?php echo e($transaction->type == 'credit' ? 'text-green-700' : 'text-red-700'); ?> font-medium text-right">
                    <?php echo e($transaction->type); ?>

                </p>
            </div>
            <div class=" grid grid-cols-2 gap-2">
                <label for="">Source</label>
                <p class=" text-primary font-medium text-right">
                    <?php echo e(ucfirst(str_replace('_', ' ', $transaction->source))); ?>

                </p>
            </div>

            <div class=" grid grid-cols-2 gap-2">
                <label for="">Description</label>
                <p class=" text-right text-sm ">
                    <?php echo e($transaction->message); ?>

                </p>
            </div>


            <div class=" grid grid-cols-2 gap-2">
                <label for="">Reference </label>
                <p class=" text-right">
                    <?php echo e($transaction->reference ?? '-'); ?>

                </p>
            </div>

        </div>

    </div>


    <div class=" grid gap-3 text-center mt-8 print:hidden lg:grid-cols-2 lg:items-center">
        <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['@click' => 'print()','class' => 'rounded-xl']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('primary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['@click' => 'print()','class' => 'rounded-xl']); ?>
            <span class="fa fa-print mr-2"></span> Print Receipt
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>

        <a href="<?php echo e(route('live-chat-welcome')); ?>" class=" block p-3  font-medium text-red-700">
            <i class="fa-solid fa-circle-exclamation mr-2"></i> Report Issue
        </a>
        
    </div>
</div><?php /**PATH C:\Users\Code brain\fitPay\resources\views/livewire/transaction-receipt.blade.php ENDPATH**/ ?>