<?php
    /**
     * Bloque de datos traducidos — pares clave/valor en lenguaje de negocio.
     *
     * Recibe $dataResolver (closure que recibe $record y retorna array asociativo).
     * Formato: ['Label español' => 'valor formateado', ...]
     */
    $record = $getRecord();
    $translatedData = isset($dataResolver) && is_callable($dataResolver)
        ? $dataResolver($record)
        : [];

    if (empty($translatedData)) {
        return;
    }
?>

<div class="audit-data-block">
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $translatedData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
        <div class="audit-data-row">
            <span class="audit-data-key"><?php echo e($label); ?></span>
            <span class="audit-data-separator"></span>
            <span class="audit-data-value"><?php echo e($value); ?></span>
        </div>
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
</div>
<?php /**PATH /var/www/html/credifygo/resources/views/filament/infolists/components/audit-data-block.blade.php ENDPATH**/ ?>