Updated
This commit is contained in:
@@ -82,6 +82,8 @@ function vs01_handle_post($association_slug, $vs_code, $access) {
|
||||
$result = vs01_post_to_orchestrator($envelope, $config);
|
||||
|
||||
if ($result === true) {
|
||||
// Store a local snapshot so scn01 can read VS context for Scenario prerequisite check.
|
||||
set_pconfig(local_channel(), 'vs01_snapshot', $association_slug, json_encode($fields));
|
||||
return '<div class="vs01-content">
|
||||
<div class="alert alert-success">
|
||||
Your record for ' . vs01_h($vs_code) . ' has been saved.
|
||||
|
||||
Reference in New Issue
Block a user