@php /** * @var $document Modules\Sale\Entities\SaleEntity */ @endphp @if($document->total_exportation > 0) @endif @if($document->total_free > 0) @endif @if($document->total_unaffected > 0) @endif @if($document->total_exonerated > 0) @endif @if($document->total_taxed > 0) @endif @if($document->total_discount > 0) @endif @if($document->total_plastic_bag_taxes > 0) @endif @if($document->total_charge > 0) @php $total_factor = 0; foreach($document->charges as $charge) { $total_factor = ($total_factor + $charge->factor) * 100; } @endphp @endif @if($document->total_perception > 0) @else @endif
OP. EXPORTACIÓN: {{ $document->currency_type_symbol }} {{ $document->total_exportation }}
OP. GRATUITAS: {{ $document->currency_type_symbol }} {{ $document->total_free }}
OP. INAFECTAS: {{ $document->currency_type_symbol }} {{ $document->total_unaffected }}
OP. EXONERADAS: {{ $document->currency_type_symbol }} {{ $document->total_exonerated }}
OP. GRAVADAS: {{ $document->currency_type_symbol }} {{ $document->total_taxed }}
{{(($document->total_prepayment > 0) ? 'ANTICIPO':'DESCUENTO TOTAL')}} : {{ $document->currency_type_symbol }} {{ $document->total_discount }}
ICBPER: {{ $document->currency_type_symbol }} {{ $document->total_plastic_bag_taxes }}
IGV: {{ $document->currency_type_symbol }} {{ $document->total_igv }}
CARGOS ({{$total_factor}} %): {{ $document->currency_type_symbol }} {{ $document->total_charge }}
IMPORTE TOTAL: {{ $document->currency_type_symbol }} {{ $document->total }}
PERCEPCIÓN: {{ $document->currency_type_symbol }} {{ $document->perception->amount }}
TOTAL A PAGAR: {{ $document->currency_type_symbol }} {{ ($document->total + $document->total_perception) }}
TOTAL A PAGAR: {{ $document->currency_type_symbol }} {{ $document->total }}