@yield('logisticsInformation-block')
{{ Form::open(array('method' => 'post', 'files'=>true, 'enctype'=>'multipart/form-data', 'route'=>array('updateOtherServicesPaymentRequest', $paymentRequest->id))) }}
{{method_field('PUT')}}
{{ csrf_field() }}
{{ Form::hidden('SAOE', $loadingRequest->SAOE) }}
{{ Form::hidden('loading_requests_id', $loadingRequest->id) }}
{{ Form::hidden('containerQty', $loadingRequest->containerQty) }}
{{ Form::hidden('blQty', $loadingRequest->blQty) }}
{{ Form::hidden('status', 'Requested') }}
{{ Form::hidden('payment_type', 'Other Services') }}
{{ Form::hidden('loadingType' , 'OTHERSPAYREQ') }}
@if(isset($extraPayment) && $extraPayment == 'Yes')
{{ Form::hidden('paymentExtra', 'Yes') }}
@endif
@yield('Payment-date-edit')
@yield('tooltipDetailsHauling')
@php
$totalAmount = 0;
@endphp
@if(isset($registers[0]))
@foreach($registers as $item)
@php
$totalAmount += ($item->quantity ?? 0) * ($item->price ?? 0);
@endphp
{{-- @dd($item, $item->pivot) --}}
@if($loop->last)
{{ $item->currencies_id == 148 ? 'Total Amount (USD)' : 'Total Amount (BRL)'}}
@yield('bank-details-edit')
@endif
@endforeach
@else
Other Services not registered. (2)
@endif
{{--
@yield('correctionFee-module-edit-hauling')
--}}
{{-- Inserir Código de Barras - Componente --}}
{{-- --}}
@foreach($attachments as $check_attach)
@if($check_attach->anexo_types_id != 18) @continue; @endif
@livewire('bar-code.bar-code-reader-livewire', ['paymentReqId' => $paymentRequest->id])
@break
@endforeach
@if(isset($invoiceTester) && count($invoiceTester) > 1)
Esta fatura está em duplicidade com:
@foreach($invoiceTester as $invoice)
@if($invoice->id == $paymentRequest->id) @continue; @endif
{{ $invoice->id }}
@endforeach
@endif
@yield('footer-comments-attach-edit')