@foreach ($empresa as $e)
{{$e->name}}
Nit: {{$e->nit}}
{{$e->direction}}
{{$e->telephone}}
{{$e->email}}
@endforeach
@foreach ($neto as $ne) @endforeach @foreach ($impuesto as $iv) @endforeach @foreach ($detailValue as $to) @endforeach @foreach ($detailValue as $ent) @endforeach @foreach ($ivaentrie as $ivent) @endforeach @foreach ( $totalentrie as $totent) @endforeach @foreach ($totalcontado as $tc) @endforeach @foreach ($totalcredito as $vc) @endforeach @foreach ($totaltransferencia as $vtransf) @endforeach @foreach ($abono as $ab) @endforeach @foreach ($pagos as $pa) @endforeach @foreach ($caja as $ga) @endforeach @foreach ($totales as $ga) @endforeach
----------- VENTAS -------------
Subtotal $ {{ number_format($ne->neto,2) }}
+ Iva $ {{ number_format($iv->iva,2) }}
Total $ {{ number_format($to->total_value,2) }}
-------------- COMPRAS --------------
Subtotal $ {{ number_format($ent->total_value,2) }}
+ Iva $ {{ number_format($ivent->iva,2) }}
Total $ {{ number_format($totent->total,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) }}
+ Abono CXC $ {{ number_format($ab->abono,2) }}
- Abono CXP $ {{ number_format( $pa->pagos,2) }}
- Gastos $ {{ number_format( $ga->gasto,2) }}
= TOTAL EN EFECTIVO $ {{ number_format( $ga->total,2) }}