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

Lista de Vendas de Frente de Caixa

@if(session()->has('message'))
{{ session()->get('message') }}
@endif
inbox FRENTE DE CAIXA message ENVIAR WHATSAPP

{{$info}}

@foreach($vendas as $v) @if($v->estado == 'APROVADO') @elseif($v->estado == 'REJEITADO') @else @endif @endforeach
# Cliente Data Estado NFCe Usuário Valor Ações
{{ $v->id }} {{ $v->cliente->razao_social ?? 'NAO IDENTIFCADO' }} {{ \Carbon\Carbon::parse($v->data_registro)->format('d/m/Y H:i:s')}} {{ $v->estado }} {{ $v->NFcNumero > 0 ? $v->NFcNumero : '--' }} {{ $v->usuario->nome }} {{ number_format($v->valor_total + $v->acrescimo - $v->desconto, 2, ',', '.') }} @if($v->NFcNumero && $v->estado == 'APROVADO') print @else print @endif print @if(!$v->NFcNumero) nfc @endif
TOTAL {{ number_format($total, 2, ',', '.') }}
@endsection