@foreach ($billings as $item)
| {{ date('d-m-Y', strtotime($item["fecha_emision"])) }} |
{{ $item["serie"] ."-". $item["correlativo"] }} |
@foreach ($pagos as $pago)
@foreach ($pago as $item_pago)
@if ($item_pago->idfactura == $item["id"] && $item["idtipo_comprobante"] == $item_pago->idtipo_comprobante)
{{ $item_pago->tipo_pago }}: {{ $item_pago->monto }}
@endif
@endforeach
@endforeach
|
{{ $item["dni_ruc"] }} |
{{ $item["nombre_cliente"] }} |
{{ $item["exonerada"] }} |
{{ $item["gravada"] }} |
{{ $item["inafecta"] }} |
{{ $item["igv"] }} |
{{ $item["total"] }} |
@endforeach
| Gastos S/ |
-{{ number_format($sum_bills, 2, '.', '') }} |
| Total Ventas S/ |
{{ number_format($monto_ventas, 2, '.', '') }} |
| Total S/ |
{{ number_format($total, 2, '.', '') }} |