@extends('layout.padrao') @section('title', ' Trade Recaps') @section('pesquisa')
@endsection @section('content') @can('create', App\Usuario::class) @include('include.btn_adicionar',["btn" => "tradeRecaps"]) @endcan
@foreach($registers as $item)

TRADE {{$item->id}}

Actions: @can('update', App\Usuario::class) @endcan @can('delete', App\Usuario::class) id}} data-toggle="modal" data-target="#delete" data-toggle="tooltip" data-placement="top" title="Delete"> @endcan
@foreach($porcents as $porcent) @if($item->id == $porcent->id)
{{$porcent->stats}} %
@endif @endforeach
status == 'Cancel' ? 'alert-danger':''}}>
Client Destination Country Product Price m/ton Total Quantity (tons) Trade Status Contract Status
{{ $item->clients_id ?? '-'}} {{ $item->countries_id ?? '-' }} {{ $item->platforms->id ?? '-' }} {{ $item->priceMtonTotal ?? '-'}} {{ $item->totalQtyT ?? '-'}} {{ $item->status ?? '-'}}
@if(count($item->loading_requests)> 0 )
@foreach($item->loading_requests as $load) @endforeach
Vessel Booking Inttra Ref
{{ $load->vessel }} {{ $load->booking }} {{ $load->InttraRef }}
@endif
@endforeach
{{-- {{ $registers->links() }} --}}
@include('include.modal_deletar', ["rota" => "tradeRecaps"]) @endSection