FSN#35141 notes altid kunnen maken igv behandelmode 2
svn path=/Website/trunk/; revision=29132
This commit is contained in:
@@ -47,7 +47,7 @@ function note_save(mld_key, note, params)
|
||||
if (!eigenMelding)
|
||||
{ // FOBO
|
||||
zichtbaarFE = (mld_info.fenotes & 1); // Default waarden
|
||||
if (mld_info.fenotes & 2)
|
||||
if (mld_info.fenotes & 2 || (S("mld_note_mode") == 2 && mld_info.fenotes == 0))
|
||||
{ // Afhankelijk van checkbox die door FOBO kan worden ingevuld.
|
||||
zichtbaarFE = params.zichtFE;
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ var afgehandeld = (mld_info.mld_status == 1 || mld_info.mld_status == 5 || mld_i
|
||||
}
|
||||
|
||||
var refresher = '<img class="details blockrefresh" id="refresh" src="../Pictures/page_refresh.png" title="' + L("lcl_refresh") + '" onclick="FcltMgr.reload()">'
|
||||
BLOCK_START("mldHistorie", tracking?L("lcl_status_details"):L("lcl_mld_frame_notes") + refresher);
|
||||
BLOCK_START("mldHistorie", (tracking?L("lcl_status_details"):L("lcl_mld_frame_notes")) + refresher);
|
||||
|
||||
sql = "SELECT n.mld_melding_note_aanmaak"
|
||||
+ ", n.mld_melding_note_key"
|
||||
@@ -255,7 +255,7 @@ var afgehandeld = (mld_info.mld_status == 1 || mld_info.mld_status == 5 || mld_i
|
||||
|
||||
// == Verder met de nieuwe/bestaande notitie
|
||||
var note_oms = "";
|
||||
var note_zichtbaar = (mld_info.fenotes & 1);
|
||||
var note_zichtbaar = (mld_info.fenotes & 1 );
|
||||
if (note_key > -1)
|
||||
{ // Bestaande note: gegevens uit record gebruiken.
|
||||
sql = "SELECT mld_melding_note_omschrijving"
|
||||
@@ -280,10 +280,10 @@ var afgehandeld = (mld_info.mld_status == 1 || mld_info.mld_status == 5 || mld_i
|
||||
<form name=u2 method=post action="mld_edit_note_save.asp?mld_key=<%=mld_key%>&urole=<%=urole%>¬e_key=<%=note_key%>">
|
||||
<textarea id='note' name='note' class='fldtxt' rows='4' cols='80' maxlength='4000'><%=safe.textarea(note_oms)%></textarea>
|
||||
<%
|
||||
if (mld_info.fenotes & 2)
|
||||
if (mld_info.fenotes & 2 || mld_info.fenotes == 0)
|
||||
{
|
||||
if (note_key == -1 && !eigenMelding)
|
||||
RWCHECKBOXTR("zichtbaarFE", "fldcheck", "<nobr>" + L("lcl_mld_zichtbaar_FE") + "</nobr>", note_zichtbaar, { boxfirst: true } );
|
||||
RWCHECKBOXTR("zichtbaarFE", "fldcheck", "<nobr>" + L("lcl_mld_zichtbaar_FE") + "</nobr>", note_zichtbaar, { boxfirst: true } );
|
||||
else
|
||||
Response.Write("<tr><td></td><td>{0}: {1}</td></tr>".format(L("lcl_mld_zichtbaar_FE"), note_zichtbaar?L("lcl_Yes"):L("lcl_No")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user