| # | Produto | Quantidade | Preço Compra | Preço Venda | Lucro Unitário | Lucro Total |
|---|---|---|---|---|---|---|
| {{ $contador++ }} |
{{ $venda['nome'] ?? 'N/A' }}
@if(isset($venda['codigo']))
Cód: {{ $venda['codigo'] }} @endif |
{{ number_format($venda['Qunatidade'] ?? 0, 0, ',', '.') }} | {{ number_format($venda['compra'] ?? 0, 2, ',', '.') }} MT | {{ number_format($venda['custo'] ?? 0, 2, ',', '.') }} MT | @php $lucroUnitario = ($venda['custo'] ?? 0) - ($venda['compra'] ?? 0); @endphp {{ number_format($lucroUnitario, 2, ',', '.') }} MT | {{ number_format($venda['Lucro'] ?? 0, 2, ',', '.') }} MT |
| TOTAIS: | {{ number_format($totalFarmacosVendidos, 0, ',', '.') }} | {{ number_format($totalCustoCompra, 2, ',', '.') }} MT | {{ number_format($totalCustoVendas, 2, ',', '.') }} MT | {{ number_format($totalLucro, 2, ',', '.') }} MT | ||
✓ Relatório gerado com sucesso
ℹ Total de produtos: {{ count($vendasFeitas) }}
Não há vendas registradas para o período selecionado.
Assinatura
{{ auth()->user()->name ?? 'Não identificado' }}
{{ auth()->user()->email ?? '' }}
{{ date('d/m/Y H:i:s') }}