Skip to content
Snippets Groups Projects
Commit 1bc58693 authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

Bugfixes Offeritem_entity

parent ea35e43a
No related branches found
No related tags found
No related merge requests found
...@@ -2,5 +2,5 @@ import("system.vars"); ...@@ -2,5 +2,5 @@ import("system.vars");
import("system.result"); import("system.result");
import("system.neon"); import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && (vars.get("$this.value") == null || vars.get("$this.value") == "")) if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string("0"); result.string("0");
\ No newline at end of file
...@@ -2,9 +2,7 @@ import("system.vars"); ...@@ -2,9 +2,7 @@ import("system.vars");
import("system.result"); import("system.result");
import("system.neon"); import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == "") if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
{ {
result.string("1"); result.string("1");
} }
else \ No newline at end of file
result.string(vars.get("$this.value"));
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment