up
This commit is contained in:
@@ -190,8 +190,75 @@
|
||||
|
||||
{{-- Cuerpo del correo --}}
|
||||
<div x-show="open" x-transition class="border-t border-gray-100 px-4 py-3">
|
||||
|
||||
{{-- Tarjeta de datos Bancolombia ─────────────────── --}}
|
||||
@if(!empty($email['bancolombia']))
|
||||
@php $bc = $email['bancolombia']; @endphp
|
||||
<div class="mb-3 rounded-xl bg-gradient-to-br from-yellow-50 to-amber-50 border border-amber-200 p-4">
|
||||
<div class="flex items-center gap-2 mb-3">
|
||||
<span class="inline-flex items-center gap-1.5 bg-amber-500 text-white text-xs font-bold px-2.5 py-1 rounded-full">
|
||||
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
||||
</svg>
|
||||
Bancolombia — datos extraídos
|
||||
</span>
|
||||
@if($bc['tipo'] === 'transferencia_recibida')
|
||||
<span class="text-xs bg-green-100 text-green-700 px-2 py-0.5 rounded-full font-medium">Pago recibido</span>
|
||||
@elseif($bc['tipo'] === 'transferencia_enviada')
|
||||
<span class="text-xs bg-blue-100 text-blue-700 px-2 py-0.5 rounded-full font-medium">Transferencia enviada</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="grid grid-cols-2 gap-x-6 gap-y-2 text-sm">
|
||||
@if($bc['valor'])
|
||||
<div>
|
||||
<span class="text-xs text-gray-500 block">Valor</span>
|
||||
<span class="font-bold text-green-700 text-lg">${{ $bc['valor'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['llave'])
|
||||
<div>
|
||||
<span class="text-xs text-gray-500 block">Llave recibe</span>
|
||||
<span class="font-semibold text-gray-800">{{ $bc['llave'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['fecha'])
|
||||
<div>
|
||||
<span class="text-xs text-gray-500 block">Fecha</span>
|
||||
<span class="font-medium text-gray-700">{{ $bc['fecha'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['hora'])
|
||||
<div>
|
||||
<span class="text-xs text-gray-500 block">Hora</span>
|
||||
<span class="font-medium text-gray-700">{{ $bc['hora'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['remitente'])
|
||||
<div class="col-span-2">
|
||||
<span class="text-xs text-gray-500 block">Remitente</span>
|
||||
<span class="font-medium text-gray-700">{{ $bc['remitente'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['destinatario'])
|
||||
<div class="col-span-2">
|
||||
<span class="text-xs text-gray-500 block">Destinatario</span>
|
||||
<span class="font-medium text-gray-700">{{ $bc['destinatario'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
@if($bc['cuenta'])
|
||||
<div class="col-span-2">
|
||||
<span class="text-xs text-gray-500 block">Cuenta</span>
|
||||
<span class="font-medium text-gray-700">*{{ $bc['cuenta'] }}</span>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Texto completo del correo ────────────────────── --}}
|
||||
@if($email['body'])
|
||||
<pre class="text-xs text-gray-600 whitespace-pre-wrap font-sans leading-relaxed max-h-64 overflow-y-auto">{{ $email['body'] }}</pre>
|
||||
<p class="text-xs text-gray-400 mb-1 font-medium">Texto completo:</p>
|
||||
<pre class="text-xs text-gray-600 whitespace-pre-wrap font-sans leading-relaxed max-h-48 overflow-y-auto">{{ $email['body'] }}</pre>
|
||||
@else
|
||||
<p class="text-xs text-gray-400 italic">(Sin contenido de texto)</p>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user