{{-- Renglones/Detalles Facturados (si existen) --}} @if($registro->details && $registro->details->count() > 0)

DETALLE DE ITEMS

@if(!$registro->is_no_fiscal) @endif @php $totalNeto = 0; $totalIva = 0; $totalSubtotal = 0; @endphp @foreach($registro->details as $detalle) @php $totalNeto += $detalle->neto_gravado ?? 0; $totalIva += $detalle->iva_monto ?? 0; $totalSubtotal += $detalle->iva_subtotal ?? 0; @endphp @if(!$registro->is_no_fiscal) @endif @endforeach @if(!$registro->is_no_fiscal) @endif
Código Descripción Cant. P. Unit.Neto IVASubtotal
{{ $detalle->codigo ?? '-' }} {{ $detalle->descripcion }} {{ number_format($detalle->cantidad, 2, ',', '.') }} {{ $registro->moneda->simbolo }} {{ number_format($detalle->precio_unitario, 2, ',', '.') }}{{ $registro->moneda->simbolo }} {{ number_format($detalle->neto_gravado, 2, ',', '.') }} {{ $registro->moneda->simbolo }} {{ number_format($detalle->iva_monto, 2, ',', '.') }}{{ $registro->moneda->simbolo }} {{ number_format($detalle->iva_subtotal, 2, ',', '.') }}
TOTALES:{{ $registro->moneda->simbolo }} {{ number_format($totalNeto, 2, ',', '.') }} {{ $registro->moneda->simbolo }} {{ number_format($totalIva, 2, ',', '.') }}{{ $registro->moneda->simbolo }} {{ number_format($totalSubtotal, 2, ',', '.') }}

@endif {{-- Composición Tributaria (Alícuotas) - Solo si NO es No Fiscal --}} @if(!$registro->is_no_fiscal)

COMPOSICIÓN TRIBUTARIA

@foreach($registro->receipt_detail as $linea) @if($linea->system_tax) @endif @endforeach @foreach($registro->receipt_detail as $linea) @if($linea->other_tax) @endif @endforeach
ALICUOTA IMPORTE IVA IIBB
{{ ucfirst($linea->system_tax->name) }} {{$registro->moneda->simbolo}} {{ number_format($linea->amount, 2, ',', '.') }} {{$registro->moneda->simbolo}} {{ number_format($linea->tax_amount, 2, ',', '.') }} {{$linea->taxable_iibb==1? 'No Gravado IIBB' : 'Gravado IIBB'}}
{{$linea->other_tax->name}} {{$registro->moneda->simbolo}} {{ number_format($linea->amount, 2, ',', '.') }}
@endif