mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-01 17:02:53 +00:00
feat: add propcat and formfield for Therapie-Status
This includes simple migration form script for form edit.
This commit is contained in:
8
scripts/migrate_therapie-status.js
Normal file
8
scripts/migrate_therapie-status.js
Normal file
@ -0,0 +1,8 @@
|
||||
switch (getFieldValue('Beendigung')) {
|
||||
case 'A':
|
||||
setFieldValue('Status', 'stopped');
|
||||
break;
|
||||
case 'E':
|
||||
setFieldValue('Status', 'completed');
|
||||
break;
|
||||
}
|
Reference in New Issue
Block a user