Background

MotoPartsHM

SISTEMA DE VENTAS

@if ($budget)
Reportes de cuentas por cobrar

({{ $start }} al {{ $end }})

@else
Reportes de ventas

({{ $start }} al {{ $end }})

@endif
@if (!$budget) @endif @php $total = 0; $items = 0; @endphp @foreach ($sales as $sale) @php $total += $sale['total']; $items += $sale['items']; @endphp @if (!$budget) @endif @endforeach
FOLIO IMPORTE ITEMS TIPOESTATUSEMPLEADO CLIENTE FECHA
{{ $sale['id'] }}
$ {{ $sale['total'] }}
{{ $sale['items'] }}
{{ $sale['type'] === 'SALE' ? 'VENTA' : 'CARRITO' }}
{{ $sale['status'] === 'PAID' ? 'Pagado' : ($sale['status'] === 'PENDING' ? 'Pendiente' : 'Cancelado') }}
{{ $sale['name'] }}
{{ $sale['client'] }}
{{ $sale['date'] }}
TOTAL
$ {{ $total }}
{{ $items }}