Logo
Relatório de faturamento resumido
Período: {{ @filtro.data_de }} a {{ @filtro.data_ate }}
{~ @tr = @td = 0 ~} {~ @r = array_aggregate(@contratos[@veiculo.id], 'total') ~} {~ @d = array_aggregate(@despesas[@veiculo.id], 'valor') ~} {~ @g = array_aggregate(@despesas_gerais, 'valor') / @qtde_veiculos ~} {~ @tr += @r; @tg += @g; @td += @d ~}
Marca: {{ @filtro.marca ? @filtro.marca.nome : 'Todas' }} Grupo: {{ @filtro.grupo ? @filtro.grupo.nome : 'Todos' }}

Placa Modelo Marca Grupo Receita Despesa Saldo D. Rateio S. Rateio
{{ @veiculo.placa }} {{ @veiculo.modelo }} {{ @veiculo.marca }} {{ @veiculo.grupo }}{{ number_format(@r, 2, ',', '.') }}{{ number_format(@d, 2, ',', '.') }} {{ number_format(@r - @d, 2, ',', '.') }}{{ number_format(@g, 2, ',', '.') }} {{ number_format(@r - @g - @d, 2, ',', '.') }}

Total {{ number_format(@tr, 2, ',', '.') }} {{ number_format(@td, 2, ',', '.') }} {{ number_format(@tr - @td, 2, ',', '.') }} {{ number_format(@tg, 2, ',', '.') }} {{ number_format(@tr - @tg - @td, 2, ',', '.') }}