Maintenance Details

@include('backend.maintenance.maintenance_form')
@if ($is_maintenance_action)
Add Action
@if (empty($maintenanceDescription)) @php $index = 1; $key = 0; @endphp

Maintenance Action {{ $index }}

@include('backend.maintenance.sub_header', ['subDataId' => ''])
@else @foreach ($maintenanceDescription as $key => $subData) @php $index = $key + 1; @endphp

Maintenance Action {{ $index }}

@include('backend.maintenance.sub_header', ['subDataId' => $subData['id']])
@endforeach @endif
Add Action
@endif @include('backend.maintenance.script')