@extends('adminlte::page') @section('title', 'Ventas') @section('content_header')

Historial de Ventas

Vender
@stop @section('content')

Lista de Ventas

@foreach ($ventas as $venta) @endforeach
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') }}
@stop @section('css') @stop @section('js') @stop