FSN#35170 suppressempties toegevoegd

svn path=/Website/trunk/; revision=28637
This commit is contained in:
Ruud Lipper
2016-03-25 13:50:32 +00:00
parent c0926ed3cf
commit ec45f5568a

View File

@@ -246,7 +246,7 @@ else // nieuw contract
});
var cntopm_ro = (cnt_info.isAbonnement ? !this_cnt.canVerlengen : cnt_info.isAbonnement); // zelfde voorwaarde als het veld Verlengen.
RWTEXTAREATR("cnt_cntopm", "fldtxt", L("lcl_remark"), cnt_info.opmerking, {html: "onChange='checkTextarea(this, false, 4000)'", readonly: cntopm_ro});
RWTEXTAREATR("cnt_cntopm", "fldtxt", L("lcl_remark"), cnt_info.opmerking, {html: "onChange='checkTextarea(this, false, 4000)'", readonly: cntopm_ro, suppressEmpty: true});
BLOCK_END();
BLOCK_START("cntData" , L("lcl_cnt_dates"));
@@ -378,7 +378,8 @@ else // nieuw contract
moreinfo: true,
emptyOption: "",
onChange: "onChangePerson",
readonly: cnt_info.isAbonnement || !this_cnt.canChangeAlg
readonly: cnt_info.isAbonnement || !this_cnt.canChangeAlg,
suppressEmpty: true
});
BLOCK_END();
@@ -412,7 +413,8 @@ else // nieuw contract
initKey: cnt_info.termijntermijn,
required: false,
emptyOption: "",
readonly: cnt_info.isAbonnement || !this_cnt.canChangeAlg
readonly: cnt_info.isAbonnement || !this_cnt.canChangeAlg,
suppressEmpty: true
});
// TODO: berekend jaarbedrag hiertussen??
RWFIELDTR("cnt_cntkstn", "fldshort float", L("lcl_cnt_contract_sum") + " " + L("lcl_valutasign"),