Merge 2017.1 Gold F changes
svn path=/Website/trunk/; revision=35378
@@ -112,8 +112,8 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " , dp.bes_ins_discipline_key"
|
||||
+ " , dp.bes_ins_discipline_key_inkoop inkoop_disc"
|
||||
+ " , (SELECT "+ lcl.xsql('bd2.ins_discipline_omschrijving','bd2.ins_discipline_key')
|
||||
+ " FROM bes_discipline bd2"
|
||||
+ " WHERE bd2.ins_discipline_key = dp.bes_ins_discipline_key_inkoop) disc_oms"
|
||||
+ " FROM bes_discipline bd2"
|
||||
+ " WHERE bd2.ins_discipline_key = dp.bes_ins_discipline_key_inkoop) disc_oms"
|
||||
+ " , (SELECT isd2.bes_srtdeel_voorraadmax" + sql_srtdeel2 + ") voorraadmax" // Voorraadmax van gekoppelde discipline
|
||||
+ " , (SELECT isd2.bes_srtdeel_voorraadmin" + sql_srtdeel2 + ") voorraadmin" // Voorraadmin van gekoppelde discipline
|
||||
+ " , SUM (bo.bes_bestelopdr_item_aantal) aantal_intern"
|
||||
@@ -145,25 +145,25 @@ function bes_voorraad_list (pautfunction, params)
|
||||
: "")
|
||||
+ (params.besgroep_key
|
||||
? " AND g.bes_srtgroep_key IN (SELECT sd2.bes_srtgroep_key"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd2"
|
||||
+ " , bes_v_aanwezigsrtgroep sg2"
|
||||
+ " WHERE sd2.bes_srtgroep_key = sg2.bes_srtgroep_key"
|
||||
+ " AND (sd2.bes_srtdeel_vervaldatum IS NULL OR sd2.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd2.bes_srtdeel_nr IN (SELECT sd3.bes_srtdeel_nr"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd3"
|
||||
+ " WHERE (sd3.bes_srtdeel_vervaldatum IS NULL OR sd3.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd3.bes_srtgroep_key = " + params.besgroep_key + "))"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd2"
|
||||
+ " , bes_v_aanwezigsrtgroep sg2"
|
||||
+ " WHERE sd2.bes_srtgroep_key = sg2.bes_srtgroep_key"
|
||||
+ " AND (sd2.bes_srtdeel_vervaldatum IS NULL OR sd2.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd2.bes_srtdeel_nr IN (SELECT sd3.bes_srtdeel_nr"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd3"
|
||||
+ " WHERE (sd3.bes_srtdeel_vervaldatum IS NULL OR sd3.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd3.bes_srtgroep_key = " + params.besgroep_key + "))"
|
||||
: "")
|
||||
+ (params.item_key
|
||||
? " AND sd.bes_srtdeel_key IN (SELECT sd2.bes_srtdeel_key"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd2"
|
||||
+ " , bes_v_aanwezigsrtgroep sg2"
|
||||
+ " WHERE sd2.bes_srtgroep_key = sg2.bes_srtgroep_key"
|
||||
+ " AND (sd2.bes_srtdeel_vervaldatum IS NULL OR sd2.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd2.bes_srtdeel_nr LIKE (SELECT sd3.bes_srtdeel_nr"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd3"
|
||||
+ " WHERE (sd3.bes_srtdeel_vervaldatum IS NULL OR sd3.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd3.bes_srtdeel_key = " + params.item_key + "))"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd2"
|
||||
+ " , bes_v_aanwezigsrtgroep sg2"
|
||||
+ " WHERE sd2.bes_srtgroep_key = sg2.bes_srtgroep_key"
|
||||
+ " AND (sd2.bes_srtdeel_vervaldatum IS NULL OR sd2.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd2.bes_srtdeel_nr LIKE (SELECT sd3.bes_srtdeel_nr"
|
||||
+ " FROM bes_v_aanwezigsrtdeel sd3"
|
||||
+ " WHERE (sd3.bes_srtdeel_vervaldatum IS NULL OR sd3.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
+ " AND sd3.bes_srtdeel_key = " + params.item_key + "))"
|
||||
: "")
|
||||
+ " GROUP BY sd.bes_srtdeel_nr"
|
||||
+ " , sd.bes_srtdeel_key"
|
||||
@@ -195,15 +195,15 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " , sd.bes_srtdeel_veelvoud bestelveelvoud"
|
||||
+ " , sd.bes_srtdeel_eenheid"
|
||||
+ " , (SELECT isd2.bes_srtdeel_eenheid"
|
||||
+ " FROM bes_srtdeel isd2"
|
||||
+ " , bes_srtgroep isg2"
|
||||
+ " , bes_disc_params dp2"
|
||||
+ " WHERE isd2.bes_srtgroep_key = isg2.bes_srtgroep_key"
|
||||
+ " AND dp2.bes_ins_discipline_key = isg2.ins_discipline_key"
|
||||
+ " AND isd2.bes_srtdeel_nr LIKE sd.bes_srtdeel_nr"
|
||||
+ " AND isd2.bes_srtdeel_verwijder IS NULL"
|
||||
+ " AND (isd2.bes_srtdeel_vervaldatum IS NULL OR isd2.bes_srtdeel_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND dp.bes_ins_discipline_key = dp2.bes_ins_discipline_key_inkoop) bes_srtdeel_eenheid_intern" // Eenheid van gekoppelde discipline
|
||||
+ " FROM bes_srtdeel isd2"
|
||||
+ " , bes_srtgroep isg2"
|
||||
+ " , bes_disc_params dp2"
|
||||
+ " WHERE isd2.bes_srtgroep_key = isg2.bes_srtgroep_key"
|
||||
+ " AND dp2.bes_ins_discipline_key = isg2.ins_discipline_key"
|
||||
+ " AND isd2.bes_srtdeel_nr LIKE sd.bes_srtdeel_nr"
|
||||
+ " AND isd2.bes_srtdeel_verwijder IS NULL"
|
||||
+ " AND (isd2.bes_srtdeel_vervaldatum IS NULL OR isd2.bes_srtdeel_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND dp.bes_ins_discipline_key = dp2.bes_ins_discipline_key_inkoop) bes_srtdeel_eenheid_intern" // Eenheid van gekoppelde discipline
|
||||
+ " FROM bes_discipline bd"
|
||||
+ " , bes_v_aanwezigsrtgroep g"
|
||||
+ " , bes_v_aanwezigsrtdeel sd"
|
||||
@@ -225,6 +225,21 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " (SELECT dp1.bes_ins_discipline_key_inkoop"
|
||||
+ " FROM bes_disc_params dp1"
|
||||
+ " WHERE dp1.bes_ins_discipline_key_inkoop IS NOT NULL)"
|
||||
// Het artikel moet gekoppeld zijn aan een externe leverancier die gekoppeld is aan de interne leverancier (bes_ins_discipline_key_inkoop).
|
||||
+ " AND EXISTS (SELECT bd1.ins_discipline_key"
|
||||
+ " , g1.bes_srtgroep_key"
|
||||
+ " , sd1.bes_srtdeel_key"
|
||||
+ " , sd1.bes_srtdeel_nr"
|
||||
+ " , dp1.bes_ins_discipline_key_inkoop"
|
||||
+ " FROM bes_discipline bd1"
|
||||
+ " , bes_v_aanwezigsrtgroep g1"
|
||||
+ " , bes_v_aanwezigsrtdeel sd1"
|
||||
+ " , bes_disc_params dp1"
|
||||
+ " WHERE sd1.bes_srtgroep_key = g1.bes_srtgroep_key"
|
||||
+ " AND g1.ins_discipline_key = bd1.ins_discipline_key"
|
||||
+ " AND bd1.ins_discipline_key = dp1.bes_ins_discipline_key"
|
||||
+ " AND sd1.bes_srtdeel_nr = sd.bes_srtdeel_nr" // Dezelfde omschrijving.
|
||||
+ " AND dp1.bes_ins_discipline_key_inkoop = bd.ins_discipline_key)" // Gekoppeld aan inkoopcatalogus.
|
||||
+ (params.catalogus_key
|
||||
? " AND bd.ins_discipline_key = " + params.catalogus_key
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
@@ -264,15 +279,15 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " , sd.bes_srtdeel_veelvoud bestelveelvoud"
|
||||
+ " , sd.bes_srtdeel_eenheid"
|
||||
+ " , (SELECT isd2.bes_srtdeel_eenheid"
|
||||
+ " FROM bes_srtdeel isd2"
|
||||
+ " , bes_srtgroep isg2"
|
||||
+ " , bes_disc_params dp2"
|
||||
+ " WHERE isd2.bes_srtgroep_key = isg2.bes_srtgroep_key"
|
||||
+ " AND dp2.bes_ins_discipline_key = isg2.ins_discipline_key"
|
||||
+ " AND isd2.bes_srtdeel_nr LIKE sd.bes_srtdeel_nr"
|
||||
+ " AND isd2.bes_srtdeel_verwijder IS NULL"
|
||||
+ " AND (isd2.bes_srtdeel_vervaldatum IS NULL OR isd2.bes_srtdeel_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND dp.bes_ins_discipline_key = dp2.bes_ins_discipline_key_inkoop) bes_srtdeel_eenheid_intern" // Eenheid van gekoppelde discipline
|
||||
+ " FROM bes_srtdeel isd2"
|
||||
+ " , bes_srtgroep isg2"
|
||||
+ " , bes_disc_params dp2"
|
||||
+ " WHERE isd2.bes_srtgroep_key = isg2.bes_srtgroep_key"
|
||||
+ " AND dp2.bes_ins_discipline_key = isg2.ins_discipline_key"
|
||||
+ " AND isd2.bes_srtdeel_nr LIKE sd.bes_srtdeel_nr"
|
||||
+ " AND isd2.bes_srtdeel_verwijder IS NULL"
|
||||
+ " AND (isd2.bes_srtdeel_vervaldatum IS NULL OR isd2.bes_srtdeel_vervaldatum > TRUNC(SYSDATE))"
|
||||
+ " AND dp.bes_ins_discipline_key = dp2.bes_ins_discipline_key_inkoop) bes_srtdeel_eenheid_intern" // Eenheid van gekoppelde discipline
|
||||
+ " FROM bes_discipline bd"
|
||||
+ " , bes_v_aanwezigsrtgroep g"
|
||||
+ " , bes_v_aanwezigsrtdeel sd"
|
||||
@@ -295,9 +310,24 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " AND dp.bes_ins_discipline_key_inkoop IS NULL"
|
||||
// Het moet een gekoppelde discipline zijn
|
||||
+ " AND dp.bes_ins_discipline_key IN"
|
||||
+ " (SELECT dp1.bes_ins_discipline_key_inkoop"
|
||||
+ " FROM bes_disc_params dp1"
|
||||
+ " WHERE dp1.bes_ins_discipline_key_inkoop IS NOT NULL)"
|
||||
+ " (SELECT dp1.bes_ins_discipline_key_inkoop"
|
||||
+ " FROM bes_disc_params dp1"
|
||||
+ " WHERE dp1.bes_ins_discipline_key_inkoop IS NOT NULL)"
|
||||
// Het artikel moet gekoppeld zijn aan een externe leverancier die gekoppeld is aan de interne leverancier (bes_ins_discipline_key_inkoop).
|
||||
+ " AND EXISTS (SELECT bd1.ins_discipline_key"
|
||||
+ " , g1.bes_srtgroep_key"
|
||||
+ " , sd1.bes_srtdeel_key"
|
||||
+ " , sd1.bes_srtdeel_nr"
|
||||
+ " , dp1.bes_ins_discipline_key_inkoop"
|
||||
+ " FROM bes_discipline bd1"
|
||||
+ " , bes_v_aanwezigsrtgroep g1"
|
||||
+ " , bes_v_aanwezigsrtdeel sd1"
|
||||
+ " , bes_disc_params dp1"
|
||||
+ " WHERE sd1.bes_srtgroep_key = g1.bes_srtgroep_key"
|
||||
+ " AND g1.ins_discipline_key = bd1.ins_discipline_key"
|
||||
+ " AND bd1.ins_discipline_key = dp1.bes_ins_discipline_key"
|
||||
+ " AND sd1.bes_srtdeel_nr = sd.bes_srtdeel_nr" // Dezelfde omschrijving.
|
||||
+ " AND dp1.bes_ins_discipline_key_inkoop = bd.ins_discipline_key)" // Gekoppeld aan inkoopcatalogus.
|
||||
+ (params.catalogus_key
|
||||
? " AND bd.ins_discipline_key = " + params.catalogus_key
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
@@ -443,7 +473,7 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " , voorraad_intern"
|
||||
+ " , (SELECT COUNT(*)"
|
||||
+ " FROM bes_kenmerk bk"
|
||||
+ " , bes_srtkenmerk sk"
|
||||
+ " , bes_srtkenmerk sk"
|
||||
+ " , bes_srtdeel sd"
|
||||
+ " , bes_srtgroep sg"
|
||||
+ " WHERE sd.bes_srtgroep_key = sg.bes_srtgroep_key"
|
||||
@@ -451,9 +481,9 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " OR bk.bes_srtinstallatie_key = sg.bes_srtgroep_key AND bk.bes_kenmerk_niveau LIKE 'G'"
|
||||
+ " OR bk.bes_srtinstallatie_key = sd.bes_srtdeel_key AND bk.bes_kenmerk_niveau LIKE 'S')"
|
||||
+ " AND bk.bes_kenmerk_type = 'I'"
|
||||
+ " AND bk.bes_srtkenmerk_key = sk.bes_srtkenmerk_key"
|
||||
+ " AND bk.bes_srtkenmerk_key = sk.bes_srtkenmerk_key"
|
||||
+ " AND bk.bes_kenmerk_verwijder = NULL"
|
||||
+ " AND sk.bes_srtkenmerk_verwijder = NULL"
|
||||
+ " AND sk.bes_srtkenmerk_verwijder = NULL"
|
||||
+ " AND sd.bes_srtdeel_key = l.bes_srtdeel_key) aantalkenmerken"
|
||||
+ " , l.eenheid_extern"
|
||||
+ " , l.eenheid_intern"
|
||||
|
||||
@@ -1194,6 +1194,8 @@ lcl.set_dialect(mld_melding.srtdisc, "MLD_SRTDISCIPLINE_KEY");
|
||||
BLOCK_START("mldBehandel", L("lcl_behandelgegevens"), { buttons: buttons });
|
||||
|
||||
var afh_rw = this_mld.canAfhandChange && S("mld_afhandeling_restrict_edit") == 0;
|
||||
if (S("fac_reserved_number1") == 1)
|
||||
afh_rw = true;
|
||||
RWTEXTAREATR("remark",
|
||||
"fldtxt",
|
||||
L("lcl_mld_inf_Opmerking"),
|
||||
|
||||
@@ -339,12 +339,8 @@ for (i = 1; i <= Request.Form.Count; i++)
|
||||
Oracle.Execute(sql);
|
||||
__Log("added " + name + " : " +deel_key);
|
||||
// Tracking toevoegen.
|
||||
if (!bonotify && (curr_discipline != last_discipline))
|
||||
{
|
||||
var inserttrack = res.trackobject(deel_key, "insert");
|
||||
trackarray.push(inserttrack);
|
||||
last_discipline = curr_discipline;
|
||||
}
|
||||
var inserttrack = res.trackobject(deel_key, "insert");
|
||||
trackarray.push(inserttrack);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -557,13 +553,11 @@ for (i = 0; i < a_arIns.length; i++)
|
||||
}
|
||||
sql += " END;"
|
||||
Oracle.Execute(sql);
|
||||
|
||||
// Tracking toevoegen.
|
||||
if (!bonotify && (curr_discipline != last_discipline))
|
||||
{
|
||||
var inserttrack = res.trackartikel(a_arIns[i].res_deel, "insert");
|
||||
trackarray.push(inserttrack);
|
||||
last_discipline = curr_discipline;
|
||||
}
|
||||
var inserttrack = res.trackartikel(a_arIns[i].res_deel, "insert");
|
||||
trackarray.push(inserttrack);
|
||||
|
||||
reserved++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -470,13 +470,21 @@ function __Log2FileName(postfix)
|
||||
|
||||
function __Log2File(data, postfix)
|
||||
{
|
||||
var log_file = __Log2FileName(postfix);
|
||||
var fs = Server.CreateObject("Scripting.FileSystemObject");
|
||||
var ts = fs.CreateTextFile(log_file, true);
|
||||
// Als je op de volgende regel een 'Invalid procedure call or argument' krijgt
|
||||
// heb je mogelijk/waarschijnlijk unicode in string staan? Daar kunnen we niet
|
||||
// tegen
|
||||
ts.WriteLine (data);
|
||||
ts.Close();
|
||||
var log_file = "??";
|
||||
try
|
||||
{
|
||||
var log_file = __Log2FileName(postfix);
|
||||
var fs = Server.CreateObject("Scripting.FileSystemObject");
|
||||
var ts = fs.CreateTextFile(log_file, true);
|
||||
// Als je op de volgende regel een 'Invalid procedure call or argument' krijgt
|
||||
// heb je mogelijk/waarschijnlijk unicode in data staan? Daar kunnen we niet
|
||||
// tegen
|
||||
ts.WriteLine (data);
|
||||
ts.Close();
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
__DoLog("__Log2File failed writing to {0}. Perhaps Unicode?\n{1}".format(log_file, e.description));
|
||||
}
|
||||
}
|
||||
%>
|
||||
@@ -13,6 +13,16 @@
|
||||
/* Globals */
|
||||
/* Font
|
||||
-----------------------------------------------------------------------------------------------------------*/
|
||||
#fbanner, #hbanner {
|
||||
height: 40px;
|
||||
padding: 2px 0 1px 0;
|
||||
background-position: center;
|
||||
background-color: #fff;
|
||||
background-image: url(banner.png);
|
||||
background-repeat:no-repeat ;
|
||||
}
|
||||
|
||||
|
||||
html {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ Kosten uit opdracht: € <xsl:value-of select="format-number(kosten, '0,00', 'eu
|
||||
Omschrijving: <xsl:value-of select="omschrijving" />
|
||||
Melding: <xsl:value-of select="melding/omschrijving" /></omschrijving>
|
||||
<kenmerk naam="Kosten"><xsl:value-of select="kosten" /></kenmerk>
|
||||
<kenmerk naam="Locatiecode klant"><xsl:value-of select="melding/plaats/regio/district/locatie/code"/></kenmerk>
|
||||
<kenmerk naam="Werkbon/Opdracht nr. klant"><xsl:value-of select="melding_key" />/<xsl:value-of select="bedrijfopdr_volgnr" /></kenmerk>
|
||||
<kenmerk naam="Einddatum klant"><xsl:value-of select="einddatum/datum" /><xsl:text> </xsl:text><xsl:value-of select="einddatum/tijd" />:00</kenmerk>
|
||||
|
||||
@@ -152,4 +153,15 @@ Melding: <xsl:value-of select="melding/omschrijving" /></omschrijving>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->
|
||||
<!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.
|
||||
|
||||
<metaInformation>
|
||||
<scenarios/>
|
||||
<MapperMetaTag>
|
||||
<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
|
||||
<MapperBlockPosition></MapperBlockPosition>
|
||||
<TemplateContext></TemplateContext>
|
||||
<MapperFilter side="source"></MapperFilter>
|
||||
</MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
@@ -2381,9 +2381,8 @@ Amsterdam RAI
|
||||
<xsl:sort select="PLAATS"/>
|
||||
<xsl:if test="position() >= $p_pos and position() <= $p_pos + $p_cols - 1">
|
||||
<td width="25%" style="text-align:center">
|
||||
<xsl:value-of select="FCLT_F_GEBOUW"/><br/>
|
||||
<xsl:value-of select="PLAATS"/><br/>
|
||||
<xsl:value-of select="SOORTRUIMTE"/><br/>
|
||||
<xsl:value-of select="FCLT_F_PLAATS"/><br/>
|
||||
<xsl:value-of select="FCLT_F_IDENTIFICATIE"/><br/>
|
||||
</td>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
||||
0
CUST/BLCC/export/POWERBI/BACKUP/.gitignore
vendored
Normal file
6
CUST/BLCC/export/ftp_blcc2pwrbi.scr
Normal file
@@ -0,0 +1,6 @@
|
||||
open 13.94.206.195
|
||||
user FTPUser
|
||||
7cVjWyc8fY5RPPB2ZswfyxpqfYv5TDAw
|
||||
bin
|
||||
mput POWERBI\*.csv
|
||||
bye
|
||||
32
CUST/BLCC/export/gen_export_PWRBI.bat
Normal file
@@ -0,0 +1,32 @@
|
||||
REM GEN_EXPORT_PWRBI.BAT
|
||||
REM
|
||||
REM BLCC
|
||||
REM
|
||||
REM Exporteert 5-tal PowerBI-bestanden als CSV (BLCC#41180).
|
||||
REM
|
||||
REM Context : roep deze file aan indien nodig, of schedule deze
|
||||
REM Vereist : de randvoorwaarde voor het gebruik van gen_export
|
||||
REM
|
||||
REM $Revision$
|
||||
REM $Id$
|
||||
REM
|
||||
REM (c) 2016 Facilitor B.V.
|
||||
REM
|
||||
|
||||
REM ================================================== cleanup
|
||||
copy .\POWERBI\*.csv .\POWERBI\BACKUP
|
||||
del .\POWERBI\*.csv
|
||||
|
||||
REM ================================================== create exportfile(s)
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat PWRBI_CAT
|
||||
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat PWRBI_OPDR
|
||||
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat PWRBI_MLDTRK
|
||||
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat PWRBI_ORDTRK
|
||||
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat PWRBI_MLD
|
||||
|
||||
REM ================================================== transfer file to BLCC ftp
|
||||
ftp.exe -ni -s:ftp_blcc2pwrbi.scr
|
||||
67
CUST/CSUN/custfunctions.wsc
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0"?>
|
||||
<component>
|
||||
<?component error="true" debug="true"?>
|
||||
<registration
|
||||
description="custfunctions"
|
||||
progid="custfunction.wsc"
|
||||
version="1.00"
|
||||
classid="{5B59A501-7A03-47C7-9C02-6025C83C2FAD}"
|
||||
>
|
||||
</registration>
|
||||
|
||||
<public>
|
||||
|
||||
<!-- properties -->
|
||||
<property name="Oracle">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__Log">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__DoLog">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="safe">
|
||||
<put/>
|
||||
</property>
|
||||
|
||||
<!-- methods -->
|
||||
<method name="mld_postsave">
|
||||
<PARAMETER name="mld_melding"/>
|
||||
</method>
|
||||
</public>
|
||||
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
|
||||
/* properties */
|
||||
function put_Oracle(newValue) {Oracle = newValue};
|
||||
function put___Log(newValue) {__Log = newValue};
|
||||
function put___DoLog(newValue){__DoLog = newValue};
|
||||
function put_safe(newValue) {safe = newValue};
|
||||
|
||||
/* methods */
|
||||
/*
|
||||
$Id$
|
||||
*/
|
||||
|
||||
/* Dit zijn de enige drie functies die je mag gebruiken */
|
||||
var Oracle;
|
||||
var __Log;
|
||||
var __DoLog;
|
||||
var safe;
|
||||
|
||||
|
||||
|
||||
mld_postsave = function (mld_melding, pResult)
|
||||
{
|
||||
// Bij nieuwe meldingen controleren of de locatiecode goed staat.
|
||||
var sql = "BEGIN csun.mld_after_insert(" + mld_melding + "); END;";
|
||||
Oracle.Execute(sql);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</component>
|
||||
@@ -3774,9 +3774,228 @@ Wij verzoeken u de met de uitvoeringsdatum en de werkzaamheden gespecificeerde f
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@view='kfns_v_rap_gebpaspoort'">
|
||||
<table class="monitor">
|
||||
<xsl:if test=" count(rapport_data/data_row) = 0">
|
||||
<tr><td>
|
||||
<center><b>Geen gegevens gevonden</b></center>
|
||||
</td></tr>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="//facilitor/rapport/rapport_data/data_row">
|
||||
<xsl:if test="position() = 1">
|
||||
<tr>
|
||||
<th>Gebouw Details</th>
|
||||
<th>Locatie</th>
|
||||
<th>Code</th>
|
||||
<th>Gebouwnaam</th>
|
||||
<th>Gebouwfunctie</th>
|
||||
<th>Bebouwdoppm2</th>
|
||||
<th>Vervaldatum</th>
|
||||
<th>Gebouw Opmerking</th>
|
||||
<th>Omtrek</th>
|
||||
<th>Inhoud</th>
|
||||
<th>X Coordinaat</th>
|
||||
<th>Y Coordinaat</th>
|
||||
<th>Contractpartij</th>
|
||||
<th>Eigenaar van object</th>
|
||||
<th>Strukton Gebouwcode</th>
|
||||
<th>Verant Fm</th>
|
||||
<th>Verant Fc</th>
|
||||
<th>Leveran Info</th>
|
||||
<th>Gebouw Fact Nietverhuur</th>
|
||||
<th>Kadastraal</th>
|
||||
<th>Bouwjaar</th>
|
||||
<th>Eigenaar</th>
|
||||
<th>Energielabel</th>
|
||||
<th>Wettelijke Verplichtingen</th>
|
||||
<th>Gebruiksmelding</th>
|
||||
<th>Keuring Liften</th>
|
||||
<th>Keuring BMI</th>
|
||||
<th>BHV Plan</th>
|
||||
<th>Keuring OAI</th>
|
||||
<th>Ontruimingsplan</th>
|
||||
<th>Keuring Sprinklerinstallatie</th>
|
||||
<th>Keuring Gasblusinstallatie</th>
|
||||
<th>Keuring Inbraakinstallatie</th>
|
||||
<th>Keuring Koelinstallatie</th>
|
||||
<th>Keuring Stookinstallatie</th>
|
||||
<th>Keuring WKO</th>
|
||||
<th>Keuring Einstallaties</th>
|
||||
<th>Keuring Noodverlichting</th>
|
||||
<th>Keuring Keerkleppen Drwtr</th>
|
||||
<th>Keuring Droge Blusleiding</th>
|
||||
<th>Keuring Gasdetectie</th>
|
||||
<th>Keuring Nsa</th>
|
||||
<th>Legionellabeheersplan</th>
|
||||
<th>RI_E</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td class="tekst">
|
||||
<xsl:attribute name="onclick">FcltMgr.openDetail('appl/alg/alg_gebouw.asp?key=<xsl:value-of select="GEBOUWKEY"/>', '');</xsl:attribute>
|
||||
<span style="cursor:pointer; text-decoration: underline;">Gebouwpagina</span>
|
||||
</td>
|
||||
<td class="tekst"><xsl:value-of select="LOCATIE"/></td>
|
||||
<td class="tekst"><xsl:value-of select="CODE"/></td>
|
||||
<td class="tekst"><xsl:value-of select="GEBOUWNAAM"/></td>
|
||||
<td class="tekst"><xsl:value-of select="GEBOUWFUNCTIE"/></td>
|
||||
<td class="tekst"><xsl:value-of select="BEBOUWDOPPM2"/></td>
|
||||
<td class="tekst"><xsl:value-of select="VERVALDATUM"/></td>
|
||||
<td class="tekst"><xsl:value-of select="GEBOUW_OPMERKING"/></td>
|
||||
<td class="tekst"><xsl:value-of select="OMTREK"/></td>
|
||||
<td class="tekst"><xsl:value-of select="INHOUD"/></td>
|
||||
<td class="tekst"><xsl:value-of select="X_COORDINAAT"/></td>
|
||||
<td class="tekst"><xsl:value-of select="Y_COORDINAAT"/></td>
|
||||
<td class="tekst"><xsl:value-of select="CONTRACTPARTIJ"/></td>
|
||||
<td class="tekst"><xsl:value-of select="EIGENAAR_VAN_OBJECT"/></td>
|
||||
<td class="tekst"><xsl:value-of select="STRUKTON_GEBOUWCODE"/></td>
|
||||
<td class="tekst"><xsl:value-of select="VERANT_FM"/></td>
|
||||
<td class="tekst"><xsl:value-of select="VERANT_FC"/></td>
|
||||
<td class="tekst"><xsl:value-of select="LEVERAN_INFO"/></td>
|
||||
<td class="tekst"><xsl:value-of select="GEBOUW_FACT_NIETVERHUUR"/></td>
|
||||
<td class="tekst"><xsl:value-of select="KADASTRAAL"/></td>
|
||||
<td class="tekst"><xsl:value-of select="BOUWJAAR"/></td>
|
||||
<td class="tekst"><xsl:value-of select="EIGENAAR"/></td>
|
||||
<td class="tekst"><xsl:value-of select="ENERGIELABEL"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN <=100 and WETTELIJKE_VERPLICHTINGEN >=71"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN <=70 and WETTELIJKE_VERPLICHTINGEN >=51"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:lime;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN <=50 and WETTELIJKE_VERPLICHTINGEN >=21"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:yellow;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN <=20 and WETTELIJKE_VERPLICHTINGEN >=6"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:orange;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN='0' and GEBRUIKSMELDING='-' and KEURING_LIFTEN='-' and KEURING_BMI='-' and BHV_PLAN='-' and KEURING_OAI='-' and ONTRUIMINGSPLAN='-'
|
||||
and KEURING_SPRINKLERINSTALLATIE='-' and KEURING_GASBLUSINSTALLATIE='-' and KEURING_INBRAAKINSTALLATIE='-' and KEURING_KOELINSTALLATIE='-' and KEURING_STOOKINSTALLATIE='-' and KEURING_WKO='-'
|
||||
and KEURING_EINSTALLATIES='-' and KEURING_NOODVERLICHTING='-' and KEURING_KEERKLEPPEN_DRWTR='-' and KEURING_DROGE_BLUSLEIDING='-' and KEURING_GASDETECTIE='-' and KEURING_NSA='-'
|
||||
and LEGIONELLABEHEERSPLAN='-' and RI_E='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:when test="WETTELIJKE_VERPLICHTINGEN <=5"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="WETTELIJKE_VERPLICHTINGEN"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="GEBRUIKSMELDING='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="GEBRUIKSMELDING"/></td></xsl:when>
|
||||
<xsl:when test="GEBRUIKSMELDING='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="GEBRUIKSMELDING"/></td></xsl:when>
|
||||
<xsl:when test="GEBRUIKSMELDING='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="GEBRUIKSMELDING"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="GEBRUIKSMELDING"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_LIFTEN='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_LIFTEN"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_LIFTEN='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_LIFTEN"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_LIFTEN='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_LIFTEN"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_LIFTEN"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_BMI='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_BMI"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_BMI='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_BMI"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_BMI='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_BMI"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_BMI"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="BHV_PLAN='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="BHV_PLAN"/></td></xsl:when>
|
||||
<xsl:when test="BHV_PLAN='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="BHV_PLAN"/></td></xsl:when>
|
||||
<xsl:when test="BHV_PLAN='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="BHV_PLAN"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="BHV_PLAN"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_OAI='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_OAI"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_OAI='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_OAI"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_OAI='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_OAI"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_OAI"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="ONTRUIMINGSPLAN='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="ONTRUIMINGSPLAN"/></td></xsl:when>
|
||||
<xsl:when test="ONTRUIMINGSPLAN='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="ONTRUIMINGSPLAN"/></td></xsl:when>
|
||||
<xsl:when test="ONTRUIMINGSPLAN='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="ONTRUIMINGSPLAN"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="ONTRUIMINGSPLAN"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_SPRINKLERINSTALLATIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_SPRINKLERINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_SPRINKLERINSTALLATIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_SPRINKLERINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_SPRINKLERINSTALLATIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_SPRINKLERINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_SPRINKLERINSTALLATIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_GASBLUSINSTALLATIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_GASBLUSINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_GASBLUSINSTALLATIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_GASBLUSINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_GASBLUSINSTALLATIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_GASBLUSINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_GASBLUSINSTALLATIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_INBRAAKINSTALLATIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_INBRAAKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_INBRAAKINSTALLATIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_INBRAAKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_INBRAAKINSTALLATIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_INBRAAKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_INBRAAKINSTALLATIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_KOELINSTALLATIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_KOELINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_KOELINSTALLATIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_KOELINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_KOELINSTALLATIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_KOELINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_KOELINSTALLATIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_STOOKINSTALLATIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_STOOKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_STOOKINSTALLATIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_STOOKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_STOOKINSTALLATIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_STOOKINSTALLATIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_STOOKINSTALLATIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_WKO='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_WKO"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_WKO='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_WKO"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_WKO='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_WKO"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_WKO"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_EINSTALLATIES='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_EINSTALLATIES"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_EINSTALLATIES='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_EINSTALLATIES"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_EINSTALLATIES='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_EINSTALLATIES"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_EINSTALLATIES"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_NOODVERLICHTING='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_NOODVERLICHTING"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_NOODVERLICHTING='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_NOODVERLICHTING"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_NOODVERLICHTING='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_NOODVERLICHTING"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_NOODVERLICHTING"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_KEERKLEPPEN_DRWTR='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_KEERKLEPPEN_DRWTR"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_KEERKLEPPEN_DRWTR='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_KEERKLEPPEN_DRWTR"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_KEERKLEPPEN_DRWTR='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_KEERKLEPPEN_DRWTR"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_KEERKLEPPEN_DRWTR"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_DROGE_BLUSLEIDING='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_DROGE_BLUSLEIDING"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_DROGE_BLUSLEIDING='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_DROGE_BLUSLEIDING"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_DROGE_BLUSLEIDING='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_DROGE_BLUSLEIDING"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_DROGE_BLUSLEIDING"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_GASDETECTIE='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_GASDETECTIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_GASDETECTIE='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_GASDETECTIE"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_GASDETECTIE='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_GASDETECTIE"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_GASDETECTIE"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="KEURING_NSA='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="KEURING_NSA"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_NSA='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="KEURING_NSA"/></td></xsl:when>
|
||||
<xsl:when test="KEURING_NSA='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_NSA"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="KEURING_NSA"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="LEGIONELLABEHEERSPLAN='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="LEGIONELLABEHEERSPLAN"/></td></xsl:when>
|
||||
<xsl:when test="LEGIONELLABEHEERSPLAN='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="LEGIONELLABEHEERSPLAN"/></td></xsl:when>
|
||||
<xsl:when test="LEGIONELLABEHEERSPLAN='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="LEGIONELLABEHEERSPLAN"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="LEGIONELLABEHEERSPLAN"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="RI_E='V'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:green;"><xsl:value-of select="RI_E"/></td></xsl:when>
|
||||
<xsl:when test="RI_E='X'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:red;"><xsl:value-of select="RI_E"/></td></xsl:when>
|
||||
<xsl:when test="RI_E='-'"><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="RI_E"/></td></xsl:when>
|
||||
<xsl:otherwise><td class="tekst" style="text-align:center;vertical-align:middle;background-color:white;"><xsl:value-of select="RI_E"/></td></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:if>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
||||
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 9.1 KiB |
@@ -156,18 +156,18 @@
|
||||
<xsl:template match="bezoeker" mode="badge">
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
|
||||
<tr>
|
||||
<td style="text-align:left; font-size:18px; font-weight: bold;">
|
||||
<td style="text-align:left; font-size:24px; font-weight: bold;">
|
||||
<xsl:value-of select="naam"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="height: 20px"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<td style="text-align:left; font-size:16px; font-weight: bold; height:20px;">
|
||||
<xsl:value-of select="bedrijf"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<td style="height: 20px"></td>
|
||||
</tr>
|
||||
@@ -185,7 +185,7 @@
|
||||
<td style="height: 20px"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:left; font-size:14px; font-weight: bold; normal;"><xsl:value-of select="afspraak/datum/datum"/></td>
|
||||
<td style="text-align:left; font-size:22px; font-weight: bold; normal;"><xsl:value-of select="afspraak/datum/datum"/></td>
|
||||
</tr>
|
||||
</TABLE>
|
||||
</xsl:template>
|
||||
@@ -3818,3 +3818,8 @@ Wij verzoeken u de met de uitvoeringsdatum en de werkzaamheden gespecificeerde f
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios/><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
|
||||
</metaInformation>
|
||||
-->
|
||||
@@ -5,21 +5,20 @@
|
||||
<xsl:param name="mode"/>
|
||||
|
||||
<xsl:template match="rapport">
|
||||
<xsl:if test="@view='res_v_rap_infobordframe' or @view='RES_V_RAP_INFOBORDFRAME'">
|
||||
<xsl:if test="@view='res_v_rap_infobord' or @view='RES_V_RAP_INFOBORD'">
|
||||
<xsl:element name="Reserveringen">
|
||||
<xsl:for-each select="rapport_data/data_row">
|
||||
<xsl:if test="AKTIEF != 'passed'">
|
||||
<xsl:element name="Reservering">
|
||||
<xsl:element name="Reserveringsnaam"><xsl:value-of select="OMSCHRIJVING"/></xsl:element>
|
||||
<xsl:element name="ord_naam"><xsl:value-of select="RES_RSV_RUIMTE_OMSCHRIJVING"/></xsl:element>
|
||||
<xsl:element name="ord_datbegin"><xsl:value-of select="RES_RSV_RUIMTE_VAN"/></xsl:element>
|
||||
<xsl:element name="ord_dateinde"><xsl:value-of select="RES_RSV_RUIMTE_TOT"/></xsl:element>
|
||||
<xsl:element name="ord_aantalpers"><xsl:value-of select="RES_RSV_RUIMTE_BEZOEKERS"/></xsl:element>
|
||||
<xsl:element name="ord_reseenh_code"><xsl:value-of select="RES_RUIMTE_KEY"/></xsl:element>
|
||||
<xsl:element name="ord_reseenh_naam"><xsl:value-of select="RES_RUIMTE_NR"/></xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
<xsl:element name="Aanvang"><xsl:value-of select="concat(substring(DAG,7,4),'-',substring(DAG,4,2),'-',substring(DAG,1,2),'T', TIJD_VAN,':00')"/></xsl:element>
|
||||
<xsl:element name="Einde"><xsl:value-of select="concat(substring(DAG,7,4),'-',substring(DAG,4,2),'-',substring(DAG,1,2),'T', TIJD_TOT,':00')"/></xsl:element>
|
||||
<xsl:element name="Zaalnaam"><xsl:value-of select="RUIMTE"/></xsl:element>
|
||||
<xsl:element name="Aanvrager"><xsl:value-of select="GASTHEER"/></xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
@@ -29,4 +28,4 @@
|
||||
<xsl:apply-templates select="rapport"/>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. -->
|
||||
BIN
CUST/LOGC/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
@@ -1,9 +0,0 @@
|
||||
/*
|
||||
* $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
.mldhandlingnote,
|
||||
.note_fe_hidden {
|
||||
font-style: normal;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 7.3 KiB |
22
CUST/LOGC/logc.css
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* disc-afhankelijke styling */
|
||||
.sd_F, .sd_null { /* default */
|
||||
border-left: 12px solid #CACBCC;
|
||||
}
|
||||
|
||||
.d_41 { /* development*/
|
||||
border-left: 12px solid #60B0E6;
|
||||
}
|
||||
.d_42 { /* consultancy*/
|
||||
border-left: 12px solid #E37B00;
|
||||
}
|
||||
.d_21 { /* support*/
|
||||
border-left: 12px solid #B1B3B4;
|
||||
}
|
||||
.d_22 { /* CAB*/
|
||||
border-left: 12px solid #AB1455;
|
||||
}
|
||||
BIN
CUST/LOGC/logcentre.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
14
CUST/LOGC/mcust.css
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
#fbanner, #hbanner {
|
||||
height: 60px;
|
||||
padding: 2px 0 1px 0;
|
||||
background-position: center;
|
||||
background-color: #C3D95B;
|
||||
background-image: url(logcentre.png);
|
||||
background-repeat:no-repeat ;
|
||||
}
|
||||
|
||||
.footerphoto {
|
||||
margin-top:10px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -415,16 +415,38 @@
|
||||
<td align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/FAC/omschrijving"/>:</b>
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
<br/><br/><br/>
|
||||
Met vriendelijke groet,<br/><br/>
|
||||
Afdeling Facilitaire Zaken<br/><br/><br/>
|
||||
E: facilitair@medux.nl<br/>
|
||||
T: 088 – 654 08 25
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="melding/stdmelding/key=56">
|
||||
<td align="left" colspan="3">
|
||||
Beste heer/mevrouw,<br/><br/>
|
||||
Hierbij de opdracht van bovenstaande locatie voor het volgende:<br/><br/>
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
<br/><br/><br/>
|
||||
Graag ontvangen wij een bevestiging van deze opdracht, inclusief planning via facilitair@medux.nl<br/><br/>
|
||||
Alvast bedankt.<br/><br/>
|
||||
Met vriendelijke groet,<br/><br/>
|
||||
Afdeling Facilitaire Zaken<br/><br/><br/>
|
||||
E: facilitair@medux.nl<br/>
|
||||
T: 088 – 654 08 25
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="left" colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
<br/><br/><br/>
|
||||
Met vriendelijke groet,<br/><br/>
|
||||
Afdeling Facilitaire Zaken<br/><br/><br/>
|
||||
E: facilitair@medux.nl<br/>
|
||||
T: 088 – 654 08 25
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -1649,7 +1671,7 @@
|
||||
<html>
|
||||
|
||||
<xsl:variable name="p_rows" select="999"/>
|
||||
<xsl:variable name="p_cols" select="3"/>
|
||||
<xsl:variable name="p_cols" select="1"/>
|
||||
|
||||
<xsl:for-each select="//facilitor/rapport/rapport_data/data_row">
|
||||
<xsl:sort select="FCLT_F_GEBOUW"/>
|
||||
@@ -1762,7 +1784,7 @@
|
||||
<xsl:with-param name="p_cols" select="$p_cols"/>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
<xsl:if test="(position() = last()) and (position() mod $p_cols) != 0">
|
||||
<xsl:if test="(position() = last()) and (position() mod $p_cols) != 0">
|
||||
<xsl:comment>=== Na elke 1 records (1x1 passen op 1 regel) =====</xsl:comment>
|
||||
<xsl:call-template name="qrc_ins_new_tr">
|
||||
<xsl:with-param name="p_pos" select="floor(position() div $p_cols) * $p_cols + 1"/>
|
||||
@@ -1829,14 +1851,16 @@
|
||||
<table style="text-align: left; vertical-align: top; margin:0;padding:0 height: 32mm ; width: 70mm">
|
||||
<td> </td>
|
||||
<td style="text-align: left; vertical-align: top; margin:0;padding:0 height: 32mm ; width: 70mm">
|
||||
<br/>
|
||||
<xsl:element name="img">
|
||||
<xsl:attribute name="style">height: 20mm; width: 20mm; margin:0cm; padding:0; border: none </xsl:attribute>
|
||||
<xsl:attribute name="src">
|
||||
../../appl/shared/qrcode.asp?size=16&text=/%3Fu%3D<xsl:value-of select="HIDE_F_BOOKMARK_ID"/>%26k%3D<xsl:value-of select="ALG_RUIMTE_KEY"/>
|
||||
../../appl/shared/qrcode.asp?size=16&text=/%3Fu%3D<xsl:value-of select="HIDE_F_BOOKMARK_ID"/>%26ins_key%3D<xsl:value-of select="INS_DEEL_KEY"/>
|
||||
</xsl:attribute>
|
||||
</xsl:element>
|
||||
</td>
|
||||
<td style="text-align:left; vertical-align: top; margin:0;padding:0; font-size: 8pt; font-weight: bold; height: 20mm ; width: 50mm">
|
||||
<br/>
|
||||
<xsl:element name="img">
|
||||
<xsl:attribute name="style">width: 15mm</xsl:attribute>
|
||||
<xsl:attribute name="src">
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
cscript ..\..\..\utils\gen_import\gen_import.wsf MNNL 41 >>genimport.log 2>>&1
|
||||
cscript ..\..\..\utils\gen_import\gen_import.wsf MNNL 41 >>%0.log 2>>&1
|
||||
cscript ..\..\..\utils\gen_import\gen_import.wsf MNNL 141 >>%0.log 2>>&1
|
||||
|
||||
@@ -288,6 +288,7 @@
|
||||
font-family: Verdana;
|
||||
font-size: 14pt;
|
||||
color: #00cc00;
|
||||
text-align: left;
|
||||
}
|
||||
p {
|
||||
font-family: Verdana;
|
||||
@@ -341,32 +342,7 @@ function alternate(){
|
||||
}
|
||||
}
|
||||
|
||||
function startAutoRefreshTim() {
|
||||
// verwijder scrollbar
|
||||
parent.document.body.style.overflow="hidden";
|
||||
|
||||
if (document.all.timeID2.value>0) {
|
||||
clearInterval(document.all.timeID2.value);
|
||||
document.all.timeID2.value=-1;
|
||||
}
|
||||
|
||||
var table = document.getElementById("result");
|
||||
var rows = table.getElementsByTagName("tr");
|
||||
|
||||
if (count < rows.length - screenlength) {
|
||||
// hide top line
|
||||
trnr = document.getElementById("tr"+count);
|
||||
if(trnr) trnr.style.display= "none";
|
||||
count=count+1;
|
||||
}
|
||||
else {
|
||||
for(i = 0; i < rows.length; i++){
|
||||
//unhide rows
|
||||
rows[i].style.display= "block"
|
||||
count = 1;
|
||||
}
|
||||
}
|
||||
document.all.timeID2.value = setInterval('startAutoRefreshTim();', line_refresh * 1000);
|
||||
}</script>
|
||||
</head>
|
||||
<xsl:variable name="sorted">
|
||||
@@ -380,12 +356,6 @@ function startAutoRefreshTim() {
|
||||
</xsl:variable>
|
||||
<!--<body onLoad="alternate();startAutoRefreshTim();parent.Activate();parent.document.body.style.overflow='hidden';">-->
|
||||
<body onLoad="alternate();parent.Activate();parent.document.body.style.overflow='hidden';">
|
||||
<!--<div ID="kop" align="center">
|
||||
<xsl:element name="img">
|
||||
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
|
||||
</xsl:element>
|
||||
<br/>
|
||||
</div>-->
|
||||
<p>Vergaderzalen</p>
|
||||
<table id="result" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
@@ -580,4 +550,4 @@ function startAutoRefreshTim() {
|
||||
</table>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->
|
||||
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. -->
|
||||
@@ -238,7 +238,7 @@
|
||||
<td align="left" width="34%">
|
||||
<xsl:choose>
|
||||
<xsl:when test="melding/voor/afdeling//bedrijf/naam = 'Extern'">
|
||||
<a href="mailto:fsb@pch-fm.nl">fsb@pch-fm.nl</a>
|
||||
<a href="mailto:servicedesk@pch-dienstengroep.nl">servicedesk@pch-dienstengroep.nl</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:element name="a">
|
||||
|
||||
@@ -293,14 +293,13 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%"><b><xsl:value-of select="//lcl/FAC/adres"/>:</b></td>
|
||||
<td width="34%"><xsl:value-of select="factuuradres/post_adres"/></td>
|
||||
<td width="16%"><b>E-mail:</b></td>
|
||||
<td width="34%">facturen@hetparkhuis.nl</td>
|
||||
<td colspan="2"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%"><b><xsl:value-of select="//lcl/FAC/plaats"/>:</b></td>
|
||||
<td width="34%"><xsl:value-of select="factuuradres/post_postcode"/> <xsl:value-of select="factuuradres/post_plaats"/></td>
|
||||
<td colspan="2"/>
|
||||
<td width="16%"><b></b></td>
|
||||
<td width="34%">o.v.v. ons volledige ordernummer (BST) zowel op pakbon als op factuur.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" height="20px" valign="center">
|
||||
|
||||
@@ -8389,10 +8389,10 @@ Wij verzoeken je <xsl:call-template name="kto_url"><xsl:with-param name="bmr">r<
|
||||
<td style="text-align:left"><xsl:value-of select="LEVERANCIER"/></td>
|
||||
<td style="text-align:left"><xsl:value-of select="BANKREKENING"/></td>
|
||||
<td style="text-align:left"><xsl:value-of select="LEVERANCIER_NUMMER"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="BEGINDATUM"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="EINDDATUM"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="substring-before (BEGINDATUM, 'T')"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="substring-before (EINDDATUM, 'T')"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="OPZEGTERMIJN"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="OPZEGDATUM"/></td>
|
||||
<td style="text-align:left; white-space:nowrap;"><xsl:value-of select="substring-before (OPZEGDATUM, 'T')"/></td>
|
||||
<td style="text-align:left"><xsl:value-of select="FCLT_F_CONTRACTSTATUS"/></td>
|
||||
<td style="text-align:left"><xsl:value-of select="OPTIE_SYSTEMATIEK"/></td>
|
||||
<td style="text-align:left"><xsl:value-of select="REGRUBRIEK"/></td>
|
||||
|
||||
101
CUST/VLKC/custfunctions.wsc
Normal file
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0"?>
|
||||
<component>
|
||||
<?component error="true" debug="true"?>
|
||||
<registration
|
||||
description="custfunctions"
|
||||
progid="custfunction.wsc"
|
||||
version="1.00"
|
||||
classid="{4F51571C-1DFC-4769-B8DD-37B356378F12}"
|
||||
>
|
||||
</registration>
|
||||
|
||||
<public>
|
||||
|
||||
<!-- properties -->
|
||||
<property name="Oracle">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__Log">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="__DoLog">
|
||||
<put/>
|
||||
</property>
|
||||
<property name="safe">
|
||||
<put/>
|
||||
</property>
|
||||
|
||||
<!-- methods -->
|
||||
<method name="bes_punch_receive">
|
||||
<PARAMETER name="RequestForm"/>
|
||||
<PARAMETER name="bes_srtdeel_key"/>
|
||||
<PARAMETER name="item"/>
|
||||
</method>
|
||||
|
||||
</public>
|
||||
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
|
||||
/*
|
||||
$Revision$
|
||||
$Id$
|
||||
*/
|
||||
|
||||
function put_Oracle(newValue) {Oracle = newValue};
|
||||
function put___Log(newValue) {__Log = newValue};
|
||||
function put___DoLog(newValue) {__DoLog = newValue};
|
||||
function put_safe(newValue) {safe = newValue};
|
||||
|
||||
/* Dit zijn de enige drie functies die je mag gebruiken */
|
||||
var Oracle;
|
||||
var __Log;
|
||||
var __DoLog;
|
||||
var safe;
|
||||
|
||||
|
||||
|
||||
bes_punch_receive = function (RequestForm, bes_srtdeel_key, item, pResult)
|
||||
{
|
||||
var result = {orderurl: ""};
|
||||
var sql = "SELECT sd.prs_bedrijf_key FROM bes_srtdeel sd WHERE sd.bes_srtdeel_key = " + bes_srtdeel_key;
|
||||
var oRs = Oracle.Execute(sql);
|
||||
var bedr_key = oRs("prs_bedrijf_key").value;
|
||||
oRs.Close();
|
||||
|
||||
function punchNVL(nm, n, def)
|
||||
{
|
||||
var nm = nm.replace('#', n);
|
||||
if (RequestForm(nm).Count() == 0)
|
||||
return def;
|
||||
if (RequestForm(nm) == "")
|
||||
return def;
|
||||
return RequestForm(nm)(1);
|
||||
};
|
||||
|
||||
// Alleen voor leverancier Fleurop Interflora Nederland BV uitvoeren
|
||||
if (bedr_key == 5941)
|
||||
{
|
||||
// PO
|
||||
var po_nr = punchNVL("NEW_ITEM-CUST_FIELD3[#]", item, "Onbekend");
|
||||
__Log('PO-NR: CUST_FIELD3[' + item + ']= ' + po_nr);
|
||||
if (po_nr != 'Onbekend')
|
||||
{
|
||||
sql = "UPDATE bes_srtdeel SET bes_srtdeel_opmerking = " + safe.quoted_sql(po_nr) + " WHERE bes_srtdeel_key = " + bes_srtdeel_key;
|
||||
Oracle.Execute(sql);
|
||||
}
|
||||
// BTW
|
||||
var btw_perc = punchNVL("NEW_ITEM-CUST_FIELD4[#]", item, "Onbekend");
|
||||
__Log('BTW-PERCENTAGE: CUST_FIELD4[' + item + ']= ' + btw_perc);
|
||||
if (btw_perc != 'Onbekend')
|
||||
{
|
||||
sql = "UPDATE bes_srtdeel SET bes_srtdeel_btw = ROUND(" + parseFloat(btw_perc) + ") WHERE bes_srtdeel_key = " + bes_srtdeel_key;
|
||||
Oracle.Execute(sql);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</component>
|
||||
171
CUST/VLKC/xsl/cxml.xsl
Normal file
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="xml" encoding="utf-8"/>
|
||||
|
||||
<xsl:variable name="Rev">
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:decimal-format name="european" decimal-separator="." grouping-separator=","/>
|
||||
|
||||
<xsl:param name="mode"/>
|
||||
|
||||
<xsl:template name="substring-after-last">
|
||||
<xsl:param name="string"/>
|
||||
<xsl:param name="delimiter"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains($string, $delimiter)">
|
||||
<xsl:call-template name="substring-after-last">
|
||||
<xsl:with-param name="string" select="substring-after ($string, $delimiter)"/>
|
||||
<xsl:with-param name="delimiter" select="$delimiter"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select="$string"/></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="bestelopdracht">
|
||||
<!--Facilitor custom XSL template for cXML bestelopdracht-->
|
||||
<xsl:variable name="orderdate">
|
||||
<xsl:value-of select="datum/jaar"/>-<xsl:value-of select="datum/maand"/>-<xsl:value-of select="datum/dag"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="bt_naam">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string-length(bestelling/kostenplaats/nr)=4 and substring(bestelling/kostenplaats/nr, 1, 1)='1'">Kempen & Co</xsl:when>
|
||||
<xsl:otherwise>F. van Lanschot Bankiers NV</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="bt_mail">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string-length(bestelling/kostenplaats/nr)=4 and substring(bestelling/kostenplaats/nr, 1, 1)='1'">financekco@kempen.nl</xsl:when>
|
||||
<xsl:otherwise>facturen@vanlanschot.com</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:element name="cXML">
|
||||
<xsl:attribute name="version">1.2.016</xsl:attribute>
|
||||
<xsl:attribute name="payloadID"><xsl:value-of select="key"/></xsl:attribute>
|
||||
<xsl:attribute name="timestamp"><xsl:value-of select="$orderdate"/>T<xsl:value-of select="datum/tijd"/>:00+01:00</xsl:attribute>
|
||||
<xsl:attribute name="xml:lang">NL</xsl:attribute>
|
||||
<Header>
|
||||
<From>
|
||||
<xsl:element name="Credential">
|
||||
<xsl:attribute name="domain"><xsl:value-of select="/facilitor/header/custId"/></xsl:attribute>
|
||||
<Identity/>
|
||||
</xsl:element>
|
||||
</From>
|
||||
<To>
|
||||
<xsl:element name="Credential">
|
||||
<xsl:attribute name="domain"><xsl:value-of select="bedrijf/naam"/></xsl:attribute>
|
||||
<Identity/>
|
||||
</xsl:element>
|
||||
</To>
|
||||
<Sender>
|
||||
<Credential domain="Facilitor">
|
||||
<Identity/>
|
||||
</Credential>
|
||||
<UserAgent/>
|
||||
</Sender>
|
||||
</Header>
|
||||
<Request>
|
||||
<OrderRequest>
|
||||
<xsl:element name="OrderRequestHeader">
|
||||
<!--xsl:attribute name="orderID"><xsl:value-of select="id"/></xsl:attribute-->
|
||||
<xsl:attribute name="orderID"><xsl:value-of select="concat('B', id)"/></xsl:attribute>
|
||||
<xsl:attribute name="orderDate"><xsl:value-of select="$orderdate"/></xsl:attribute>
|
||||
<Total>
|
||||
<Money currency="EUR"><xsl:value-of select="format-number(sum(bestelopdrachtitem/totaal), '0.00', 'european')"/></Money>
|
||||
</Total>
|
||||
<ShipTo>
|
||||
<xsl:element name="Address">
|
||||
<xsl:choose>
|
||||
<xsl:when test="bedrijf/key='5941'">
|
||||
<!--Leeg voor Fleurop (niet bekend in FACILITOR, maar wel bij Fleurop!-->
|
||||
<xsl:attribute name="addressID"/>
|
||||
<Name xml:lang="NL"/>
|
||||
<PostalAddress>
|
||||
<DeliverTo/>
|
||||
<Street/>
|
||||
<City/>
|
||||
<State/>
|
||||
<PostalCode/>
|
||||
<Country isoCountryCode="NL"/>
|
||||
</PostalAddress>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:attribute name="addressID"/>
|
||||
<Name xml:lang="NL"><xsl:value-of select="afleveradres/naam"/></Name>
|
||||
<PostalAddress>
|
||||
<DeliverTo><xsl:value-of select="bestelling/aanvrager/naam_full"/></DeliverTo>
|
||||
<Street><xsl:value-of select="bestelling/afleveradres/bezoek_adres"/></Street>
|
||||
<City><xsl:value-of select="bestelling/afleveradres/bezoek_plaats"/></City>
|
||||
<State></State>
|
||||
<PostalCode><xsl:value-of select="bestelling/afleveradres/bezoek_postcode"/></PostalCode>
|
||||
<Country isoCountryCode="NL"><xsl:value-of select="bestelling/afleveradres/bezoek_land"/></Country>
|
||||
</PostalAddress>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:element>
|
||||
</ShipTo>
|
||||
<BillTo>
|
||||
<xsl:element name="Address">
|
||||
<xsl:attribute name="addressID"/>
|
||||
<Name xml:lang="NL"><xsl:value-of select="$bt_naam"/></Name>
|
||||
<PostalAddress name="Finance, Reporting & Control">
|
||||
<Street>Postbus 75666</Street>
|
||||
<City>Amsterdam</City>
|
||||
<State/>
|
||||
<PostalCode>1070 AR</PostalCode>
|
||||
<Country isoCountryCode="NL">Nederland</Country>
|
||||
</PostalAddress>
|
||||
<Email><xsl:value-of select="$bt_mail"/></Email>
|
||||
</xsl:element>
|
||||
</BillTo>
|
||||
<Contact>
|
||||
<Name xml:lang="NL"><xsl:value-of select="bestelling/aanvrager/naam_full"/></Name>
|
||||
<Email><xsl:value-of select="bestelling/aanvrager/email"/></Email>
|
||||
</Contact>
|
||||
<Extrinsic name="PO"><xsl:value-of select="bestelopdrachtitem/bestelitem/srtdeel/opmerking"/></Extrinsic>
|
||||
<Extrinsic name="Costcenter"><xsl:value-of select="bestelling/kostenplaats/nr"/></Extrinsic>
|
||||
</xsl:element>
|
||||
<xsl:for-each select="bestelopdrachtitem">
|
||||
<xsl:sort select="srtdeel/omschrijving"/>
|
||||
<xsl:sort select="posnr"/>
|
||||
<xsl:element name="ItemOut">
|
||||
<xsl:attribute name="quantity"><xsl:value-of select="aantal"/></xsl:attribute>
|
||||
<xsl:attribute name="lineNumber"><xsl:value-of select="posnr"/></xsl:attribute>
|
||||
<xsl:attribute name="requestedDeliveryDate"><xsl:value-of select="$orderdate"/></xsl:attribute>
|
||||
<ItemID>
|
||||
<SupplierPartID><xsl:value-of select="bestelitem/srtdeel/artikel_nummer"/></SupplierPartID>
|
||||
</ItemID>
|
||||
<ItemDetail>
|
||||
<UnitPrice>
|
||||
<Money currency="EUR"><xsl:value-of select="format-number(prijs, '0.00', 'european')"/></Money>
|
||||
</UnitPrice>
|
||||
<Description xml:lang="NL"><xsl:value-of select="bestelitem/srtdeel/omschrijving"/></Description>
|
||||
<UnitOfMeasure><xsl:value-of select="bestelitem/srtdeel/eenheid"/></UnitOfMeasure>
|
||||
<Classification domain=""/>
|
||||
</ItemDetail>
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
</OrderRequest>
|
||||
</Request>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="facilitor">
|
||||
<xsl:apply-templates select="bestelopdracht"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$mode='getExtension'">
|
||||
<xsl:element name="format">
|
||||
<xsl:element name="extension">xml</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates select="facilitor"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -2,7 +2,7 @@
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt">
|
||||
<xsl:import href="../../../appl/shared/default.xsl"/>
|
||||
|
||||
<xsl:variable name="Xsrtnotificatiecode">RESNEW</xsl:variable>
|
||||
<xsl:variable name="srtnotificatiecode">RESNEW</xsl:variable>
|
||||
|
||||
<!-- ****************************************************************************************************************** -->
|
||||
<!-- Hier komen de USER-rapportage functies -->
|
||||
@@ -758,7 +758,7 @@
|
||||
Locatie <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:call-template name="res_begintext"/>
|
||||
<xsl:call-template name="res_begintext"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
@@ -817,14 +817,14 @@
|
||||
<td class="tekstkop" colspan="2" style="text-align:right;border-width:0px;">
|
||||
<xsl:call-template name="europrijs">
|
||||
<xsl:with-param name="prijs" select="sum(rsv_ruimte/prijs[string(number(.))!='NaN'])+sum(rsv_ruimte/rsv_deel/prijs[string(number(.))!='NaN'])+sum(rsv_ruimte/rsv_artikel/prijs[string(number(.))!='NaN'])"/>
|
||||
</xsl:call-template>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:call-template name="res_endtext">
|
||||
<xsl:call-template name="res_endtext">
|
||||
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
|
||||
</xsl:call-template>
|
||||
<xsl:choose>
|
||||
@@ -881,5 +881,208 @@
|
||||
</TABLE>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="rsv_ruimte">
|
||||
<xsl:param name="min_volgnr"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="res_ruimte!=''">
|
||||
<td class="tekstkop" colspan="10" frame="box"><u>
|
||||
<xsl:if test="dirtlevel!='0'">
|
||||
<span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> 
|
||||
</xsl:if>
|
||||
<xsl:value-of select="van/datum"/> 
|
||||
<xsl:value-of select="//lcl/RES/deelreservering"/> <xsl:value-of select="../key"/> /<xsl:value-of select="volgnr"/> 
|
||||
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>) </xsl:if>
|
||||
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/></u>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<!-- "roomservice" -->
|
||||
<xsl:otherwise>
|
||||
<td class="tekstkop" colspan="10" frame="box" style="border-style:solid;border-width:0px;"><u>
|
||||
<xsl:if test="dirtlevel!='0'">
|
||||
<span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> 
|
||||
</xsl:if>
|
||||
<xsl:value-of select="van/datum"/>
|
||||
<xsl:if test="string(van/datum)!=string(tot/datum)">
|
||||
 - <xsl:value-of select="tot/datum"/>
|
||||
</xsl:if> 
|
||||
<xsl:value-of select="//lcl/RES/deelreservering"/> <xsl:value-of select="../key"/> /<xsl:value-of select="volgnr"/> 
|
||||
<xsl:value-of select="plaats/plaatsaanduiding"/></u>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
<xsl:if test="string(omschrijving)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/omschrijving)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;"><xsl:value-of select="//lcl/FAC/omschrijving"/></td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
: <xsl:value-of select="omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="string(contact_user/naam_full)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full)">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
: <xsl:value-of select="contact_user/naam_full"/>/ <xsl:value-of select="contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/RES/status"/></td>
|
||||
<td class="value" colspan="5">: <xsl:value-of select="status_fo"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/RES/gastheer_vrouw"/></td>
|
||||
<td class="value" colspan="5">: <xsl:value-of select="host_user/naam_full"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
|
||||
<td class="value" colspan="5">: <xsl:value-of select="kostenplaats/nr"/> 
|
||||
<xsl:value-of select="kostenplaats/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="string(opmerking)!=''">
|
||||
<tr>
|
||||
<td class="label" frame="box" style="border-style:solid;border-width:0px;"> <xsl:value-of select="//lcl/FAC/opmerking"/></td>
|
||||
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
|
||||
: <xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="opmerking"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr>
|
||||
<td colspan="10" style="border-top:1px solid #000;"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="resth" width="24%" align="left"><xsl:value-of select="//lcl/FAC/omschrijving"/></th>
|
||||
<th class="resth" width="14%" align="left"><xsl:value-of select="//lcl/RES/aantal"/></th>
|
||||
<!--<th width="80">Datum</th>-->
|
||||
<th class="resth" width="14%" style="text-align:right"><xsl:value-of select="//lcl/RES/begintijd"/></th>
|
||||
<th class="resth" width="14%" style="text-align:right"><xsl:value-of select="//lcl/RES/eindtijd"/></th>
|
||||
<th class="resth" width="16%" align="center"><xsl:value-of select="//lcl/RES/opstelling"/></th>
|
||||
<th class="resth" width="17%" style="text-align:right"><xsl:value-of select="//lcl/RES/prijs"/></th>
|
||||
</tr>
|
||||
<xsl:if test="res_ruimte!=''">
|
||||
<tr>
|
||||
<td width="24%" class="resresult" style="text-align:left;"><xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> </xsl:if>
|
||||
<xsl:value-of select="res_ruimte/nr"/>
|
||||
<br/>(max. <xsl:value-of select="res_ruimte/bezoekers"/> <xsl:value-of select="//lcl/FAC/personen"/>)</td>
|
||||
<td width="14%" class="resresult" style="text-align:left">
|
||||
<xsl:value-of select="bezoekers"/> <xsl:value-of select="//lcl/FAC/personen"/></td>
|
||||
<!--<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/datum"/>
|
||||
</td>-->
|
||||
<td width="14%" class="resresult" style="text-align:right">
|
||||
<xsl:value-of select="van/tijd"/>
|
||||
</td>
|
||||
<td width="14%" class="resresult" style="text-align:right">
|
||||
<xsl:value-of select="tot/tijd"/>
|
||||
</td>
|
||||
<td width="16%" class="resresult" style="text-align:center">
|
||||
<xsl:value-of select="res_ruimte/opstelling"/>
|
||||
</td>
|
||||
<td width="17%" class="resresult" style="text-align:right">
|
||||
<xsl:call-template name="europrijs">
|
||||
<xsl:with-param name="prijs" select="prijs"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<!-- rsv_deel-lijst gesorteerd op van-tijd -->
|
||||
<xsl:for-each select="rsv_deel">
|
||||
<xsl:sort select="van/tijd"/>
|
||||
<tr>
|
||||
<td class="resresult"><xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> </xsl:if>
|
||||
<xsl:value-of select="res_deel/deel/omschrijving"/>
|
||||
</td>
|
||||
<td class="resresult">
|
||||
<xsl:value-of select="aantal"/>
|
||||
</td>
|
||||
<!--<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="van/datum"/>
|
||||
</td>-->
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:value-of select="van/tijd"/>
|
||||
</td>
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:value-of select="tot/tijd"/>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:call-template name="europrijs">
|
||||
<xsl:with-param name="prijs" select="prijs"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<!-- rsv_artikel-lijst gesorteerd op van-tijd -->
|
||||
<xsl:for-each select="rsv_artikel">
|
||||
<xsl:sort select="levering/tijd"/>
|
||||
<tr>
|
||||
<td class="resresult">
|
||||
<xsl:value-of select="res_artikel/omschrijving"/>
|
||||
</td>
|
||||
<td class="resresult">
|
||||
<xsl:value-of select="aantal"/>
|
||||
</td>
|
||||
<!--<td class="result" style="text-align:right">
|
||||
<xsl:value-of select="levering/datum"/>
|
||||
</td>-->
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:value-of select="levering/tijd"/>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="resresult" style="text-align:right">
|
||||
<xsl:call-template name="europrijs">
|
||||
<xsl:with-param name="prijs" select="prijs"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
<!-- totaal per deelreservering -->
|
||||
<tr height="1">
|
||||
<td colspan="10" style="border-top:1px solid #000;"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tekst" colspan="4" style="border-style:solid;border-width:0px;"></td>
|
||||
<td class="tekst" colspan="2" style="text-align:right;border-style:solid;border-width:0px;"><b>
|
||||
<xsl:call-template name="europrijs">
|
||||
<xsl:with-param name="prijs" select="sum(prijs[string(number(.))!='NaN'])+sum(rsv_deel/prijs[string(number(.))!='NaN'])+sum(rsv_artikel/prijs[string(number(.))!='NaN'])"/>
|
||||
</xsl:call-template></b>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- afspraak-lijst gesorteerd op naam -->
|
||||
<xsl:for-each select="afspraak/bezoeker">
|
||||
<xsl:sort select="naam"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = 1">
|
||||
<tr>
|
||||
<td class="tekst" style="border-style:solid;border-width:0px;">
|
||||
<br/><xsl:value-of select="//lcl/BEZ/bezoekers"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><xsl:value-of select="//lcl/FAC/naam"/></th>
|
||||
<th colspan="3"><xsl:value-of select="//lcl/FAC/bedrijf"/></th>
|
||||
<th colspan="4"><xsl:value-of select="//lcl/BEZ/parkeerplaats"/></th>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<tr>
|
||||
<td class="result">
|
||||
<xsl:value-of select="naam"/>
|
||||
</td>
|
||||
<td class="result" colspan="3">
|
||||
<xsl:value-of select="bedrijf"/>
|
||||
</td>
|
||||
<td class="result" colspan="4">
|
||||
<xsl:value-of select="deel/omschrijving"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||