Merge 2016.2 Gold B changes
svn path=/Website/trunk/; revision=31581
This commit is contained in:
@@ -673,7 +673,7 @@ else // nieuwe bestelling. Defaults bepalen
|
||||
+ ", l.mld_adres_naam, l.mld_adres_upper"
|
||||
+ (aflever_readonly? " FROM mld_adres l" : " FROM mld_v_afleveradres l")
|
||||
+ " WHERE 1=1"
|
||||
+ getFiltClauseLocatie("EXP").where;
|
||||
+ getFiltClauseLocatie("EXP").where
|
||||
+ (ALGreadlevel >= 0
|
||||
? " AND l.alg_locatie_key IN (SELECT alg_locatie_key FROM fac_v_my_locations "
|
||||
+ " WHERE prs_perslid_key = " + user_key
|
||||
|
||||
@@ -311,8 +311,10 @@ if (device.test(device.isTouch)) { %>
|
||||
div.scrollTop(Math.min(top, bottom - div.height() + 5));
|
||||
});
|
||||
|
||||
$("#menutabs").filterMenuByText("#menufilter");
|
||||
$("#menufilter").focus();
|
||||
<% if (!device.test(device.isTouch)) { %>
|
||||
$("#menutabs").filterMenuByText("#menufilter");
|
||||
$("#menufilter").focus();
|
||||
<% } %>
|
||||
}); // jQuery.ready
|
||||
|
||||
<% if (Session("logging")&2) { %>
|
||||
|
||||
@@ -120,7 +120,8 @@ BLOCK_START("facAlg", L("lcl_fac_adres_nawblock"));
|
||||
startlevel: 2,
|
||||
eindlevel: 2,
|
||||
readonly: false,
|
||||
whenEmpty: L("lcl_search_generic")
|
||||
whenEmpty: L("lcl_search_generic"),
|
||||
filtercode: "FAC"
|
||||
});
|
||||
|
||||
RWFIELDTR("mld_adr_nm", "fld", L("lcl_prs_address_naam"), mld_adr_nm, {maxlength: 60, required: true});
|
||||
|
||||
@@ -625,6 +625,7 @@ FCLTHeader.Requires({plugins: ["jQuery", "kenmerk"],
|
||||
var opstel_selected = -1;
|
||||
var opstel_img_count = 0;
|
||||
var min_duur = data.min_duur;
|
||||
var ruimte_opstel_RO = $("#ruimte_opstel_ro").length; // Is het veld ruimte_opstel_ro aanwezig, dan is ruimte-opstelling readonly.
|
||||
// sel_room is globaal!
|
||||
sel_room.RoomConfigs = data.RoomConfigs;
|
||||
sel_room.res_ruimte_key = data.res_ruimte_key;
|
||||
@@ -656,34 +657,36 @@ FCLTHeader.Requires({plugins: ["jQuery", "kenmerk"],
|
||||
else
|
||||
{ // Werk opstellingen listbox bij
|
||||
var ruimte_opstel = document.u2.ruimte_opstel;
|
||||
|
||||
for( i=ruimte_opstel.options.length-1; i>=0; i-- )
|
||||
ruimte_opstel.options.remove(i);
|
||||
|
||||
if (sel_room.default_opstel_key == -1 && sel_room.RoomConfigs.length > 1)
|
||||
if (!ruimte_opstel_RO)
|
||||
{
|
||||
oOption = document.createElement("OPTION");
|
||||
oOption.text = "";
|
||||
oOption.value = -1;
|
||||
ruimte_opstel.options.add(oOption);
|
||||
}
|
||||
for( i=ruimte_opstel.options.length-1; i>=0; i-- )
|
||||
ruimte_opstel.options.remove(i);
|
||||
|
||||
for( i=0; i<sel_room.RoomConfigs.length; i++ )
|
||||
{
|
||||
if (!sel_room.RoomConfigs[i].verwijderd)
|
||||
if (sel_room.default_opstel_key == -1 && sel_room.RoomConfigs.length > 1)
|
||||
{
|
||||
oOption = document.createElement("OPTION");
|
||||
oOption.text = sel_room.RoomConfigs[i].opstelling_omschrijving + " (" + sel_room.RoomConfigs[i].bezoekers + " " + L("lcl_res_pers") + ")";
|
||||
oOption.value = sel_room.RoomConfigs[i].ruimte_opstel_key;
|
||||
oOption.rcIndex = i; // Bewaar deze index bij de optie als referentie naar sel_room.RoomConfigs[i] voor het ophalen van opstelling-image in de onChange
|
||||
if (sel_room.RoomConfigs[i].ruimte_opstel_key == (sel_room.org_opstel_key>0?sel_room.org_opstel_key:sel_room.default_opstel_key))
|
||||
{
|
||||
oOption.selected = true;
|
||||
opstel_selected = i;
|
||||
}
|
||||
if (sel_room.RoomConfigs[i].imagePath != "")
|
||||
opstel_img_count++;
|
||||
ruimte_opstel.options.add(oOption);
|
||||
oOption = document.createElement("OPTION");
|
||||
oOption.text = "";
|
||||
oOption.value = -1;
|
||||
ruimte_opstel.options.add(oOption);
|
||||
}
|
||||
|
||||
for( i=0; i<sel_room.RoomConfigs.length; i++ )
|
||||
{
|
||||
if (!sel_room.RoomConfigs[i].verwijderd)
|
||||
{
|
||||
oOption = document.createElement("OPTION");
|
||||
oOption.text = sel_room.RoomConfigs[i].opstelling_omschrijving + " (" + sel_room.RoomConfigs[i].bezoekers + " " + L("lcl_res_pers") + ")";
|
||||
oOption.value = sel_room.RoomConfigs[i].ruimte_opstel_key;
|
||||
oOption.rcIndex = i; // Bewaar deze index bij de optie als referentie naar sel_room.RoomConfigs[i] voor het ophalen van opstelling-image in de onChange
|
||||
if (sel_room.RoomConfigs[i].ruimte_opstel_key == (sel_room.org_opstel_key>0?sel_room.org_opstel_key:sel_room.default_opstel_key))
|
||||
{
|
||||
oOption.selected = true;
|
||||
opstel_selected = i;
|
||||
}
|
||||
if (sel_room.RoomConfigs[i].imagePath != "")
|
||||
opstel_img_count++;
|
||||
ruimte_opstel.options.add(oOption);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -716,7 +719,8 @@ FCLTHeader.Requires({plugins: ["jQuery", "kenmerk"],
|
||||
else
|
||||
$('#resphoto').hide();
|
||||
|
||||
RuimteOpstelChanged();
|
||||
if (!ruimte_opstel_RO)
|
||||
RuimteOpstelChanged();
|
||||
}
|
||||
|
||||
if (data.ruimte_omschrijving)
|
||||
|
||||
@@ -88,7 +88,7 @@ if (autlevel > -1) // Efficiente versie van FAC_V_MY_PR**S_AFDELINGEN_WRITE
|
||||
+ filtClause.from
|
||||
+ " WHERE (UPPER(" + S("alg_loc_string") + ") LIKE " + safe.quoted_sql_wild(chars + "%")
|
||||
+ " OR UPPER(alg_locatie_code) LIKE " + safe.quoted_sql_wild(chars + "%") + ")"
|
||||
+ existBuilding
|
||||
//+ existBuilding
|
||||
+ filtClause.where
|
||||
+ " ORDER BY 2"
|
||||
WriteResult(sql, bAll, "naam", "alg_locatie_key", "code", "postcode", "extra");
|
||||
|
||||
@@ -107,23 +107,25 @@ function getFiltClauseLocatie(pfiltcode, params)
|
||||
+ "(SELECT ''"
|
||||
+ " FROM alg_srtgebouw sg, alg_v_aanweziggebouw gg"
|
||||
+ " WHERE sg.alg_srtgebouw_passief IS NULL"
|
||||
+ " AND (gg.alg_gebouw_vervaldatum IS NULL OR gg.alg_gebouw_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND (gg.alg_gebouw_vervaldatum IS NULL OR gg.alg_gebouw_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND sg.alg_srtgebouw_key(+) = gg.alg_srtgebouw_key"
|
||||
+ " AND gg.alg_locatie_key = l.alg_locatie_key"
|
||||
+ " AND gg.alg_locatie_key = DECODE(l.alg_locatie_key, NULL, gg.alg_locatie_key, l.alg_locatie_key)"
|
||||
+ " UNION ALL"
|
||||
+ " SELECT ''"
|
||||
+ " FROM alg_v_aanwezigterreinsector t"
|
||||
+ " WHERE t.alg_locatie_key = l.alg_locatie_key)";
|
||||
+ " WHERE t.alg_locatie_key = DECODE(l.alg_locatie_key, NULL, t.alg_locatie_key, l.alg_locatie_key)"
|
||||
+ ")";
|
||||
|
||||
var lfiltClauseEXP = " AND EXISTS"
|
||||
+ " (SELECT ''"
|
||||
+ " FROM alg_v_aanweziggebouw gg"
|
||||
+ " WHERE gg.alg_locatie_key = l.alg_locatie_key"
|
||||
+ " WHERE gg.alg_locatie_key = DECODE(l.alg_locatie_key, NULL, gg.alg_locatie_key, l.alg_locatie_key)"
|
||||
+ " AND (gg.alg_gebouw_vervaldatum IS NULL OR gg.alg_gebouw_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " UNION ALL"
|
||||
+ " SELECT ''"
|
||||
+ " FROM alg_v_aanwezigterreinsector t"
|
||||
+ " WHERE t.alg_locatie_key = l.alg_locatie_key)";
|
||||
+ " WHERE t.alg_locatie_key = DECODE(l.alg_locatie_key, NULL, t.alg_locatie_key, l.alg_locatie_key)"
|
||||
+ " )";
|
||||
|
||||
if (pfiltcode && pfiltcode != "")
|
||||
{
|
||||
@@ -216,7 +218,7 @@ function getFiltClauseLocatie(pfiltcode, params)
|
||||
break;
|
||||
|
||||
case "INCVR": // include virtual rooms, default these are NOT included
|
||||
lfiltClause.where = lfiltClauseFAC;
|
||||
lfiltClause.where = lfiltClauseEXP;
|
||||
break;
|
||||
|
||||
case "EXP": // vervallen gebouwen niet tonen
|
||||
@@ -233,6 +235,9 @@ function getFiltClauseGebouw(pfiltcode, params)
|
||||
// Facilitair relevant hebben we vaker nodig
|
||||
var lfiltClauseFAC = " AND sg.alg_srtgebouw_passief IS NULL"
|
||||
+ " AND (g.alg_gebouw_vervaldatum IS NULL OR g.alg_gebouw_vervaldatum > TRUNC(SYSDATE))";
|
||||
|
||||
var lfiltClauseEXP = " AND (g.alg_gebouw_vervaldatum IS NULL OR g.alg_gebouw_vervaldatum > TRUNC(SYSDATE))";
|
||||
|
||||
if (pfiltcode && pfiltcode != "")
|
||||
{
|
||||
switch(pfiltcode)
|
||||
@@ -244,9 +249,9 @@ function getFiltClauseGebouw(pfiltcode, params)
|
||||
case "FAC": lfiltClause.where = lfiltClauseFAC;
|
||||
break;
|
||||
case "INCVR": // include virtual rooms, default these are NOT included
|
||||
lfiltClause.where = lfiltClauseFAC;
|
||||
lfiltClause.where = lfiltClauseEXP;
|
||||
break;
|
||||
case "EXP": lfiltClause.where = " AND (g.alg_gebouw_vervaldatum IS NULL OR g.alg_gebouw_vervaldatum > TRUNC(SYSDATE))";
|
||||
case "EXP": lfiltClause.where = lfiltClauseEXP;
|
||||
break;
|
||||
case "RESB": // Bezorgplaats voor voorzieningen, d.i. gebouwen met ruimten excl. reserveerbare ruimten
|
||||
var loc_scope_act_filter = get_loc_scope_act_filter(params, 3)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<xsl:template name="customer_code">DSM</xsl:template>
|
||||
<xsl:template name="customer_email">servicedeskdsm@aa-fm.com</xsl:template>
|
||||
<xsl:template name="invoice_email">invoices.dsm@aa-fm.com</xsl:template>
|
||||
<xsl:template name="servicedesk_telefoon">60000</xsl:template>
|
||||
<xsl:template name="servicedesk_telefoon">040-2332820</xsl:template>
|
||||
<xsl:template name="opdracht_qr_bookmark"></xsl:template>
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -170,7 +170,13 @@
|
||||
<xsl:call-template name="construct_instructionlines">
|
||||
<xsl:with-param name="p_LineNumber" select="position()"/>
|
||||
<xsl:with-param name="p_Quantity" select="aantal"/>
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity" select="eenheidcode"/>
|
||||
<!-- MARX#38434: default met PCE doorsturen, indien AX leeg wordt aangeleverd. -->
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity">
|
||||
<xsl:choose>
|
||||
<xsl:when test="eenheidcode != ''"><xsl:value-of select="eenheidcode"/></xsl:when>
|
||||
<xsl:otherwise>PCE</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="p_NormPriceCode" select="''"/>
|
||||
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
|
||||
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
|
||||
|
||||
@@ -174,7 +174,13 @@
|
||||
<xsl:call-template name="construct_instructionlines">
|
||||
<xsl:with-param name="p_LineNumber" select="position()"/>
|
||||
<xsl:with-param name="p_Quantity" select="aantal"/>
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity" select="eenheidcode"/>
|
||||
<!-- MARX#38434: default met PCE doorsturen, indien AX leeg wordt aangeleverd. -->
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity">
|
||||
<xsl:choose>
|
||||
<xsl:when test="eenheidcode != ''"><xsl:value-of select="eenheidcode"/></xsl:when>
|
||||
<xsl:otherwise>PCE</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="p_NormPriceCode" select="''"/>
|
||||
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
|
||||
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
|
||||
|
||||
@@ -164,7 +164,13 @@
|
||||
<xsl:call-template name="construct_instructionlines">
|
||||
<xsl:with-param name="p_LineNumber" select="position()"/>
|
||||
<xsl:with-param name="p_Quantity" select="aantal"/>
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity" select="eenheidcode"/>
|
||||
<!-- MARX#38434: default met PCE doorsturen, indien AX leeg wordt aangeleverd. -->
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity">
|
||||
<xsl:choose>
|
||||
<xsl:when test="eenheidcode != ''"><xsl:value-of select="eenheidcode"/></xsl:when>
|
||||
<xsl:otherwise>PCE</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="p_NormPriceCode" select="''"/>
|
||||
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
|
||||
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
|
||||
@@ -228,7 +234,7 @@
|
||||
<LineNumber><xsl:value-of select="$p_LineNumber"/></LineNumber>
|
||||
<!-- SIDB - Het aantal eenheden van werk geidentificeerd door de normprijscode. Mandatory, N(15) -->
|
||||
<Quantity><xsl:value-of select="$p_Quantity"/></Quantity>
|
||||
<!-- SIDB - Code van de meeteenheid waarin het aantal is uitgedrukt. Mandatory, C(3) -->
|
||||
<!-- SIDB - Code van de meeteenheid waarin het aantal is uitgedrukt. Mandatory, C(3) -->
|
||||
<MeasurementUnitQuantity><xsl:value-of select="$p_MeasurementUnitQuantity"/></MeasurementUnitQuantity>
|
||||
<!-- SIDB - Code waarmee het uit te voeren werk wordt aangegeven. Mandatory, C(17) -->
|
||||
<!-- Zie call FSN#34901 voor de (on)zin van dit veld -->
|
||||
|
||||
@@ -167,7 +167,13 @@
|
||||
<xsl:call-template name="construct_instructionlines">
|
||||
<xsl:with-param name="p_LineNumber" select="position()"/>
|
||||
<xsl:with-param name="p_Quantity" select="aantal"/>
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity" select="eenheidcode"/>
|
||||
<!-- MARX#38434: default met PCE doorsturen, indien AX leeg wordt aangeleverd. -->
|
||||
<xsl:with-param name="p_MeasurementUnitQuantity">
|
||||
<xsl:choose>
|
||||
<xsl:when test="eenheidcode != ''"><xsl:value-of select="eenheidcode"/></xsl:when>
|
||||
<xsl:otherwise>PCE</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="p_NormPriceCode" select="''"/>
|
||||
<xsl:with-param name="p_Area" select="melding/kenmerk[@key='6']"/>
|
||||
<xsl:with-param name="p_ShortDescription" select="substring(normalize-space(omschrijving),1,35)"/>
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#headerblok
|
||||
|
||||
.nomicon
|
||||
{
|
||||
background: url(fac_head.gif) no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
background-color: #c2092e;
|
||||
}
|
||||
|
||||
#headerdate
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 6.9 KiB |
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user