@for($i = 1; $i <= 23; $i++)
@foreach ($taxTotals as $key => $taxTotal)
@if(intval(preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->id)) === $i)
Warning: Undefined variable $taxTotal in C:\laragon\www\apidian-laravel-8-s3\resources\templates\xml\_tax_totals.blade.php on line 5
Warning: Attempt to read property "tax_amount" on null in C:\laragon\www\apidian-laravel-8-s3\resources\templates\xml\_tax_totals.blade.php on line 5
@endif
@endforeach
@if($CantItems > 0)
{{-- @if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($TotalImpuesto, 2, '.', ''))}}
code)}}">0.00
@else --}}
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($TotalImpuesto, 2, '.', ''))}}
type_currency->code)}}">0.00
{{-- @endif --}}
@foreach ($taxTotals as $key => $taxTotal)
@if(intval(preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->id)) === $i)
@if (!$taxTotal->is_fixed_value)
{{-- @if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->taxable_amount, 2, '.', ''))}}
@else --}}
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->taxable_amount, 2, '.', ''))}}
{{-- @endif --}}
@endif
{{-- @if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->tax_amount, 2, '.', ''))}}
@else --}}
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->tax_amount, 2, '.', ''))}}
{{-- @endif --}}
@if ($taxTotal->is_fixed_value)
unit_measure->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->base_unit_measure, 6, '.', ''))}}
{{-- @if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->per_unit_amount, 2, '.', ''))}}
@else --}}
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->per_unit_amount, 2, '.', ''))}}
{{-- @endif --}}
@endif
@if (!$taxTotal->is_fixed_value)
{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->percent, 2, '.', ''))}}
@endif
{{preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->code)}}
@if($taxTotal->tax_id == 15)
{{preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax_name)}}
@else
{{preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->name)}}
@endif
@endif
@endforeach
@endif
@endfor