@extends('layout.padrao') @include('loading.paymentRequest.information_module') @section('title', $title) @section('content') @if($errors->any())

Algo deu errado. Verificar Campos Obrigatórios

@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif
@yield('logisticsInformation-block') {{ Form::open(array('method' => 'post', 'files'=>true, 'enctype'=>'multipart/form-data', 'route'=>'storeHaulingPaymentRequest', 'id'=>'payment_create')) }} {{method_field('post')}} {{ 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', 'Hauling') }} {{ Form::hidden('loadingType' , 'HAUPAYREQ') }}
@yield('extra-payment') @yield('Payment-date')
@yield('tooltipDetailsHauling')
@if(isset($registers[0])) @foreach($registers as $item) @if($loop->first)

{{$item->cities->descricao}} {{$item->cities2->descricao}} {{$item->cities3->descricao}}

@php $new_route='Y'; @endphp

Valid From: {{date_format(date_create($item->haulingValidadeFrom),"d.m.Y") }} To: {{date_format(date_create($item->haulingValidadeTo),"d.m.Y") }} @else @if($item->haulingValidadeFrom <> $registers[$loop->index - 1]->haulingValidadeFrom || $item->haulingValidadeTo <> $registers[$loop->index - 1]->haulingValidadeTo)

Valid From: {{date_format(date_create($item->haulingValidadeFrom),"d.m.Y") }} To: {{date_format(date_create($item->haulingValidadeTo),"d.m.Y") }} @else @if($item->origin <> $registers[$loop->index -1]->origin || $item->destinationI <> $registers[$loop->index -1]->destinationI || $item->destinationII <> $registers[$loop->index - 1]->destinationII)

{{$item->cities->descricao}} {{$item->cities2->descricao}} {{$item->cities3->descricao}}

@php $new_route='Y'; @endphp @endif @endif @endif @if (App\Http\Controllers\ClientProfileChecksController::checkHaulingMontagemXclientProfile($loadingRequest->clients_id, 3, 19,$loadingRequest->id)) @if($item->container_types_id == 1) {{-- flexitank Instalation rates --}}
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @php unset($new_route) @endphp @endif
@endif @else
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @endif
@if(isset($new_route)) @php unset($new_route) @endphp @endif
{{-- tol rates --}}
{{-- estadia rates --}}
@if($item->container_types_id == 1) {{-- flexitank Instalation rates --}}
@endif @endif {{-- Pré Stacking rates --}}
@if($loop->last)
@if(((count($registers)) % 2) == 0 )
@else
@endif
{{-- @if(((count($registers)) % 2) == 0 )
@endif --}}
@yield('bank-details') @endif @endforeach @else @if (App\Http\Controllers\ClientProfileChecksController::checkHaulingMontagemXclientProfile($loadingRequest->clients_id, 3, 19,$loadingRequest->id)) @if($loadingRequest->container_types_id == 1) {{-- flexitank Instalation rates --}}

{{-- Pré Stacking rates --}}
@if(((count($registers)) % 2) == 0 )
@else
@endif
@yield('bank-details') @else
  • Hauling Rate not registered.

  • Please, contact the responsible department. (1)

@endif @else
  • Hauling Rate not registered.

  • Please, contact the responsible department. (2)

@endif @endif

Extra Payment {!! Form::checkbox('CorretionFee', 'Yes', null, ['class'=>'checkbox-size16']) !!}

@yield('correctionFee-module-hauling')
@yield('footer-comments-attach')
@include('include.btn_registrar')
@include('loading.haulingPaymentRequest.script') @endSection