FSN#29106: AiAi bij opvragen persoon bij factuurinvoer.

svn path=/Website/trunk/; revision=21053
This commit is contained in:
Maykel Geerdink
2014-03-19 10:07:20 +00:00
parent d4f6b3f9a8
commit c25a49ec23
2 changed files with 49 additions and 38 deletions

View File

@@ -172,10 +172,12 @@ function FcltGetRefInfoCallback(json)
{
$('#lev_uit').click(function()
{
if (json.lev_uit_type == "B")
if (json.lev_uit_type == "B") // Bedrijf
refurl = "appl/prs/prs_bedrijf.asp?bedrijf_key=" + json.lev_uit_key;
else
else if (json.lev_uit_type == "P") // Persoon
refurl = "appl/prs/prs_perslid.asp?prs_key=" + json.lev_uit_key;
else // (json.lev_uit_type == "A") // Afdeling
refurl = "appl/prs/prs_afdeling.asp?key=" + json.lev_uit_key;
FcltMgr.openDetail(refurl);
}
);