@extends('template') @section('content')

Painel de xml's Recebidos

@if (Session::has('message')) @endif
@csrf
@csrf

 

NF's: {{ count($dados) }}
Peso 0
Frete(R$)0
Peso(Cub)0
Frete(Cub)(R$)0
Frete(Dif+)(R$)0
{!! $dados->appends(request()->except('page'))->links() !!}
Aguarde, carregando...
@if(count($dados) > 0) @foreach($dados as $return) @endforeach @else @endif
Cub. N.F
Data
Remetente
Destinatário
Orig.
Dest.
Vols/V.NF Peso B(KG)
Frete(R$)
Cubado(M3)
Frete(R$)
Diferença Status Ações
@if($return->m3 <= "0" && $return->total_frete == "0.00" && $return->status_perfil != "DE" && $return->total_frete_cubado == "0.00") NC
@elseif($return->status_perfil == "DE" && $return->total_frete_cubado == "0.00" && $return->frete_cubado == "0.00" && $return->m3 <= "0") DE
@elseif ($return->total_frete > "0" && $return->total_frete_cubado > "0.00" && $return->status_perfil != "DE" && $difCub < 200) CB
@elseif ($return->total_frete > "0" && $return->total_frete_cubado > "0.00" && $return->status_perfil != "DE" && $difCub >= 200) CB
@else @endif
{{ $return->nota_fiscal }}
{{ date('d-m-y', strtotime($return->data_emissao)) }}
{{ substr(@$return->razao_remetente, 0, 40) }}
{{ substr(@$return->razao_destinatario, 0, 40) }}
{{ $return->uf_cliente }} - {{ strtoupper(@$return->cidade_cliente) }}
{{ $return->uf_destinatario }} ({{ strtoupper(@$return->cidade_tipo) }}) - {{ strtoupper(@$return->cidade_destinatario) }}
{{ @$return->quantidade }}
{{ @$return->valor_nfe }}
{{ number_format(@$return->peso_bruto, 2, '.', '') }}
R$ {{ @$return->total_frete }}
{{ @$return->m3 }}
R$ {{ @$return->total_frete_cubado }}
0
R$ 0
@if($return->minuta == "0" && $return->complementar == "0") 000000
NÃO INTEGRADA
@elseif($return->complementar == "1") {{ $return->minuta }}
COMPLEMENTAR @else {{ $return->minuta }}
INTEGRADA @endif
{!! $dados->appends(request()->except('page'))->links() !!}
@endsection