Skip to content
Snippets Groups Projects
Commit 5e9379ee authored by Pascal Neub's avatar Pascal Neub
Browse files

[Projekt: xRM-Sales][TicketNr.: 1079936][[Angebot] Button "Zu Angebot...

[Projekt: xRM-Sales][TicketNr.: 1079936][[Angebot] Button "Zu Angebot hinzufügen" inaktiv setzen, wenn Angebot nicht mehr bearbeitbar]
parent 0e4b4da4
No related branches found
No related tags found
No related merge requests found
...@@ -3,16 +3,12 @@ import("system.result"); ...@@ -3,16 +3,12 @@ import("system.result");
import("Offer_lib"); import("Offer_lib");
import("system.vars"); import("system.vars");
if(vars.get("$param.ShownInOfferMainView_param")) if(vars.get("$param.ShownInOfferMainView_param"))
{ {
result.string(
var res; OfferUtils.isEditable(JSON.parse(
res = OfferUtils.isEditable(vars.get("$param.OrderOfferInformations_param")["OfferStatus_param"])? vars.get("$param.OrderOfferInformations_param")
neon.COMPONENTSTATE_EDITABLE: neon.COMPONENTSTATE_DISABLED; )["OfferStatus_param"]) ?
neon.COMPONENTSTATE_EDITABLE: neon.COMPONENTSTATE_DISABLED
);
result.string(res);
} }
\ 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