LOGC#57050: Melder die je opgeeft bij vervolgmelding gaat niet goed.
svn path=/Website/branches/v2019.1/; revision=41772
This commit is contained in:
@@ -16,10 +16,18 @@
|
||||
<%
|
||||
FCLTHeader.Requires({ plugins: ["suggest", "jQuery"] });
|
||||
var urole = getQParamSafe("urole");
|
||||
var fronto = urole == "fo";
|
||||
var backo = urole == "bo";
|
||||
var minfo = urole == "mi";
|
||||
var frontend = (!fronto & !backo & !minfo);
|
||||
|
||||
var autfunction = '';
|
||||
if (backo)
|
||||
autfunction = 'WEB_MLDBOF';
|
||||
if (fronto)
|
||||
autfunction = 'WEB_MLDFOF';
|
||||
else if (minfo)
|
||||
autfunction = 'WEB_MLDBAC';
|
||||
else if (backo)
|
||||
autfunction = 'WEB_MLDBOF'; // twijfel - PF
|
||||
else
|
||||
autfunction = 'WEB_MLDUSE';
|
||||
|
||||
@@ -131,6 +139,20 @@ var multi = ingesloten.length > 1;
|
||||
<%
|
||||
BLOCK_START("mldContinue", L("lcl_mld_continueblok") + (multi ? "(" + ingesloten.length + " " + L("lcl_complains") + ")"
|
||||
: (mld_info.prefix||"") + ingesloten[0]));
|
||||
// Melder
|
||||
if (S("mld_continue_edit_issuer"))
|
||||
{
|
||||
FCLTpersoonselector("person",
|
||||
"sgPerson",
|
||||
{ perslidKey: (multi || frontend) ? user_key : mld_info.melder_key,
|
||||
label: L("lcl_mld_name"),
|
||||
fieldNameKey: "person",
|
||||
moreinfo: backo,
|
||||
readonly: frontend,
|
||||
autlevel: this_mld.authparams(autfunction) && this_mld.authparams(autfunction).PRSwritelevel,
|
||||
required: true
|
||||
});
|
||||
}
|
||||
// Vakgroep
|
||||
FCLTdisciplineselector("disc",
|
||||
"sgDisc",
|
||||
@@ -156,19 +178,6 @@ var multi = ingesloten.length > 1;
|
||||
onChange: "onChangeStdMelding",
|
||||
required: true
|
||||
} );
|
||||
// Melder
|
||||
if (S("mld_continue_edit_issuer"))
|
||||
{
|
||||
FCLTpersoonselector("person",
|
||||
"sgPerson",
|
||||
{ perslidKey: multi? user_key : mld_info.melder_key,
|
||||
label: L("lcl_mld_name"),
|
||||
fieldNameKey: "person",
|
||||
moreinfo: backo,
|
||||
autlevel: this_mld.authparams(autfunction) && this_mld.authparams(autfunction).PRSwritelevel,
|
||||
required: true
|
||||
});
|
||||
}
|
||||
// Opmerking die wordt opgeslagen in de oorspronkelijke opmerking
|
||||
// Bij multi worden de opmerking, onderwerp en omschrijving (vervolg) aangevuld met wat je invuld.
|
||||
// Bij 1 melding kun je de huidige opmerking en omschrijving (vervolg) die je in beeld krijgt aanvullen.
|
||||
|
||||
Reference in New Issue
Block a user