70 lines
2.2 KiB
Plaintext
70 lines
2.2 KiB
Plaintext
<%@language = "javascript" %>
|
|
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: mld_askshiftdate.asp
|
|
Description: Vraag om de einddatum van de melding met de einddatum van de opdracht mee te verschuiven.
|
|
1) Ok zonder checkbox aanvinken: Einddatum melding NIET mee verschuiven.
|
|
2) Ok met checkbox aanvinken: Einddatum melding met de einddatum van de opdracht mee verschuiven.
|
|
3) Cancel: Terug naar wijzigingsmode opdracht.
|
|
|
|
Parameters: mld_date_done
|
|
|
|
Context: Wordt alleen aangeroepen indien de einddatum van de opdracht na de einddatum van de melding valt.
|
|
Note:
|
|
|
|
*/ %>
|
|
<!-- #include file="../Shared/common.inc" -->
|
|
<!-- #include file="../Shared/iface.inc" -->
|
|
<!-- #include file="mld.inc" -->
|
|
|
|
<%
|
|
FCLTHeader.Requires({ plugins: ["jQuery"] });
|
|
|
|
var mld_date_done = getQParamDate("mld_einddatum");
|
|
|
|
// Authcheck niet nodig, je kunt niets wijzigen en er wordt geen DB-info getoond
|
|
%>
|
|
|
|
<html>
|
|
<head>
|
|
<% FCLTHeader.Generate(); %>
|
|
<script type="text/javascript">
|
|
function mld_submit(shiftdate)
|
|
{
|
|
FcltMgr.closeDetail( window,
|
|
{
|
|
shiftdate: shiftdate == 1,
|
|
});
|
|
}
|
|
|
|
function mld_cancel()
|
|
{
|
|
FcltMgr.closeDetail(window, { cancelsd: true } );
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body class="modal" id="mod_mldshiftdate">
|
|
<div id="reject">
|
|
<form id="askshiftdateform" name="askshiftdateform" method="post">
|
|
<%
|
|
BLOCK_START("mldShiftDate", L("lcl_end_date"));
|
|
// Checkbox
|
|
%> <tr><td colspan="2"><%=L("lcl_mld_shiftdate").format(toDateString(mld_date_done))%></td></tr>
|
|
<%
|
|
BLOCK_END();
|
|
|
|
var buttons = [ {title: L("lcl_update"), icon: "opslaan.png", action: "mld_submit(1)" },
|
|
{title: L("lcl_donot_update"), icon: "opslaan.png", action: "mld_submit(0)" },
|
|
{title: L("lcl_cancel"), icon: "undo.png", action: "mld_cancel()" } ];
|
|
CreateButtons(buttons);
|
|
%>
|
|
<br><br>
|
|
<% IFACE.FORM_END(); %>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|