@extends('admin.layout') @section('title', 'Ventas - Admin IMOZA') @section('header', 'Ventas') @section('content')
| Factura | Cliente | Vendedor | Método | Total | Estado | Fecha | Detalles |
|---|---|---|---|---|---|---|---|
| {{ $sale->invoice_number ?: '-' }} | {{ $sale->customer->name ?? 'General' }} | {{ $sale->user->name ?? '-' }} | {{ $sale->payment_method }} | ${{ number_format($sale->total, 2) }} | {{ $sale->status === 'cancelled' ? 'Anulada' : 'Activa' }} | {{ $sale->created_at->format('d/m/Y H:i') }} | Ver |
| No hay ventas registradas. | |||||||