add_linked_records_from_notices_ids($notices); break; case 'checked': $notices = $notice; $scan_request->add_linked_records_from_notices_ids($notices); break; } if ($id || $scan_request->has_scannable_linked_record()) { print $scan_request->get_form(); } else { print ''; } break; case 'save': $scan_request->get_values_from_form(); $scan_request->save(); print $scan_request->get_display(); break; case 'cancel': if ($_SESSION['id_empr_session'] && $scan_request->get_status() && $scan_request->get_status()->is_cancelable()) { $scan_request->delete(); print '