| ID | +Fecha | +Vendedor | +Cliente | +Servicio | +Valor | +Cuentas Asignadas | +Acción | +
|---|---|---|---|---|---|---|---|
| #{{ $item->id }} | +{{ \Carbon\Carbon::parse($item->created_at)->format('d/m/Y h:i a') }} | +{{ $item->vendedor->name ?? 'N/A' }} {{ $item->vendedor->email ?? '' }} |
+ {{ $item->nombre_cliente ?? $item->cliente->name ?? 'N/A' }} {{ $item->cliente->email ?? '' }} |
+ + @if ($item->promocion) + {{ $item->promocion->nombre ?? 'Promoción' }} + @elseif($item->tarifa && $item->tarifa->servicio) + {{ $item->tarifa->servicio->nombre }} + @if (!$item->tarifa->servicio->por_tiempo) + - {{ $item->tarifa->pantallas }}P + @endif + - {{ $item->tarifa->dias }}d + @else + N/A + @endif + | +${{ number_format($item->valor) }} | +
+ @forelse ($item->cuentas->unique() as $cuenta)
+ {{ $cuenta->correo }} - {{ $cuenta->password }}
+ @empty
+ Sin cuentas
+ @endforelse
+ |
+
+ @if ($confirmando_id === $item->id)
+
+
+ @else
+
+ @endif
+ ¿Revertir compra #{{ $item->id }}? +Se devolverá ${{ number_format($item->valor) }} al vendedor +
+
+
+
+ |
+
| No hay compras activas para mostrar | +|||||||