@extends('adminlte.app') @section('content')
{{ $message }}
{{ $message }}
Litros Vendidos
{{number_format($totaisLitros,2,',','.')}}
Objetivos Globais
{{number_format($porcObjs,2,',','.')}} %
{{--{{number_format($vendasTotal,2,',','.')}}
--}} {{--{{number_format($objsTotal,2,',','.')}}
--}}Litros Vendidos
{{number_format($totaisLitrosTfuel,2,',','.')}}
Objetivos Tfuel
{{number_format($porcObjsTfuel,2,',','.')}} %
{{--{{number_format($vendasTotal,2,',','.')}}
{{number_format($objsTotal,2,',','.')}}
--}}Litros Vendidos
{{number_format($totaisLitrosIM,2,',','.')}}
Objetivos IM
{{number_format($porcObjsIM,2,',','.')}} %
{{--{{number_format($vendasTotal,2,',','.')}}
{{number_format($objsTotal,2,',','.')}}
--}}Litros Vendidos
{{number_format($totaisLitrosGC,2,',','.')}}
Objetivos Grandes Contas
{{number_format($porcObjsGC,2,',','.')}} %
{{--{{number_format($vendasTotal,2,',','.')}}
{{number_format($objsTotal,2,',','.')}}
--}}Litros Vendidos
{{number_format($totaisLitrosPostos,2,',','.')}}
Objetivos Postos
{{number_format($porcObjsPostos,2,',','.')}} %
{{--{{number_format($vendasTotal,2,',','.')}}
{{number_format($objsTotal,2,',','.')}}
--}}Meses - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | Litros - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | @foreach ($vendasTotais as $key => $vendaTotal){{ $vendaTotal['canalAbr'] }} - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | @endforeach {{--TFUEL - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | IM - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | GC - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | Postos - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | HP - {{ date('Y', strtotime($filtros['data_inicio'])) -1 }} | --}}
---|---|---|---|---|---|---|---|
@if($venda->mes < 10){{0}}@endif{{$venda->mes}}/{{ $venda->ano}} | {{ $venda->litros}} | @foreach ($vendasTotais as $key => $vendaTotal ) @foreach ($vendaTotal['vendasPorMesPassado'] as $vpmpt) @if ($vpmpt->mes && $vpmpt->mes == $venda->mes){{ $vpmpt->litros }} | @endif @endforeach @endforeach
Meses - {{ date('Y', strtotime($filtros['data_inicio']))}} | Litros - {{ date('Y', strtotime($filtros['data_inicio']))}} | @foreach ($vendasTotais as $key => $vendas){{ $vendas['canalAbr'] }} - {{ date('Y', strtotime($filtros['data_inicio']))}} | @endforeach
---|---|---|
@if($venda->mes < 10){{0}}@endif{{$venda->mes}}/{{ $venda->ano}} | {{ $venda->litros}} | @foreach ($vendasTotais as $key => $vendaTotal )@php $valorFinal = 0; foreach ($vendaTotal['vendasPorMes'] as $vpmt) { if ($vpmt->mes && $vpmt->mes == $venda->mes){ $valorFinal = $vpmt->litros; } } @endphp {{ $valorFinal }} | @endforeach
{{ $header }} | @endforeach
---|
{{ $venda[$produtos['headers']['h' . $loop->iteration]] }} | @endforeach
{{ $header }} | @endforeach
---|
{{ $venda[$eurosPorProdutos['headers']['h' . $loop->iteration]] }} | @endforeach