@foreach ($creditNoteLines as $key => $creditNoteLine) {{preg_replace("/[\r\n|\n|\r]+/", "", ($key + 1))}} @if(isset($creditNoteLine->notes)) {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->notes)}} @endif unit_measure->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($creditNoteLine->invoiced_quantity, 6, '.', ''))}} @if(isset($idcurrency)) code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($creditNoteLine->line_extension_amount, 2, '.', ''))}} @else type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($creditNoteLine->line_extension_amount, 2, '.', ''))}} @endif {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->free_of_charge_indicator)}} @if ($creditNoteLine->free_of_charge_indicator === 'true') type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($creditNoteLine->price_amount, 2, '.', ''))}} {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->reference_price->code)}} @endif {{-- TaxTotals line --}} @include('xml._tax_totals', ['taxTotals' => $creditNoteLine->tax_totals]) {{-- AllowanceCharges line --}} @include('xml._allowance_charges', ['allowanceCharges' => $creditNoteLine->allowance_charges]) {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->description)}} @if(isset($creditNoteLine->brandname)) {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->brandname)}} @endif @if(isset($creditNoteLine->modelname)) {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->modelname)}} @endif type_item_identification->code)}}" schemeName="{{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->type_item_identification->name)}}" schemeAgencyID="{{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->type_item_identification->code_agency)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->code)}} @if($request->isTransport) @if($creditNoteLine->is_RNDC) 01 {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->RNDC_consignment_number)}} 02 {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->internal_consignment_number)}} 03 {{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->value_consignment)}} unit_measure_consignment->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $creditNoteLine->quantity_consignment)}} @endif @endif @if(isset($idcurrency)) code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format(($creditNoteLine->free_of_charge_indicator === 'true') ? 0 : $creditNoteLine->price_amount, 2, '.', ''))}} @else type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format(($creditNoteLine->free_of_charge_indicator === 'true') ? 0 : $creditNoteLine->price_amount, 2, '.', ''))}} @endif unit_measure->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($creditNoteLine->base_quantity, 6, '.', ''))}} @endforeach