import("system.vars"); import("system.result"); import("system.neon"); import("Offer_lib"); result.string(OfferUtils.isEditable(vars.get("$field.STATUS")) ? neon.COMPONENTSTATE_AUTO : neon.COMPONENTSTATE_DISABLED);