17 lines
863 B
PHP
17 lines
863 B
PHP
<x-layout-app>
|
|
<div class="container-xl">
|
|
<div class="page-header">
|
|
<h1>{{ __('Planned Maintenance') }}</h1>
|
|
</div>
|
|
<p>{!! $maintenance_history->maintenance->description !!}</p>
|
|
@foreach ($maintenance_history->historyHosts as $historyHost)
|
|
<b>{{ $historyHost->host->hostname }}</b>
|
|
@foreach ($historyHost->historyTasks as $historyTasks)
|
|
<x-form::checkbox onclick="return false" checked="{{ isset($maintenance_task_status[$historyHost->id][$historyTasks->id]) ? 'checked' : '' }}" label="{{ $historyTasks->maintenanceTask->task->name }}" name="test-{{ $historyHost->id }}-{{ $historyTasks->id }}" />
|
|
@if(!isset($maintenance_task_status[$historyHost->id][$historyTasks->id]))
|
|
<x-form::quill />
|
|
@endif
|
|
@endforeach
|
|
@endforeach
|
|
</div>
|
|
</x-layout-app> |