2024-08-07 05:52:07 +00:00
|
|
|
<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)
|
2024-08-08 08:33:21 +00:00
|
|
|
<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
|
2024-08-07 05:52:07 +00:00
|
|
|
@endforeach
|
|
|
|
</div>
|
2024-08-08 08:33:21 +00:00
|
|
|
</x-layout-app>
|