<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['receiptPath']));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['receiptPath']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($receiptPath): ?>
    <div class="space-y-2">
        <a href="<?php echo e(asset('storage/' . $receiptPath)); ?>" target="_blank" rel="noopener" class="block">
            <img src="<?php echo e(asset('storage/' . $receiptPath)); ?>"
                 alt="إيصال الدفع"
                 class="max-w-md rounded-lg border border-gray-200 shadow-sm object-contain bg-gray-50">
        </a>
        <p class="text-xs text-gray-500">اضغط على الصورة لفتحها بحجم كامل</p>
    </div>
<?php else: ?>
    <p class="text-sm text-gray-500">لا يوجد إيصال مرفوع</p>
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
<?php /**PATH E:\Laravel-Project\tager_plus\resources\views/filament/forms/components/payment-receipt-display.blade.php ENDPATH**/ ?>