@extends('layouts.pdf') @if(!$log->is_mix_cycle) @section('pdftitle', ($box->client ? $box->client->name : config('app.name')) . ' - ' . ($box->alias ?: $box->name) . ' - ' . (trans("Temperature log")) . ': '. $log->logDatetime->format("d-m-Y H:i")) @else @section('pdftitle', ($box->client ? $box->client->name : config('app.name')) . ' - ' . ($box->alias ?: $box->name) . ' - ' . (trans("Mix temperature log")) . ': '. $log->logDatetime->format("d-m-Y H:i")) @endif @section('content') @if(!$log->is_mix_cycle)
@include('partials.tlog.conclusions', ["forpdf" => true]) @endif @if($box->client->allow_water_usage_calculations)
@include('partials.tlog.waterusage', ["forpdf" => true]) @endif @endsection @if(!empty($box->client) && !empty($box->client->theme) && $box->client->theme != 'default' && App\Theme::where('name', $box->client->theme)->first()) @section('pdf-color', App\Theme::where('name', $box->client->theme)->first()->themeColor) @section('pdf-alt-font-color', App\Theme::where('name', $box->client->theme)->first()->themeTextColor) @endif @section("page_js") @isset($chartMoments) @include('partials.tlog.tlogscript') @endisset @endsection