@foreach($vendas as $v)
@if(!$v->status)
@endif
|
{{$v->id}}
|
{{ $v->cliente->razao_social ?? 'NAO IDENTIFCADO' }}
|
{{ \Carbon\Carbon::parse($v->created_at)->format('d/m/Y H:i:s')}}
|
{{$v->getTipoPagamento($v->tipo_pagamento)}}
|
{{ $v->estado }}
|
{{ $v->NfNumero > 0 ? $v->NfNumero : '--' }}
|
{{ $v->usuario->nome }}
|
{{ number_format($v->valor_total, 2, ',', '.') }}
|
@if($v->pedido_ecommerce_id > 0)
{{$v->pedido_ecommerce_id}}
@else
--
@endif
|
@if($v->estado == 'DISPONIVEL')
@endif
@if($v->estado == 'DISPONIVEL' || $v->estado == 'REJEITADO')
@endif
|
@endforeach