@for($i = 1; $i <= 9; $i++)
@foreach ($withHoldingTaxTotal as $key => $taxTotal)
@if(preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->code) === '0'.$i)
Warning: Undefined variable $taxTotal in C:\laragon\www\apidian-laravel-8-s3\resources\templates\xml\_with_holding_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\_with_holding_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, 3, '.', ''))}}
@else
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($TotalImpuesto, 3, '.', ''))}}
@endif
@foreach($withHoldingTaxTotal as $key => $taxTotal)
@if(preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->code) === '0'.$i)
@if (!$taxTotal->is_fixed_value)
@if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->taxable_amount, 3, '.', ''))}}
@else
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->taxable_amount, 3, '.', ''))}}
@endif
@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, 3, '.', ''))}}
@else
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->per_unit_amount, 3, '.', ''))}}
@endif
@endif
@if(isset($idcurrency))
code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->tax_amount, 3, '.', ''))}}
@else
type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->tax_amount, 3, '.', ''))}}
@endif
@if (!$taxTotal->is_fixed_value)
{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($taxTotal->percent, 3, '.', ''))}}
@endif
{{preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->code)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $taxTotal->tax->name)}}
@endif
@endforeach
@endif
@endfor