@extends('adminlte::page') @section('title', 'Ventas') @section('content_header')
| ID | Cliente | Producto | Cantidad | Precio Total | Monto Pagado | Vuelto | Fecha | Acciones |
|---|---|---|---|---|---|---|---|---|
| {{ $venta->id }} | {{ $venta->alquiler->cliente ?? 'Cliente Desconocido' }} | {{ $venta->producto->nombre ?? 'Producto Eliminado' }} | {{ $venta->cantidad }} | S/ {{ number_format($venta->precio_total, 2) }} | S/ {{ number_format($venta->monto_pagado, 2) }} | S/ {{ number_format($venta->vuelto, 2) }} | {{ $venta->created_at->format('d/m/Y H:i') }} |