{{ $empresa->nome_empresa ?? 'EMPRESA' }}
@if($empresa->endereco ?? false)
{{ $empresa->endereco }}
@endif @if($empresa->telefone ?? false)
Tel: {{ $empresa->telefone }}
@endif @if($empresa->cnpj ?? false)
CNPJ: {{ $empresa->cnpj }}
@endif
CUPOM NÃO FISCAL
Venda #{{ $venda->numero_venda }}
{{ $venda->data_venda->format('d/m/Y H:i:s') }}
ITEM TOTAL
@foreach($venda->itens as $item)
{{ $item->nome_produto }}
{{ $item->quantidade }} x R$ {{ number_format($item->preco_unitario, 2, ',', '.') }} R$ {{ number_format($item->subtotal, 2, ',', '.') }}
@endforeach
Subtotal: R$ {{ number_format($venda->subtotal, 2, ',', '.') }}
@if($venda->desconto > 0)
Desconto: - R$ {{ number_format($venda->desconto, 2, ',', '.') }}
@endif @if($venda->acrescimo > 0)
Acréscimo: + R$ {{ number_format($venda->acrescimo, 2, ',', '.') }}
@endif
TOTAL: R$ {{ number_format($venda->total, 2, ',', '.') }}
Forma Pagamento: {{ $venda->formaPagamento->nome ?? 'Dinheiro' }}
@if($venda->valor_recebido > 0)
Valor Recebido: R$ {{ number_format($venda->valor_recebido, 2, ',', '.') }}
Troco: R$ {{ number_format($venda->troco, 2, ',', '.') }}
@endif