@if(!isset($errorEmpty)) @if(session('userExtra')) @php $Additional = 'Additional'; @endphp @else @php $Additional = ''; @endphp @endif @if(isset($noPreview))

{{$Additional}} Debit Note

@else

Preview {{$Additional}} Debit Note (Pré-visualização Nota de Débito)

@endif
ND N.: @if(session('userExtra')) {{session('DN_number')}} @else {{(isset($others_info[0]->DN_number) ? $others_info[0]->DN_number : null)}} @endif
Data da Emissão:{{(isset($others_info[0]->DN_issue_date) ? $others_info[0]->DN_issue_date : null)}}
Data de Vencimento:{{(isset($others_info[0]->expiration_date) ? $others_info[0]->expiration_date : null)}}
@endif
@if(!isset($errorEmpty))

Dados do Faturamento

@if(is_array($dados) || is_object($dados)) @foreach($dados as $loading) @endforeach @endif
Booking Navio Data do BL BL N. Qty POL POD Ref. Cliente
{{$loading->booking}} {{-- {{$loading->status}}- {{$loading->id}}- {{$loading->SAOE}} --}} {{$loading->vessel->descricao}} {{$loading->BlDate}} {{$loading->BlNumber}} {{$loading->containerQty}} {{$loading->loading_ports->descricao}} {{$loading->code_of_ports1->place .', '. $loading->code_of_ports1->country}} {{$loading->shipperReference}}

Observações:

{{ $others_info[0]->comments ?? ''}}

Serviços

@if(is_array($getFees) || is_object($getFees)) @foreach($getFees as $fee) @endforeach @endif
Description Price BRL Price US Quantity Dollar Rate Amount (BRL)
{{$fee['descricao']}} {{-- {{$fee['price']}} --}} {{number_format($fee['price'],2,",",".")}} {{-- {{$fee['priceUS']}} --}} {{number_format($fee['priceUS'],2,",",".")}} {{-- {{$fee['qty']}} --}} {{number_format($fee['qty'],2,",",".")}} @if($fee['dollar_rate'] <> 1 && $fee['priceUS'] <> '0,00' && $fee['priceUS'] <> null) {{number_format($fee['dollar_rate'],4,",",".")}} @else - @endif {{-- {{$fee['amount_BRL']}} --}} @if($fee['dollar_rate'] <> 1 && $fee['priceUS'] <> '0,00' && $fee['priceUS'] <> null) {{number_format(($fee['amount_BRL'] * $fee['dollar_rate']),2,",",".")}} {{-- {{$fee['amount_BRL']}}{{$fee['dollar_rate']}} --}} @else {{number_format($fee['amount_BRL'],2,",",".")}} @endif

Valor Total

{{ isset($others_info[0]->total_amount_BRL) ? number_format($others_info[0]->total_amount_BRL,2,",",".") : ''}} {{--

{{number_format($others_info[0]->total_amount_BRL,2,",",".")}}

--}} {{--

{{$others_info[0]->total_amount_BRL}} kjkj

--}}

Vendedor:

{{$vendedor->name ?? ''}}

{{$vendedor->address ?? ''}}

{{$vendedor->countries->descricao ?? ''}} - {{isset($vendedor->cities->descricao) ? strtoupper($vendedor->cities->descricao) : ''}} / {{isset($vendedor->states->uf) ? strtoupper($vendedor->states->uf) : ''}}

{{$vendedor->CNPJ ?? ''}}

Comprador:

{{$comprador->name ?? ''}}

{{$comprador->address ?? ''}}

{{$comprador->countries->descricao ?? ''}} - {{isset($comprador->cities->descricao) ? strtoupper($comprador->cities->descricao) : ''}} / {{isset($comprador->states->uf) ? strtoupper($comprador->states->uf) : ''}}

{{$comprador->CNPJ ?? ''}}

Dados Bancários para Transferencia:

{{$bankDetails[0]->companyName ?? ''}}

{{$bankDetails[0]->CNPJ ?? ''}}

{{$bankDetails[0]->bank ?? ''}}
Agência: {{$bankDetails[0]->agency ?? ''}}
Conta Corrente: {{$bankDetails[0]->conta ?? ''}}

@else @if(isset($errorEmpty) && $errorEmpty != 'YES')

{{$errorEmpty}}

@else

Please Select some rate first! (Empty)

@endif @endif