LAR_Maintenance/resources/views/maintenance/planned-detail-done.blade.php

17 lines
863 B
PHP
Raw Normal View History

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)
<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>
</x-layout-app>