@extends('layouts.app') @section('content')
Изберете дата:

Прогнози за {{date('d.m.Y', $rawDate)}}

{{-- table --}} @foreach($models as $model) @if(count($forecast)) @for($i = 0; $i < $hoursInDay; $i++) @if($dateString == '29-03' AND $i == 3 AND count($forecast) == 23) @endif @endfor @else {!! str_repeat( '', 24 ) !!} @endif @endforeach
Фирма {!! implode('', range(1,24)) !!} Общо
{{$model->group->title}}
{{$model->title}}
x {{isset($forecast[$i]) ? formatNumForZero($forecast[$i]->f_energy) : ' - '}} - {{formatNumForZero($rowTotal)}}
@endsection