mirror of
https://github.com/Karaka-Management/oms-Surveys.git
synced 2026-02-07 11:28:40 +00:00
org -> unit change, some new functionality
This commit is contained in:
parent
8479290a99
commit
37aac002ae
|
|
@ -99,6 +99,16 @@
|
|||
"type": "TEXT",
|
||||
"null": false
|
||||
},
|
||||
"survey_template_l11n_footer": {
|
||||
"name": "survey_template_l11n_footer",
|
||||
"type": "TEXT",
|
||||
"null": false
|
||||
},
|
||||
"survey_template_l11n_footer_plain": {
|
||||
"name": "survey_template_l11n_footer_plain",
|
||||
"type": "TEXT",
|
||||
"null": false
|
||||
},
|
||||
"survey_template_l11n_template": {
|
||||
"name": "survey_template_l11n_template",
|
||||
"type": "INT",
|
||||
|
|
|
|||
|
|
@ -74,6 +74,22 @@ class SurveyTemplateL11n implements \JsonSerializable
|
|||
*/
|
||||
public string $descriptionPlain = '';
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $footer = '';
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $footerPlain = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ final class SurveyTemplateL11nMapper extends DataMapperFactory
|
|||
'survey_template_l11n_title' => ['name' => 'survey_template_l11n_title', 'type' => 'string', 'internal' => 'title', 'autocomplete' => true],
|
||||
'survey_template_l11n_description' => ['name' => 'survey_template_l11n_description', 'type' => 'string', 'internal' => 'description'],
|
||||
'survey_template_l11n_description_plain' => ['name' => 'survey_template_l11n_description_plain', 'type' => 'string', 'internal' => 'descriptionPlain'],
|
||||
'survey_template_l11n_footer' => ['name' => 'survey_template_l11n_footer', 'type' => 'string', 'internal' => 'footer'],
|
||||
'survey_template_l11n_footer_plain' => ['name' => 'survey_template_l11n_footer_plain', 'type' => 'string', 'internal' => 'footerPlain'],
|
||||
'survey_template_l11n_template' => ['name' => 'survey_template_l11n_template', 'type' => 'int', 'internal' => 'template'],
|
||||
'survey_template_l11n_language' => ['name' => 'survey_template_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
};
|
||||
|
||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||
$this->app->orgId = 1;
|
||||
$this->app->unitId = 1;
|
||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||
$this->app->appSettings = new CoreSettings();
|
||||
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user