@extends('layout.padrao') @section('title', 'Shipper/Client (Exportador/Cliente)') @section('content') @include('stuffingProcess.bookinginformation') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif

Stuffing Terminal Details (Detalhes do Transbordo)

@if( isset($stuffingProcess->stuffingProcessDetails) ) {{ method_field('PUT') }} @endif {{-- This variable control all inputs names--}} @php $controlKey = 0; $divNumber = 0; $divAttachNumber = 0; $totalSent = 0; $totalPreSent = $loadingRequest->containerQty; $divNumberLoadings = 0; $divNumberLoadingDetails = 0;@endphp {{ csrf_field() }} @foreach($stuffingProcess->stuffingProcessDetails as $controlKey => $stuffingProcessDetails) @php $totalSent += 1; $divNumber += 1; @endphp @endforeach
@foreach($stuffingProcess->stuffingProcessLoadings as $stuffingProcessLoadings) @if($stuffingProcessLoadings->terminalSchedulingDate != null) @php $divNumberLoadings += 1; $divNumberLoadingDetails += 1; @endphp @include('stuffingProcess.step5.form') @endif @endforeach

Qtd Total Nomeada: {{$loadingRequest->maxQtyLoaded ?? '0'}} T

Qtd Total Líquido da NF : {{ (($stuffingProcess->stuffingProcessDetails->sum('netweight1') ?? '0') + ($stuffingProcess->stuffingProcessDetails->sum('netweight2') ?? '0')) }} T

Qtd Restante: {{(isset($loadingRequest->maxQtyLoaded) && $loadingRequest->maxQtyLoaded > 0) ? (($loadingRequest->maxQtyLoaded - (($stuffingProcess->stuffingProcessDetails->sum('netweight1') ?? '0') + ($stuffingProcess->stuffingProcessDetails->sum('netweight2') ?? '0')))) : ' - '}} T

@include('stuffingProcess.cargo_details')

Attachments / Comments (Anexos / Comentários)

@php $divAttachNumber = 1; @endphp @include('stuffingProcess.form_attachments')
    @foreach($loadingRequest->anexo_types as $stuffingProcessFiles) @php $divAttachNumber += 1; @endphp @if($stuffingProcessFiles->pivot->stage <> 'SP1' ) @continue @endif
  • - {{$stuffingProcessFiles->descricao}} ({{$stuffingProcessFiles->pivot->stage}}) - {{$stuffingProcessFiles->pivot->nmAnexo}}
  • @endforeach
@include('stuffingProcess.comments')
@endsection @include('stuffingProcess.step1.script') @include('stuffingProcess.notification')