FSN#36512 bij mantelcontract ook de beschrijving tonen

svn path=/Website/trunk/; revision=29419
This commit is contained in:
Ruud Lipper
2016-05-17 14:23:51 +00:00
parent 227ae5abf5
commit 1d122a311a
2 changed files with 10 additions and 2 deletions

View File

@@ -97,7 +97,15 @@ var subject = L("lcl_cnt_contract") + " " + cnt_info.nummer_intern+ (cnt_info.ve
ROFIELD ("fldcntnr", L("lcl_cnt_contractnr"), cnt_info.nummer, {suppressEmpty: true});
if (cnt_info.mantel_key != null)
{
ROFIELD ("fldcontract", L("lcl_cnt_mantel"), cnt_info.mantelcontractnummer, { moreinfo: "./contract.asp?cnt_key="+cnt_info.mantel_key });
var msql = "SELECT cnt_contract_omschrijving "
+ " FROM cnt_contract "
+ " WHERE cnt_contract_key =" + cnt_info.mantel_key;
var oRs = Oracle.Execute( msql );
if(!oRs.eof){
cnt_mantel_oms = oRs("cnt_contract_omschrijving").Value;
}
oRs.close();
ROFIELD ("fldcontract", L("lcl_cnt_mantel"), cnt_info.mantelcontractnummer + " - " + cnt_mantel_oms, { moreinfo: "./contract.asp?cnt_key="+cnt_info.mantel_key });
}
ROFIELD ("fldtxt", L("lcl_cnt_document"), cnt_info.document, {suppressEmpty: true, multi: true});
ROFIELD("fldtxt", L("lcl_remark"), cnt_info.opmerking, {suppressEmpty: true, multi: true});

View File

@@ -81,10 +81,10 @@ label.ed {font-weight: lighter; color: #d14b1c;}
}
.moreinfo input {
font-size: 1em !important;
font-weight: bold;
color: #000 !important;
}
.missing { background-color: #FFD0D0!important; }
.attention {color: #E63600 !important;}