issues/27: cabinet patient registration on test

This commit is contained in:
Valery Petrov
2026-05-30 01:35:49 +03:00
committed by Valeriy Petrov
parent a6d9526d73
commit 0460846dac
4 changed files with 139 additions and 1 deletions
+9
View File
@@ -1,4 +1,5 @@
const helper = require("./helper.js");
const testSdk = require("./testSdk.js");
function esia() {
if (document.location.search == '?esia=true') {
@@ -39,6 +40,14 @@ function esia() {
function loadSDK(controller) {
return new Promise(function(resolve, reject) {
if (testSdk.install()) {
console.log(controller + ' - test sdk (sova.local)');
window.webSDK = new WrSDK();
esia();
resolve(window.webSDK);
return;
}
var script = document.getElementById('sdk-infoclinica');
if (script == null) {