@yield('extra-payment')
{!! Form::label('dollarRate', ' Foreign Currency Rate:', [ 'class' => 'control-label', 'style' => 'text-align:right;width: 65px;']) !!}
{!! Form::number('dollarRate', 0 , ['class'=>'control-label', 'id'=>'dollarRate','step'=>'0.00001', 'style' => 'font-size:13px;margin-left:4px;border: 1px solid #ccc;padding: 6px;border-radius: 5px;', 'disabled' => 'disabled']) !!}
{!! Form::label('loss', 'Loss', [ 'class' => 'pr-16 control-label', 'style' => 'font-size:14px']) !!}
{!! Form::label('chargeBuyer', 'Charge Buyer', [ 'class' => 'pr-16 control-label', 'style' => 'font-size:14px']) !!}
@yield('tooltipDetailsLocalCharges')
@forelse($register as $item)
{!! Form::checkbox('checkboxPrice[]', $item->id, null, ['class'=>'checkbox-size16']) !!}
{!! Form::label('maritime_quote_codes_id', $item->maritime_quote_codes->descricao, [ 'class' => 'pr-16 control-label', 'style' => 'font-size:13px;margin-left:4px']) !!}
{!! Form::label('price', ' Price (' . $item->maritime_quote_codes->currencies->descricao . ')', [ 'class' => 'w-100 control-label', ]) !!}
{{ Form::hidden('maritime_quote_codes_id[]', $item->maritime_quote_codes->id) }}
{{ Form::hidden('currencies[]', $item->maritime_quote_codes->currencies_id) }}
{!! Form::number('price[]', $item->price, ['class'=>'price-payment-format form-control', 'id'=>'price', 'step'=>'any', 'readonly'=>'readonly']) !!}
{!! Form::label('totalPriceSum', ' Total ' , [ 'class' => 'w-100 control-label' ]) !!}
{!! Form::number('totalPriceSum[]', ($item->price * ($item->maritime_quote_codes->PaymentType == 'BL' ? $loadingRequest->blQty: $loadingRequest->containerQty)), ['class'=>'form-control price-payment-format', 'id'=>'totalPriceSum', 'step'=>'0.01','readonly'=>'readonly']) !!}
{!! Form::label('totalPriceSum', $item->maritime_quote_codes->PaymentType . ' x ', [ 'class' => 'w-100 control-label', ]) !!}
{!! Form::number('quantity['.$item->id.'][]', ($item->maritime_quote_codes->PaymentType == 'BL' ? $loadingRequest->blQty: $loadingRequest->containerQty) , ['class' => 'form-control feeQuantity']) !!}
@empty
@endforelse
@foreach($specialCodes as $item)
{!! Form::checkbox('checkboxPrice[]', $item->id, null, ['class'=>'checkbox-size16']) !!}
{!! Form::label('maritime_quote_codes_id', $item->descricao, [ 'class' => 'pr-16 control-label', 'style' => 'font-size:13px;margin-left:4px']) !!}
{!! Form::label('price', ' Price (' . $item->currencies->descricao . ')', [ 'class' => 'w-100 control-label', 'step'=>'0.01' ]) !!}
{{ Form::hidden('maritime_quote_codes_id[]', $item->id) }}
{{ Form::hidden('currencies[]', $item->currencies_id) }}
{!! Form::number('price[]', $item->price, ['class'=>'form-control price-payment-format', 'id'=>'price', 'step'=>'any', 'readonly'=>'readonly', 'id'=>'specialFee'.($item->PaymentType == 'BL' ? $loadingRequest->blQty: $loadingRequest->containerQty)]) !!}
{!! Form::label('totalPriceSum', ' Total ' , [ 'class' => 'w-100 control-label' ]) !!}
{{-- Campo Para pegar o valor do campo e inserir na tabela irigin freth e N:N do payment --}}
{!! Form::label('totalPriceSum', $item->PaymentType . ' x ', [ 'class' => 'w-100 control-label', ]) !!}
{!! Form::number('quantity['.$item->id.'][]', ($item->PaymentType == 'BL' ? $loadingRequest->blQty: $loadingRequest->containerQty) , ['class' => 'form-control feeQuantity', 'id' => 'preCarriageField', 'readonly' => 'readonly']) !!}
@endforeach
{!! Form::label('totalPrice', ' Total Amount (Foreign Currency)', [ 'class' => 'w-100 control-label ']) !!}
{!! Form::number('amount', null, ['class'=>'form-control price-payment-format-total border-top-first', 'id'=>'totalPrice','step'=>'any','readonly'=>'readonly']) !!}
{!! Form::label('totalPrice', ' Total Amount (BRL)', [ 'class' => 'w-100 control-label', 'style' => '' ]) !!}
{!! Form::number('amountBRL', null, ['class'=>'form-control price-payment-format-total', 'id'=>'totalPrice','step'=>'any','readonly'=>'readonly', 'style' => 'width: 100%']) !!}
@yield('bank-details')