( generalDataEmplLists, newContainerId, moduleName, previousTableTitle )
| 3046 | return _parentModuleSettings.moduleName; |
| 3047 | } |
| 3048 | export async function initialize( |
| 3049 | generalDataEmplLists, |
| 3050 | newContainerId, |
| 3051 | moduleName, |
| 3052 | previousTableTitle |
| 3053 | ) { |
| 3054 | _setParentModuleSettings(moduleName); |
| 3055 | _tableContainerId = "#" + newContainerId; |
| 3056 | _formIdName = moduleName + "_" + newContainerId + "-form"; |
| 3057 | _previousTableTitle = previousTableTitle; |
| 3058 | _addDOMElements(); |
| 3059 | _bindClickEvents(); |
| 3060 | _staticData = await servicesData.getGeneralData(_getModuleType()); |
| 3061 | if (generalDataEmplLists !== null) { |
| 3062 | _generalDataEmplLists = generalDataEmplLists; |
| 3063 | } else { |
| 3064 | _generalDataEmplLists = { |
| 3065 | listEmpls: _staticData.lists.listEmpls |
| 3066 | }; |
| 3067 | } |
| 3068 | return _staticData; |
| 3069 | } |
| 3070 | export async function renderFormInDialog(contentId, data, addTask = false) { |
| 3071 | const moduleName = ModuleNameEnum.SERVICES; |
| 3072 | const pkForJobService = { |
nothing calls this directly
no test coverage detected