VLKC#51238 Bestelaanvraag omzetten naar bestelopdracht op show scherm
svn path=/Website/trunk/; revision=38658
This commit is contained in:
@@ -155,6 +155,8 @@ var buttons = [];
|
||||
|
||||
if (this_bes.canChange)
|
||||
buttons.push({title: L("lcl_change"), icon: "wijzigen.png", action: "bes_change()"});
|
||||
if (this_bes.canSubmit)
|
||||
buttons.push({title: L("lcl_bes_submit"), icon: "fa-check", action: "bes_submit()"});
|
||||
|
||||
if (this_bes.canAccept ||
|
||||
this_bes.canAccept2 ||
|
||||
@@ -279,6 +281,18 @@ function bes_accept()
|
||||
});
|
||||
}
|
||||
|
||||
function bes_submit()
|
||||
{
|
||||
FcltMgr.confirm(L("lcl_bes_dosubmit").format("<%=S("bes_bestelling_prefix") + bes_key%>"), function() {
|
||||
$.post("bes_submit.asp", {
|
||||
urole: "<%=urole%>",
|
||||
bes_key: <%=bes_key%>
|
||||
},
|
||||
FcltCallbackRefresh,
|
||||
"json");
|
||||
});
|
||||
}
|
||||
|
||||
function bes_approve()
|
||||
{
|
||||
FcltMgr.confirm(L("lcl_bes_approve").format("<%=S("bes_bestelling_prefix") + bes_key%>"), function() {
|
||||
|
||||
Reference in New Issue
Block a user