FCLT#57350 Uitlenen van objecten bij een afdeling is weer mogelijk

svn path=/Website/branches/v2019.1/; revision=42036
This commit is contained in:
Jos Groot Lipman
2019-04-09 14:48:18 +00:00
parent 4036c15e52
commit cbffc4f5aa

View File

@@ -477,7 +477,8 @@ else
else if (!has_rsvdeel)
{
// Persoonselector of contractpersoonselector moet ingevuld worden.
if (alg_ruimte_type == "R" || alg_ruimte_type == "P")
// Bij type==R/A is hij nog niet uitgeleend
if (alg_ruimte_type == "R" || alg_ruimte_type == "A" || alg_ruimte_type == "P")
FCLTpersoonselector("lent_out_person", // requestor
"sglent_out_person",
{ perslidKey: (isLendOut? (alg_ruimte_type == "P"? algprs_key : null) : default_prs_key),
@@ -487,7 +488,7 @@ else
readonly: isLendOut,
onChange: "onChangePerson"
});
if (alg_ruimte_type == "R" || alg_ruimte_type == "C")
if (alg_ruimte_type == "R" || alg_ruimte_type == "A" || alg_ruimte_type == "C")
FCLTcontactpersoonselector("lent_out_cperson",
"sglent_out_cperson",
{ contactpersoonKey: (isLendOut? (alg_ruimte_type == "C"? algprs_key : null) : null),