| {{$letras}} |
| Subtotal: |
$ {{ number_format($xml['Comprobante']['@atributos']['subtotal'], 2, '.', ',') }} |
| Total Descuentos: |
$ {{ number_format($xml['Comprobante']['@atributos']['descuento'], 2, '.', ',') }} |
| Total Cargos: |
$ 0.00 |
| Subtotal: |
$ {{ number_format(($xml['Comprobante']['@atributos']['subtotal'] - $xml['Comprobante']['@atributos']['descuento']), 2, '.', ',') }} |
@if( isset($xml['Comprobante']['Impuestos']['Traslados']) )
@foreach( $xml['Comprobante']['Impuestos']['Traslados']['Traslado']['@atributos'] as $impuesto )
@if( $impuesto['importe'] > 0 )
| {{ $impuesto['impuesto'] }} {{ $impuesto['tasa'] }}%: |
$ {{ number_format($impuesto['importe'], 2, '.', ',') }} |
@endif
@endforeach
@else
| IVA 16%: |
$ 0.00 |
@endif
@if( isset($xml['Comprobante']['Impuestos']['Retenciones']) )
@foreach( $xml['Comprobante']['Impuestos']['Retenciones']['Retencion']['@atributos'] as $impuesto )
@if( $impuesto['importe'] > 0 )
@php( $tasa = 0 )
@php( $tasa = ($xml['Comprobante']['@atributos']['subtotal'] > 0) ? round(($impuesto['importe'] / $xml['Comprobante']['@atributos']['subtotal']) * 100, 2) : 0 )
| {{ $impuesto['impuesto'] }} {{ $tasa }}%: |
$ {{ number_format($impuesto['importe'], 2, '.', ',') }} |
@endif
@endforeach
@endif
| Total: |
$ {{ number_format($xml['Comprobante']['@atributos']['total'], 2, '.', ',') }} |
|
|
@if($xml['tipo'] != 'PAGO')