@foreach($taxes as $tax) @endforeach @foreach($taxes as $tax) @endforeach @php $total = 0; $net_total = 0; $total_exempt = 0; @endphp @foreach($records as $value) @php $row = $value->getDataReportSalesBook(); $total = $total + $row['total']; $net_total = $net_total + $row['net_total']; $total_exempt = $total_exempt + $row['total_exempt']; @endphp @foreach($taxes as $tax) @php $item_values = $value->getItemValuesByTax($tax->id); @endphp @endforeach @endforeach @foreach($taxes as $tax) @endforeach
IMPUESTO #{{ $loop->iteration }}
{{ $tax->name }} - ({{ $tax->rate }}%)
F. Emisión Nro/Doc Nombre Moneda Total/Neto Total
+
Impuesto
Total/ExcentoBase Impuesto
{{ $row['date_of_issue'] }} {{$row['type_document_name']}}
{{ $row['number_full'] }}
{{ $row['customer_name'] }} {{ $row['currency_code'] }} {{ $row['net_total'] }} {{ $row['total'] }} {{ $row['total_exempt'] }} {{ $item_values['taxable_amount'] }} {{ $item_values['tax_amount'] }}
TOTALES {{ $net_total }} {{ $total }} {{ $total_exempt }}