@php $establishment = $document->establishment; $customer = $document->customer; $invoice = $document->invoice; $document_number = $document->series.'-'.str_pad($document->number, 8, '0', STR_PAD_LEFT); @endphp
@if($establishment->telephone) @endif
{{ $company->name }}
{{ $establishment->address }}
{{ strtoupper($establishment->department->description).'-'. strtoupper($establishment->province->description).'-'. strtoupper($establishment->district->description) }}
{{ $establishment->telephone }}
RUC {{ $company->number }}
{{ $document->document_type->description }}
{{ $document_number }}
@if ($customer->address && $customer->address !== '' && $customer->address !== '-') @endif
F.EMISIÓN : {{ $document->date_of_issue->format('d/m/Y') }}
{{ $customer->identity_document_type->description }} : {{ $customer->number }}
CLIENTE : {{ $customer->name }}
DIRECCIÓN : {{ $customer->address }}
{{ strtoupper($customer->department->description).'-'. strtoupper($customer->province->description).'-'. strtoupper($customer->district->description) }}
@foreach($document->items as $index => $row) @endforeach @if ($document->total_exonerated > 0) @endif @if ($document->total_unaffected > 0) @endif @if ($document->total_taxed > 0) @endif @if ($document->total_free > 0) @endif @if ($document->total_charge > 0) @endif
CANT. DESCRIPCIÓN P.U. DSCTO. TOTAL
{{ round($row->quantity, 0) }} {{ $row->item->description }} @if($row->item->is_set == 1)
@inject('itemSet', 'App\Services\ItemSetService') @foreach ($itemSet->getItemsSet($row->item_id) as $item) {{$item}}
@endforeach @endif
{{ number_format($row->unit_price, 2) }} @if($row->discounts) @foreach($row->discounts as $dscto)
{{ $dscto->factor * 100 }}% @endforeach @else 0 @endif
{{ $row->total }}
EXONERADA {{ $document->total_exonerated }}
INAFECTA {{ $document->total_unaffected }}
GRAVADA {{ $document->total_taxed }}
GRATUITA {{ $document->total_free }}
IGV {{ $document->total_igv }}
RECARGO(10%) {{ $document->total_charge }}
TOTAL {{ $document->total }}
@if($company->resolution) @endif
@foreach($document->legends as $row) SON: {{ $row->value }} {{ $document->currency_type->description }} @endforeach
Representación impresa de la
{{ $document->document_type->description }}
Autorizado mediante Resolución de Intendencia
No. {{ $company->resolution }}
Para consultar el comprobante ingresar a {{ $company->url_cpe }}
Hash: {{ $document->hash }}