@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 ($entrie as $ent) @endforeach @foreach ($ivaentrie as $ivent) @endforeach @foreach ( $totalentrie as $totent) @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
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 $ {{$ne->neto }}
+ IVA $ {{$iv->iva }}
= TOTAL $ {{$sub->subtotal }}
-------------- COMPRAS --------------
Subtotal $ {{ $ent->neto }}
+ Iva $ {{ $ivent->iva }}
=Total $ {{ $totent->total }}
Ventas a Contado $ {{ number_format($contado,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 OPERACION $ {{ number_format($ga->oparaciones) }}
= TOTAL EN EFECTIVO $ {{ number_format( $debe,2) }}
----------------------------------------------------------------------------------------------------------
Excluido $ {{ number_format($tExcluido,2) }}
Base 5% $ {{ number_format($tnetoCinco,2) }} Base 19% $ {{ number_format($tneto19,2) }}
Imp 5% $ {{ number_format($ValPrimImpu,2) }} Imp 19% $ {{ number_format($TotalSegunImpuet,2) }}
------------------- ------------------