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