@extends('default.layout') @section('content')

Lista de Orçamentos


@if(session()->has('message'))
{{ session()->get('message') }}
@endif
@foreach($orcamentos as $v) @endforeach @if(isset($total)) @endif
Código Cliente Usuario Valor Desconto Estado Data Forma de Pagamento Tipo de Pagamento Ações
@if(!$v->status)

@endif
{{$v->id}} {{$v->cliente->razao_social}} {{$v->usuario->nome}} {{ number_format($v->valor_total, 2, ',', '.') }} {{ number_format($v->desconto, 2, ',', '.') }} @if($v->estado == 'NOVO') NOVO @elseif($v->estado == 'APROVADO') APROVADO @else REPROVADO @endif {{ \Carbon\Carbon::parse($v->created_at)->format('d/m/Y H:i:s')}} {{$v->forma_pagamento}} {{$v->getTipoPagamento()}} @if($v->estado == 'NOVO') delete @endif build
Total {{ number_format($total, 2, ',', '.') }}
@if(isset($links)) @endif
@endsection