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

REPORTE DE: COMPRAS POR RANGO DE FECHAS:

Fecha Inicio: {{$fechaInicio}} --- Fecha Final : {{$fecha}}
Factura Inicio: {{$minimo}} --- Factura Final: {{$maximo}}
@foreach ($detalle as $det) @endforeach @foreach ($detailValue as $n) @endforeach @foreach ($impuesto as $i) @endforeach @foreach ($detailEntrie as $t) @endforeach @foreach ($totalcontado as $tc) @endforeach @foreach ($totalcredito as $vc) @endforeach @foreach ($totaltransferencia as $vtransf) @endforeach @foreach ($pagos as $ab) @endforeach
FECHA FACT NIT PROVEEDOR CAJA PRECIO IVA P/UNI P/TOTAL
{{$det->fechaInicio}} {{$det->facture }} {{$det->number}} {{$det->name}} {{$det->caja}} ${{$det->total_neto}} ${{$det->total_iva }} ${{$det->total}}
-----------------------------
SUBTOTAL $ {{ number_format( $n->neto,2) }}
+ IMPUESTO $ {{( number_format($i->iva,2) )}}
=TOTAL $ {{ number_format($t->price,2) }}
-----------------------------
Compras a Contado $ {{ number_format( $tc->total,2) }}
Compras a Crédito $ {{ number_format($vc->total,2) }}
Compras Transferencia $ {{ number_format( $vtransf->total,2) }}
+ Abono CXP $ {{ number_format( $ab->pagos,2) }}