CNPJ: {{ $empresa->cnpj }}
@endif @if($empresa->endereco){{ $empresa->endereco }}@if($empresa->cidade), {{ $empresa->cidade }}@endif @if($empresa->uf)- {{ $empresa->uf }}@endif
@endif @if($empresa->telefone)Tel: {{ $empresa->telefone }}
@endif @endifFATURA EM LOTE Nº {{ str_pad($faturamentos->first()->id_faturamento_locacao, 6, '0', STR_PAD_LEFT) }}
{{ $faturamentos->count() }} LOCAÇÕES
Data: {{ $faturamentos->first()->data_faturamento->format('d/m/Y') }}
| Qtd | Produto | @if($isMedicaoFatura)Dias | @endifValor Unit. | Subtotal |
|---|---|---|---|---|
| {{ $item['quantidade'] ?? 1 }} | {{ $item['produto'] ?? 'Produto' }} | @if($isMedicaoFatura){{ $item['dias'] ?? '-' }} | @endifR$ {{ number_format((float) ($item['valor_unitario'] ?? 0), 2, ',', '.') }} | R$ {{ number_format((float) ($item['subtotal'] ?? 0), 2, ',', '.') }} |
| Qtd | Serviço | Valor Unit. | Subtotal |
|---|---|---|---|
| {{ $servico->quantidade ?? 1 }} | {{ $servico->descricao ?? 'Serviço' }} | R$ {{ number_format($servico->valor ?? 0, 2, ',', '.') }} | R$ {{ number_format(($servico->quantidade ?? 1) * ($servico->valor ?? 0), 2, ',', '.') }} |
| Quantidade de Locações: | {{ $faturamentos->count() }} |
| VALOR TOTAL DO LOTE: | R$ {{ number_format($totalGeral, 2, ',', '.') }} |
| Parcela | Documento/Referência | Vencimento | Valor |
|---|---|---|---|
| {{ $parcela->numero_parcela ?? 1 }}/{{ $parcela->total_parcelas ?? 1 }} | {{ $parcela->documento ?? '-' }} | {{ $formatarData($parcela->data_vencimento ?? null) }} | R$ {{ number_format((float) ($parcela->valor_total ?? 0), 2, ',', '.') }} |
| Total das Parcelas: | R$ {{ number_format($parcelas->sum('valor_total'), 2, ',', '.') }} | ||
* Este lote foi parcelado em {{ $parcelas->count() }} vezes. Cada parcela possui data de vencimento própria conforme tabela acima.
@endif