@foreach($orcamentos as $v)
|
@if(!$v->status)
@endif
|
{{$v->id}}
|
{{ $v->cliente->razao_social ?? 'NAO IDENTIFCADO' }}
|
{{$v->usuario->nome}}
|
{{ number_format($v->valor_total, $casasDecimais, ',', '.') }}
|
{{ number_format($v->desconto, 2, ',', '.') }}
|
{{ number_format($v->acrescimo, 2, ',', '.') }}
|
{{ number_format($v->valor_total - $v->desconto + $v->acrescimo, $casasDecimais, ',', '.') }}
|
{{ $v->estado }}
|
{{ \Carbon\Carbon::parse($v->created_at)->format('d/m/Y H:i:s')}}
|
@if($v->forma_pagamento == '30_dias')
30 Dias
@elseif($v->forma_pagamento == 'a_vista')
A vista
@else
{{ $v->forma_pagamento }}
@endif
|
@if($v->tipo_pagamento == '99')
@else
{{$v->getTipoPagamento($v->tipo_pagamento)}}
@endif
|
@if($v->estado == 'NOVO')
@endif
|
@endforeach