HSLE#36387 Mogelijkheid tot een vervolgmelding vanuit een afgemelde reservering

svn path=/Website/trunk/; revision=30725
This commit is contained in:
Erik Groener
2016-09-15 10:38:55 +00:00
parent 3725b1e0f9
commit deae99883e

View File

@@ -227,6 +227,17 @@ FCLTHeader.Requires({plugins: ["jQuery"]})
}
}
function res_afkeur()
{
if (confirm(L("lcl_res_catafkeuren").format("<%=safe.jsstring(rrr.resnrtxt)%>")))
{ // afkeuren reservering, en maak melding aan.
url = "appl/mld/mld_melding.asp?urole=fe"
+ "&rsv_ruimte_key=<%=rsv_ruimte_key%>"
+ "&mld_defaultstdmelding=<%=S('res_cat_reject_stdmld')%>";
FcltMgr.openDetail(url);
}
}
function res_undelete()
{
if (FcltMgr.startEdit(window))
@@ -346,8 +357,10 @@ FCLTHeader.Requires({plugins: ["jQuery"]})
buttons.push({action: "resNoShow()", title: L("lcl_res_no_show"), icon: "noshow.png"});
if (this_res.canGoedkeur)
buttons.push( {title: L("lcl_goedkeur"), icon: "accept.png", action: "res_goedkeur()"});
{
buttons.push( {title: L("lcl_res_catafkeur"), icon: "delete.png", action: "res_afkeur()"});
buttons.push( {title: L("lcl_res_catgoedkeur"), icon: "accept.png", action: "res_goedkeur()"});
}
if (this_res.canDelete)
buttons.push( {title: L("lcl_delete"), icon: "delete.png", action: "res_delete()"});