Fixes
This commit is contained in:
parent
c7ce9ac177
commit
79cb5ceb19
@ -62,10 +62,12 @@ public function plannedDetailFinishPost(Request $request, MaintenanceHistory $ma
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
foreach ($request->input('skippedHostsSummary') as $history_host_id => $summary) {
|
if ($request->has('skippedHostsSummary')) {
|
||||||
$maintenance_history->historyHosts->find($history_host_id)->update([
|
foreach ($request->input('skippedHostsSummary') as $history_host_id => $summary) {
|
||||||
'summary' => $summary,
|
$maintenance_history->historyHosts->find($history_host_id)->update([
|
||||||
]);
|
'summary' => $summary,
|
||||||
|
]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('skippedHostTasksSummary')) {
|
if ($request->has('skippedHostTasksSummary')) {
|
||||||
@ -145,7 +147,7 @@ public function start(Request $request, MaintenanceHistory $maintenance_history)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($createPeriode) {
|
if ($createPeriode) {
|
||||||
for ($i=0; $i < count($timePeriodes); $i++) {
|
for ($i = 0; $i < count($timePeriodes); $i++) {
|
||||||
unset($timePeriodes[$i]['every']);
|
unset($timePeriodes[$i]['every']);
|
||||||
unset($timePeriodes[$i]['month']);
|
unset($timePeriodes[$i]['month']);
|
||||||
unset($timePeriodes[$i]['dayofweek']);
|
unset($timePeriodes[$i]['dayofweek']);
|
||||||
|
Loading…
Reference in New Issue
Block a user