Updated
This commit is contained in:
@@ -58,6 +58,11 @@ function dsc01_handle_post($association_slug, $access) {
|
||||
$result = dsc01_post_to_orchestrator($envelope, $dsc_config);
|
||||
|
||||
if ($result === true) {
|
||||
// Store a local snapshot so scn01 can read DSC context for Scenario prerequisite check.
|
||||
set_pconfig(local_channel(), 'dsc01_snapshot', $association_slug, json_encode([
|
||||
'dsc_codes' => $codes,
|
||||
'narrative' => $narrative,
|
||||
]));
|
||||
$assoc_name = dsc01_h($assoc['name'] ?? $association_slug);
|
||||
return '<div class="dsc01-content">
|
||||
<div class="alert alert-success">
|
||||
|
||||
Reference in New Issue
Block a user