@extends('relatorios.default') @section('content')
| Data | Cliente | Número da venda/pedido | Total | Tipo | |
| {{ $item['data'] }} | {{ $item['cliente'] }} | {{ $item['numero']}} | R$ {{ number_format($item['total'], $casasDecimais, ',', '.')}} | {{ $item['tipo']}} | |
| Produto | Quantidade | Valor unit. | Custo | Lucro | Lucro % |
| {{$i['produto']}} | {{ number_format($i['quantidade'], $casasDecimaisQtd, ',', '.') }} | {{ number_format($i['valor'], $casasDecimais, ',', '.') }} | {{ number_format($i['custo'], $casasDecimais, ',', '.') }} | {{ number_format($i['lucro'], $casasDecimais, ',', '.') }} | {{ number_format($i['lucro_perc'], 2, ',', '.') }} |
| Total de lucro: | R$ {{ number_format($somaLucro, $casasDecimais, ',', '.')}} |