@foreach ($allowanceCharges as $key => $allowanceCharge) {{preg_replace("/[\r\n|\n|\r]+/", "", ($key + 1))}} {{preg_replace("/[\r\n|\n|\r]+/", "", $allowanceCharge->charge_indicator)}} @if (($allowanceCharge->charge_indicator === 'false') && ($allowanceCharge->discount)) {{preg_replace("/[\r\n|\n|\r]+/", "", $allowanceCharge->discount->code)}} @endif {{preg_replace("/[\r\n|\n|\r]+/", "", $allowanceCharge->allowance_charge_reason)}} {{preg_replace("/[\r\n|\n|\r]+/", "", $allowanceCharge->multiplier_factor_numeric)}} {{-- @if(isset($idcurrency)) code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($allowanceCharge->amount, 2, '.', ''))}} @else --}} type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($allowanceCharge->amount, 2, '.', ''))}} {{-- @endif --}} @if ($allowanceCharge->base_amount) {{-- @if(isset($idcurrency)) code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($allowanceCharge->base_amount, 2, '.', ''))}} @else --}} type_currency->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", number_format($allowanceCharge->base_amount, 2, '.', ''))}} {{-- @endif --}} @endif @endforeach