Reporte Impuestos


Empresa:

{{$company->name}}

Fecha:

{{date('Y-m-d')}}

N° Documento:

{{$company->number}}

Establecimiento:

{{$establishment->address}} - {{$establishment->address}} - {{$establishment->country->name}} - {{$establishment->department->name}} - {{$establishment->city->name}}

@if(!empty($records)) @inject('reportTax', 'App\Services\ReportTaxService')
@php $sale_total = 0; $total_discount = 0; @endphp @foreach($taxTitles as $tt) @endforeach @foreach($records as $key => $value) @foreach($taxTitles as $tax) @endforeach @php $sale_total += $value->sale; $total_discount += $value->total_discount; @endphp @endforeach @foreach($taxTitles as $tax) @endforeach
# Fecha emisión Cliente Documento Base Descuento{{ $tt->name}}({{ $tt->rate}})
{{$loop->iteration}} {{$value->created_at}} {{$value->customer->name}}
{{$value->type_document->name}}
{{$value->prefix}}{{$value->number}} @if($value->type_document_id != 1) ({{$value->prefix}}{{$value->number}}) @endif
$ {{$value->total}} $ {{$value->total_discount}}${{$reportTax->getTaxTotalBill($tax, $value->taxes)}}
Totales: ${{ $sale_total }} ${{ $total_discount }}${{$reportTax->getTaxTotal($tax, $taxesAll)}}
@else

No se encontraron registros.

@endif