@extends('default.layout') @section('content')
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, ',', '.') }} |