ARAI#40607 ARAI - Mobile: opdracht zelf maken (via melding), en ook zel

svn path=/Website/trunk/; revision=38263
This commit is contained in:
Erik Groener
2018-06-20 09:05:09 +00:00
parent f19164052c
commit d61be809ef

View File

@@ -20,6 +20,7 @@ var LOCKED_USER_OK = { "xmlnode": "opdracht", "key": opdr_key };
<!-- #include file="../Shared/contactpersoonselector.inc" -->
<!-- #include file="../Shared/persoonselector.inc" -->
<!-- #include file="../Shared/selector.inc" -->
<!-- #include file="../shared/json2.js" -->
<%
FCLTHeader.Requires({ js: [rooturl+"/appl/pda/modernizr-3.3.0.custom.min.js"] });
@@ -86,6 +87,7 @@ else
+ " AND m.mld_melding_key = " + mld_key;
var oRs = Oracle.Execute(sql);
var this_opdr = mld.func_enabled_mld(oRs("mld_ins_discipline_key").value, "D"); // wat mag ik zoal op een melding ZIET ER VERDACHT UIT!
this_opdr.canVeldChange = true;
oRs.Close();
var mld_melding = mld.mld_melding_info(mld_key);
@@ -484,6 +486,7 @@ if (mld_opdr.uitv_type == "B")
%> <input type="hidden" name="orderdate" id="orderdate" value="<%=vOrderdate.getTime()%>" /> <%
BLOCK_END();
ROFIELD("fld", L("lcl_place"), lcode, {suppressEmpty: true});
if (pbtype == "BI")
{ // (INTERN) BEHANDELAAR
FCLTpersoonselector("behandelaar",
@@ -494,12 +497,11 @@ if (mld_opdr.uitv_type == "B")
urlAdd: [{urlParam: "pbtype", field: "pbtype", init: pbtype},
{urlParam: "uitv_key", field: "uitvoerende", init: mld_opdr.uitvoerende_key}],
disc_key: mld_melding.disc,
readonly: (!this_opdr.canVeldChange),
readonly: (opdr_key > 0 && !this_opdr.canVeldChange),
suppressEmpty: true
});
}
ROFIELD("fld", L("lcl_place"), lcode, {suppressEmpty: true});
// Ik kan geen datum kiezen op de iPhone; calender sluit niet.
FCLTcalendar("date_done",
{ datum: mld_opdr.mld_opdr_einddatum,