{{-- inizio report1 --}} @if (Auth::user()->users_type_id<4)

Report Produzione


Periodo:

{{-- report totali --}}
  •  In Lavorazione 
  •  OK 
  •  Produzione Totale 
  •  KO 
  •  In Lavorazione 
  •  OK 
  •  Produzione Totale 
  •  KO 
  •  In Lavorazione 
  •  OK 
  •  Produzione Totale 
  •  KO 
{{-- report dettagli --}}
{{-- --}} {{-- --}} {{-- --}} {{--
@if (count($nuova_prod[1]) > 0) @foreach ($nuova_prod[1] as $nome => $p)
@endforeach @else @endif --}}
Nominativo In Sospeso  OK  KO Energia in sospeso  OK  KO Gas In Sospeso  OK  KO Telco TOTALI
{{ $nome }} {{ $p['EE']['stato']['SOSP'] }} {{ $p['EE']['stato']['OK'] }} {{ $p['EE']['stato']['KO'] }} {{ $p['EE']['total'] }} {{ $p['G']['stato']['SOSP'] }} {{ $p['G']['stato']['OK'] }} {{ $p['G']['stato']['KO'] }} {{ $p['G']['total'] }} {{ $p['T']['stato']['SOSP'] }} {{ $p['T']['stato']['OK'] }} {{ $p['T']['stato']['KO'] }} {{ $p['T']['total'] }}
NESSUN ELEMENTO PRESENTE
{{-- fine report1 --}} @else {{-- inizio report2 Vecchio --}}

Report Produzione Mese corrente



  •  Totale EE in sospeso {{ $produzione_totali['totaleEESospeso'] }}
  •  Totale EE OK {{ $produzione_totali['totaleEEOk'] }}
  •  Totale EE KO {{ $produzione_totali['totaleEEKo'] }}
  •  Totale EE {{ $produzione_totali['totaleEETot'] }}
  •  Totale GAS in sospeso {{ $produzione_totali['totaleGASSospeso'] }}
  •  Totale GAS Ok {{ $produzione_totali['totaleGASOk'] }}
  •  Totale GAS Ko {{ $produzione_totali['totaleGASKo'] }}
  •  Totale Gas {{ $produzione_totali['totaleGASTot'] }}
@if (count($produzione) > 0) @foreach ($produzione as $p)
@endforeach @else @endif
Nominativo  energia in sospeso  energia OK  energia KO  energia totale  gas in sospeso  gas Ok  gas Ko  gas totale Totale
{{ $p->nominativo }} {{ $p->totale_energia_caricati }} {{ $p->totale_energia_ok }} {{ $p->totale_energia_ko }} {{ $p->totale_ee }} {{ $p->totale_gas_caricati }} {{ $p->switch_produzione_gas_ok }} {{ $p->switch_produzione_gas_ko }} {{ $p->totale_gas }} {{ $p->totale }}
NESSUN ELEMENTO PRESENTE
{{-- fine report2 --}} @endif @section('scripts') @parent {{-- $('.datepicker').datepicker({ format: { /* * Say our UI should display a week ahead, * but textbox should store the actual date. * This is useful if we need UI to select local dates, * but store in UTC */ toDisplay: function (date, format, language) { var d = new Date(date); d.setDate(d.getDate() - 7); return d.toISOString(); }, toValue: function (date, format, language) { var d = new Date(date); d.setDate(d.getDate() + 7); return new Date(d); } } }); --}} {{-- --}} @endsection