Empresa: |
{{$company->name}} |
Fecha: |
{{date('Y-m-d')}} |
Ruc: |
{{$company->number}} |
Establecimiento: |
{{$establishment->address}} - {{$establishment->department->description}} - {{$establishment->district->description}} |
# | Tipo Doc | Número | Fecha emisión | Doc. Afectado | Cliente | RUC | Estado | Moneda | Total Exonerado | Total Inafecto | Total Gratuito | Total Gravado | Total IGV | Total |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$loop->iteration}} | {{$value->document_type->id}} | {{$value->series}}-{{$value->number}} | {{$value->date_of_issue->format('Y-m-d')}} | @if(in_array($value->document_type_id,["07","08"]) && $value->note) @php $serie = ($value->note->affected_document) ? $value->note->affected_document->series : $value->note->data_affected_document->series; $number = ($value->note->affected_document) ? $value->note->affected_document->number : $value->note->data_affected_document->number; $serie_affec = $serie.' - '.$number; @endphp @endif{{$serie_affec }} | {{$value->customer->name}} | {{$value->customer->number}} | {{$value->state_type->description}} | @php $signal = $value->document_type_id; $state = $value->state_type_id; @endphp{{$value->currency_type_id}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total_exonerated}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total_unaffected}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total_free}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total_taxed}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total_igv}} | {{($signal == '07' || ($signal!='07' && $state =='11')) ? "-" : "" }}{{$value->total}} | @php $serie_affec = ''; @endphp
Totales PEN | {{number_format($acum_total_exonerado, 2)}} | {{number_format ($acum_total_inafecto, 2 )}} | {{number_format($acum_total_free, 2)}} | {{$acum_total_taxed}} | {{$acum_total_igv}} | {{$acum_total}} | ||||||||
Totales USD | {{$acum_total_taxed_usd}} | {{$acum_total_igv_usd}} | {{$acum_total_usd}} |
No se encontraron registros.