<?php $__empty_1 = true; $__currentLoopData = $messages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<tr>
    <td class="px-4 py-2"><?php echo e($message->title); ?></td>
    <td class="px-4 py-2"><?php echo e($message->body); ?></td>
    <td class="px-4 py-2">
        <span class="px-2 py-1 rounded text-xs font-medium
            <?php echo e($message->status === 'pendiente' ? 'pending_status_custom' : 'sending_status_custom'); ?>">
            <?php echo e($message->status); ?>

        </span>
    </td>
    <td><?php echo e(\Carbon\Carbon::parse($message->created_at)->format('d/m/Y H:i')); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<tr>
    <td colspan="4" class="px-4 py-4 text-center text-gray-500 dark:text-gray-400">
        No hay mensajes.
    </td>
</tr>
<?php endif; ?>

<style>
    .pending_status_custom{
        color: #ff0000;
    }
    .sending_status_custom{
        color: #008000;
    }
</style><?php /**PATH C:\wamp64\www\guest-assist-panel\resources\views/element/messages_table_rows.blade.php ENDPATH**/ ?>