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

Reporte de Ventas

Volver al Dashboard
@stop @section('content')
Filtros
Limpiar
Total de Ventas

{{ number_format($totalVentas) }}

Monto Total Vendido

S/ {{ number_format($montoTotalVendido, 2) }}

Total Pagado

S/ {{ number_format($montoTotalPagado, 2) }}

Saldo Pendiente

S/ {{ number_format($saldoPendiente, 2) }}

Promedio de Venta

S/ {{ number_format($promedioVenta, 2) }}

Venta Más Alta

S/ {{ number_format($ventaMasAlta, 2) }}

Venta Más Baja

S/ {{ number_format($ventaMasBaja, 2) }}

Ventas por Día
Ventas por Estado
Ventas por Método de Pago
Top 10 Clientes
Detalle de Ventas
@forelse($ventas as $venta) @empty @endforelse
Código Seguimiento Cliente Fecha Venta Monto Vendido Total Pagado Saldo Pendiente Estado Pedido Estado Entrega Acciones
{{ $venta->codigo_seguimiento ?? 'N/A' }} {{ $venta->cotizacion->cliente->user->name ?? 'N/A' }} {{ $venta->created_at->format('d/m/Y') }} S/ {{ number_format($venta->monto_vendido, 2) }} S/ {{ number_format($venta->total_pagado, 2) }} S/ {{ number_format($venta->restante, 2) }} {{ ucfirst(str_replace('_', ' ', $venta->estado_pedido)) }} {{ $venta->estado_entrega_texto }}
No hay ventas que coincidan con los filtros seleccionados
@stop @section('js') @stop @section('css') @stop