UWVA#32075: Contracten ook aan personen kunnen koppelen.

svn path=/Website/trunk/; revision=25472
This commit is contained in:
Maykel Geerdink
2015-06-17 12:26:30 +00:00
parent 903b41242c
commit ef5e02318d
8 changed files with 101 additions and 41 deletions

View File

@@ -181,6 +181,17 @@ function FcltGetRefInfoCallback(json)
$("#fin_type").val(json.ref_type);
$("#lev_uit").val(json.lev_uit);
if (json.lev_uit_type == "P")
$("label[for='lev_uit']").text(L("lcl_cnt_name"));
else if (json.lev_uit_type == "A")
$("label[for='lev_uit']").text(L("lcl_cnt_afdeling"));
else // (json.lev_uit_type == "B")
if (json.srtcontract_type == cnt_srttype_rental)
$("label[for='lev_uit']").text(L("lcl_cnt_mutatie_huurder"));
else
$("label[for='lev_uit']").text(L("lcl_cnt_contractant"));
$("#lev_uit_key").val(json.lev_uit_key);
if (canReqRelDetails)
{