BLCC#39734: Werkplek gegevens bij mijn gegevens toont NULL.
svn path=/Website/branches/v2016.3/; revision=33123
This commit is contained in:
@@ -1708,6 +1708,7 @@ function Werkplek(wpKey)
|
||||
+ " , w.prs_werkplek_volgnr"
|
||||
+ " , w.alg_ruimte_aanduiding"
|
||||
+ " , w.prs_werkplek_aanduiding"
|
||||
+ " , w.alg_locatie_code"
|
||||
+ " , w.prs_werkplek_virtueel"
|
||||
+ " , w.prs_werkplek_type"
|
||||
+ " , pw.prs_perslidwerkplek_bezetting"
|
||||
@@ -1733,6 +1734,7 @@ function Werkplek(wpKey)
|
||||
this._prs_werkplek_volgnr = oRs("prs_werkplek_volgnr").value;
|
||||
this._alg_ruimte_aanduiding = oRs("alg_ruimte_aanduiding").value;
|
||||
this._prs_werkplek_aanduiding = oRs("prs_werkplek_aanduiding").value;
|
||||
this._alg_locatie_code = oRs("alg_locatie_code").Value;
|
||||
this._bezetting = oRs("prs_perslidwerkplek_bezetting").value;
|
||||
this._alg_gebouw_bezoekbaar = oRs("alg_gebouw_bez").value || 0;
|
||||
}
|
||||
@@ -1849,8 +1851,21 @@ Werkplek.prototype.prs_werkplek_volgnr = function()
|
||||
|
||||
Werkplek.prototype.prs_werkplek_aanduiding = function()
|
||||
{
|
||||
return (S("prs_werkplek_implicit")==1?this._alg_ruimte_aanduiding:this._prs_werkplek_aanduiding)
|
||||
+ (this._type==1?L("lcl_flexwp_suffix"):"");
|
||||
var wp_aanduiding;
|
||||
if (S("prs_werkplek_implicit") == 1)
|
||||
{
|
||||
if (this._alg_ruimte_aanduiding == null)
|
||||
wp_aanduiding = this._alg_locatie_code; // Dan maar locatiecode tonen;
|
||||
else
|
||||
wp_aanduiding = this._alg_ruimte_aanduiding
|
||||
}
|
||||
else
|
||||
wp_aanduiding = this._prs_werkplek_aanduiding;
|
||||
|
||||
if (this._type == 1)
|
||||
wp_aanduiding += L("lcl_flexwp_suffix");
|
||||
|
||||
return wp_aanduiding;
|
||||
}
|
||||
|
||||
Werkplek.prototype.alg_gebouw_bezoekbaar = function()
|
||||
|
||||
Reference in New Issue
Block a user