@foreach ($empresa as $e)
{{$e->name}}
Nit: {{$e->nit}}
{{$e->direction}}
{{$e->telephone}}
{{$e->email}}
@endforeach

REPORTE DE VENTAS ENTRE RANGO DE FECHAS:


Fecha Inicio: {{$fechaInicio}} -- Fecha Final : {{$fecha}}
Factura Inicio: {{$minimo}} --- Factura Final: {{$maximo}}
@foreach ($sales as $det) @endforeach

@foreach ($neto as $ne) @endforeach @foreach ($iva as $iv) @endforeach @foreach ($subtotal as $sub) @endforeach @foreach ($totalcontado as $tc) @endforeach @foreach ($totalcredito as $vc) @endforeach @foreach ($totaltransferencia as $vtransf) @endforeach @foreach ($abono as $ab)
Fecha Fac Nit Nombre Caja T/Iva Neto F/Pago Total
${{$det->fechaInicio }} {{$det->num_sale }} {{$det->number }} {{$det->name }} {{$det->caja }} ${{$det->total_iva }} ${{$det->total_neto }} {{$det->forma_pago }} ${{$det->total }}
SUBTOTAL $ {{number_format($ne->neto,2) }}
+ IVA $ {{number_format($iv->iva,2) }}
= TOTAL $ {{number_format($sub->subtotal,2) }}
Ventas a Contado $ {{number_format($tc->total,2) }}
Ventas a Crédito $ {{number_format($vc->total,2) }}
Ventas Transferencia $ {{ number_format($vtransf->total,2) }}