Fixes
This commit is contained in:
parent
c7ce9ac177
commit
79cb5ceb19
@ -62,11 +62,13 @@ public function plannedDetailFinishPost(Request $request, MaintenanceHistory $ma
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
if ($request->has('skippedHostsSummary')) {
|
||||||
foreach ($request->input('skippedHostsSummary') as $history_host_id => $summary) {
|
foreach ($request->input('skippedHostsSummary') as $history_host_id => $summary) {
|
||||||
$maintenance_history->historyHosts->find($history_host_id)->update([
|
$maintenance_history->historyHosts->find($history_host_id)->update([
|
||||||
'summary' => $summary,
|
'summary' => $summary,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($request->has('skippedHostTasksSummary')) {
|
if ($request->has('skippedHostTasksSummary')) {
|
||||||
foreach ($maintenance_history->historyHosts as $history_host) {
|
foreach ($maintenance_history->historyHosts as $history_host) {
|
||||||
|
Loading…
Reference in New Issue
Block a user