@extends('default.layout') @section('content')
@isset($imprimir)
@endif

Lista de Orçamentos


Tabela

Grade

@foreach($orcamentos as $v) @endforeach
# ID Cliente Usuário Valor integral Desconto Acréscimo Total Estado Data Forma de Pagamento Tipo de Pagamento Ações
@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
@if(isset($links)) {{$orcamentos->links()}} @endif
@endsection @section('javascript') @endsection