Merge Release 2017.2 Gold D

svn path=/Website/trunk/; revision=36512
This commit is contained in:
Jos Groot Lipman
2018-01-09 08:24:59 +00:00
32 changed files with 1600 additions and 1536 deletions

View File

@@ -951,7 +951,7 @@ api2 = {
else
var val = oRs(field.dbs.split(".")[1]).Value;
if (val === null)
if (val === null && !field.invert)
return val;
switch (field.typ)

View File

@@ -146,6 +146,7 @@ var api2_mapper = {
"invoices" : { "filename": "appl/api2/api_invoices.asp", "module": "FIN" },
"objects" : { "filename": "appl/api2/api_objects.asp", "module": "INS" },
"inspections" : { "filename": "appl/api2/api_ins_deelsrtcontrole.asp", "module": "INS" },
"statehistory" : { "filename": "appl/mgt/ins_deel_state_history.asp", "module": "INS" },
"companies" : { "filename": "appl/api2/api_companies.asp", "module": "PRS" },
"departments" : { "filename": "appl/mgt/prs_afdeling.asp", "module": "PRS" },

View File

@@ -44,7 +44,6 @@ function model_alg_srtgebouw()
"dbs": "alg_srtgebouw_passief",
"label": L("alg_srtgebouw_passief"),
"typ": "check",
"invert": true,
"multiedit": true
}
};

View File

@@ -0,0 +1,60 @@
<% /*
$Revision$
$Id$
File: model_ins_deel_state_history.inc
Description: State history model.
Parameters:
Context:
Notes: Altijd readonly.
Je moet WEB_INSUSE op de discipline hebben, er is (nog) geen 3D controle
Verondersteld wordt dat je in de praktijk altijd filtert op
bijvoorbeeld &start_statedate=2018-01-01T00:00:00Z
*/
%>
<%
function model_ins_deel_state_history(params)
{
params = params || {};
this.table = "ins_deel_state_history";
this.primary = "ins_deel_state_history_key";
this.records_name = "statehistory";
this.record_name = "statehistory";
this.autfunction = false; // Authorisatie alleen via ins_deel.ins_discipline_key
params.authparams = user.checkAutorisation("WEB_INSUSE");
this.fields = { "id" : { dbs: "ins_deel_state_history_key", typ: "key" },
"object" : { dbs: "ins_deel_key", typ: "key", foreign: "ins_deel" },
"state" : { dbs: "ins_deel_state", typ: "varchar" },
"statedate": { dbs: "ins_deel_statedate", typ: "datetime" },
"remark" : {
"dbs": "ins_deel_state_history_opmerk",
"typ": "memo"
}
};
var gparams = {
GET: {
tables: [
"ins_deel"
],
wheres: [
"ins_deel_state_history.ins_deel_key = ins_deel.ins_deel_key",
"ins_deel.ins_discipline_key IN"
+ " (SELECT ins_discipline_key"
+ " FROM fac_v_webgebruiker"
+ " WHERE fac_functie_key = " + params.authparams.autfunctionkey
+ " AND prs_perslid_key = " + user_key
+ " AND fac_gebruiker_prs_level_read < 9"
+ " AND fac_gebruiker_alg_level_read < 9)"
]
}
};
this.REST_GET = generic_REST_GET(this, gparams);
// updaten doe je door ins_deel.ins_deel_state te wijzigen
}
%>

View File

@@ -112,7 +112,7 @@ function model_ins_srtcontrole()
"inspectionmode": {
"dbs": "ins_srtcontrole_mode",
"label": L("ins_srtcontrole_mode"),
"typ": "key",
"typ": "number",
"required": true,
"LOV": L("ins_srtcontrole_modeLOV"),
"track": true
@@ -137,7 +137,7 @@ function model_ins_srtcontrole()
"unit": {
"dbs": "ins_srtcontrole_eenheid",
"label": L("ins_srtcontrole_eenheid"),
"typ": "key",
"typ": "number",
"required": true,
"LOV": L("ins_srtcontrole_eenheidLOV"),
"track": true

View File

@@ -41,6 +41,10 @@ model_objects =
"owner" : { dbs: "ins_v_deel_gegevens.prs_perslid_key", typ: "key", foreign: "prs_perslid" }
},
// een include van model_ins_deel_state_history lijkt voor de hand te liggen
// maar gaf (vast oplosbare) problemen met een dubbele ins_deel in de query
// Bovendien wil je in de praktijk altijd een datumfilter op de statedatum hebben
// wat niet kan op een include. Doe daarom maar /api2/statehistory?object=16506&start_statedate=2017-11-01T12:20:16Z&fields=state,statedate
includes: { "tracking": {
model: new model_tracking(['deel']),
joinfield: "trackingrefkey"
@@ -57,7 +61,6 @@ model_objects =
var autfunction = urole == "fe"? "WEB_INSUSE" : "WEB_INSMAN";
params.authparams = user.checkAutorisation(autfunction, null, null, true); // pessimistisch
// TODO: Add authorization
var query = api2.sqlfields(params, model_objects);
query.wheres.push("ins_deel_verwijder IS NULL");
// Toon standaard alleen de niet vervallen objecten, behalve als specifiek op object identificatie wordt gezocht.
@@ -75,6 +78,16 @@ model_objects =
query.wheres.push("ins_alg_ruimte_key_org IS NULL");
}
// TODO: Add 3D authorization
// Alleen nog maar simpele 1D autorisatie
query.wheres.push(" ins_deel.ins_discipline_key IN"
+ " (SELECT ins_discipline_key"
+ " FROM fac_v_webgebruiker"
+ " WHERE fac_functie_key = " + params.authparams.autfunctionkey
+ " AND prs_perslid_key = " + user_key
+ " AND fac_gebruiker_prs_level_read < 9"
+ " AND fac_gebruiker_alg_level_read < 9)");
// TODO: We ondersteunen uitsluitend ruimte- werkplek- en persoonsgebonden objecten
query.tables.push("ins_v_deel_gegevens");
query.wheres.push("ins_deel.ins_alg_ruimte_type IN ('R', 'W', 'P') ");

View File

@@ -312,7 +312,7 @@ var authparams = user.checkAutorisation("WEB_INSUSE");
var aantal = oRs("ins_deel_aantal").Value || 0;
var totaal = aantal * kosten;
return totaal > 0? totaal : null;
return totaal > 0? safe.curr(totaal) : null;
}
var buttons = [];

View File

@@ -94,7 +94,7 @@ if (freeze && groupby < 8)
var oRs = Oracle.Execute(mjblist_sql);
user.anything_todo_or_abort(!oRs.eof); // We klagen niet over enkele wel en enkele niet
var insert_sql = "BEGIN ";
var freeze_sql = "BEGIN ";
while (!oRs.eof)
{
var ins_key = oRs("ins_deel_key").Value;
@@ -104,37 +104,53 @@ if (freeze && groupby < 8)
var kosten = oRs("freeze_bedrag").Value;
var opm_has_higherprio = oRs("opm_has_higherprio").Value;
ingesloten.push({ins_key: ins_key, srtcont_key: srtcont_key, dlsrtcont_key: -1,
inspectiestatus: inspstatus, kosten: kosten, ismjob: true});
kosten: kosten, ismjob: true});
insert_sql += "INSERT INTO ins_deelsrtcontrole(ins_deel_key"
+ " , ins_srtcontrole_key"
+ " , ins_deelsrtcontrole_status"
+ " , prs_perslid_key"
+ (nextdate
? " , ins_deelsrtcontrole_datum_org"
: "")
+ " , ins_deelsrtcontrole_freezecost"
+ " , ins_deelsrtcontrole_freezedate"
+ " , ins_deelsrtcontrole_opmerking"
+ " )"
+ " VALUES (" + ins_key
+ " , " + srtcont_key
+ " , 2"
+ " , " + user_key
+ (nextdate
? " , " + nextdate.toSQL(true)
: "")
+ " , " + kosten
+ " , TRUNC(TO_DATE(TO_CHAR(SYSDATE, 'DD-MON') || '-" + mjb_freeze_year + "', 'DD-MON-YYYY'), 'YEAR')"
+ " , " + safe.quoted_sql(opm_has_higherprio)
+ " )"
+ ";";
if (inspstatus == 0)
// Er is al een ingeplande inspectie. Deze kan nu gestart worden.
// Status staat al op Gepland(0) en zal later op In behandeling(2) worden gezet zodat de wijziging ook getrackt gaat worden.
// De prs_perslid_key pas ik niet aan. Aan de tracking, die verderop wordt aangemaakt, kan ik wel zien wie deaccordeerd/gefreezed heeft.
freeze_sql += "UPDATE ins_deelsrtcontrole"
+ " SET ins_deelsrtcontrole_freezecost = " + kosten
+ " , ins_deelsrtcontrole_freezedate = TRUNC(TO_DATE(TO_CHAR(SYSDATE, 'DD-MON') || '-" + mjb_freeze_year + "', 'DD-MON-YYYY'), 'YEAR')"
+ " , ins_deelsrtcontrole_opmerking = " + safe.quoted_sql(opm_has_higherprio)
+ (nextdate
? " , ins_deelsrtcontrole_datum_org = " + nextdate.toSQL(true)
: "")
+ " WHERE ins_deel_key = " + ins_key
+ " AND ins_srtcontrole_key = " + srtcont_key
+ " AND ins_deelsrtcontrole_status = 0"
+ ";";
else
freeze_sql += "INSERT INTO ins_deelsrtcontrole(ins_deel_key"
+ " , ins_srtcontrole_key"
+ " , ins_deelsrtcontrole_status"
+ " , prs_perslid_key"
+ " , ins_deelsrtcontrole_freezecost"
+ " , ins_deelsrtcontrole_freezedate"
+ " , ins_deelsrtcontrole_opmerking"
+ (nextdate
? " , ins_deelsrtcontrole_datum_org"
: "")
+ " )"
+ " VALUES (" + ins_key
+ " , " + srtcont_key
+ " , 2"
+ " , " + user_key
+ " , " + kosten
+ " , TRUNC(TO_DATE(TO_CHAR(SYSDATE, 'DD-MON') || '-" + mjb_freeze_year + "', 'DD-MON-YYYY'), 'YEAR')"
+ " , " + safe.quoted_sql(opm_has_higherprio)
+ (nextdate
? " , " + nextdate.toSQL(true)
: "")
+ " )"
+ ";";
oRs.MoveNext();
}
oRs.Close();
insert_sql += " END;"
freeze_sql += " END;"
var err = Oracle.Execute(insert_sql, true);
var err = Oracle.Execute(freeze_sql, true);
if (err.friendlyMsg)
result.message = err.friendlyMsg;
@@ -370,7 +386,7 @@ else
result.success = false;
}
}
// else de melding is wellicht ingepland. Dan zet we later wel de status op 2.
// else de melding is wellicht ingepland. Dan zetten we later wel de status op 2.
}
}

View File

@@ -0,0 +1,23 @@
<%@language = "javascript" %>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_ins_deel_state_history.inc" -->
<%
var this_model = new model_ins_deel_state_history();
scaffolding(this_model,
{
"search": {
"autosearch": true
},
"list": {
"columns": [
"id",
"object",
"state",
"statedate"
]
}
});
%>

File diff suppressed because it is too large Load Diff

View File

@@ -51,7 +51,7 @@
<soap:Body>
<ns:PostMessageRequest>
<ns:MessageServiceMessage>
<ns:MsgId>1</ns:MsgId>
<ns:MsgId><xsl:apply-templates select="etim/header/etim_MsgId"/></ns:MsgId>
<ns:MsgType>ORDERS</ns:MsgType>
<ns:MsgFormat>SALES</ns:MsgFormat>
<ns:MsgVersion>005</ns:MsgVersion>

View File

@@ -51,7 +51,7 @@
<soap:Body>
<ns:PostMessageRequest>
<ns:MessageServiceMessage>
<ns:MsgId>1</ns:MsgId>
<ns:MsgId><xsl:apply-templates select="etim/header/etim_MsgId"/></ns:MsgId>
<ns:MsgType>ORDERS</ns:MsgType>
<ns:MsgFormat>SALES</ns:MsgFormat>
<ns:MsgVersion>005</ns:MsgVersion>

View File

@@ -13,6 +13,7 @@
<etim_Password><xsl:value-of select="uitvoerende/bedrijf/bedrijfadres/password"/></etim_Password>
<etim_MsgDateTime><xsl:value-of select="//header/dateYear"/>-<xsl:value-of select="//header/dateMonth"/>-<xsl:value-of select="//header/dateDay"/>T<xsl:value-of select="substring-after(//header/dateTime,' ')"/></etim_MsgDateTime>
<etim_VersionId><xsl:value-of select="//header/version"/></etim_VersionId>
<etim_MsgId><xsl:value-of select="key"/>@<xsl:value-of select="substring(//header/dateYear,3,2)"/><xsl:value-of select="//header/dateMonth"/><xsl:value-of select="//header/dateDay"/>T<xsl:value-of select="substring-after(//header/dateTime,' ')"/></etim_MsgId>
</header>
<!-- SIDB Onderhoudsopdracht 'insbou' Variant 'Basismodel010' versie 001 (releasedatum 11-2015) -->
<MaintenanceInstruction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ketenstandaard.nl/onderhoudsopdracht/SALES/005" xsi:schemaLocation="http://www.ketenstandaard.nl/onderhoudsopdracht/SALES/005 Onderhoudsopdracht_SALES005Beta.xsd">

View File

@@ -1238,7 +1238,7 @@ function alternate(){
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/?<xsl:value-of select="../bookmarks/reservering"/><xsl:value-of select="rsv_ruimte/key"/>&amp;urole=fe&amp;sso=2</xsl:attribute>
Klik hier</xsl:element>
<br /><br />Met vriendelijke groet, <br />Facility team PCH<br /><br />
<br /><br />Met vriendelijke groet, <br />Facility team De Groene Schakel<br /><br />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="res_begintext"/>

View File

@@ -1,15 +0,0 @@
/*
* $Revision$
* $Modtime: 20-01-12 13:44 $
*/
@import "../AAXX/default.css";
#headerblok
{
background: url(fac_head_l.gif) no-repeat;
background-color: #FFFFFF;
background-position: 0px 0px;
color: #000002;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,26 +0,0 @@
REM GEN_EXPORT_EXACT.BAT
REM
REM Exporteert informatie naar een export-bestand
REM
REM Context : roep deze file aan indien nodig, of schedule deze
REM Verseist: de randvoorwaarde voor het gebruik van gen_export
REM
REM $Revision$
REM $Id$
REM
REM (c) 2010, SG|facilitor bv, +31 (53) 4800700, support@sgfacilitor.nl
REM
CALL ..\..\..\utils\gen_export\gen_export.bat EXACT
CALL ..\..\..\utils\gen_export\gen_export.bat VERWERK_EXACT
CALL ..\..\..\utils\gen_export\gen_export.bat BUNDEL_CATERING
CALL ..\..\..\utils\gen_export\gen_export.bat EXACT_VERKOOP
CALL ..\..\..\utils\gen_export\gen_export.bat EXACT_VERKOOP_VJ
CALL ..\..\..\utils\gen_export\gen_export.bat EXACT_UREN
CALL ..\..\..\utils\gen_export\gen_export.bat VERWERK_EXACT_UREN

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

View File

@@ -0,0 +1,141 @@
// GetStruktonStatus.js
// Haalt statuswijzigingen op van Strukton opdrachten binnen een opgegeven tijdsinterval.
// Dit interval wordt opgeslagen in de database. Kan daarna via GEN_IMPORT ingelezen worden
//
// $Revision$
// $Id$
//
// Opzet in kader van AASA#
// Twee parameters: UDL voor database connectie en optioneel proxy-ip
var str = WScript.Arguments(0); // udlpath
var prs_bedrijf_key = WScript.Arguments(1); // prs_bedrijf_key
function GetStruktonStatus()
{
var XMLReq= "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">"
+" <soapenv:Header/>"
+" <soapenv:Body>"
+" <GetServiceRequestStatusPlus>"
+" <Status>"
+" <CustomerID>" + prs_overeenkomst_nr + "</CustomerID>"
+" <ReferenceID></ReferenceID>"
+" <ServiceRequestID></ServiceRequestID>"
+" <BeginDateTime>"+ laatste_sync +"</BeginDateTime>"
+" <EndDateTime>"+ nieuwe_sync +"</EndDateTime>"
+" </Status>"
+" </GetServiceRequestStatusPlus>"
+" </soapenv:Body>"
+"</soapenv:Envelope>";
WScript.Echo("Bericht = " + XMLReq);
WScript.Echo("Login = " + username);
//WScript.Echo("Wachtwoord = " + password);
var objXMLHTTP = new ActiveXObject("MSXML2.ServerXMLHTTP.6.0")
/* objXMLHTTP.open("POST",
"https://b2bdev.ws.strukton.com:443/XISOAPAdapter/MessageServlet?channel=Facilitor:BS_ServiceRequest:S_WS_STATUS",
false,
"Facilitor",
"Facilit0r!");*/
objXMLHTTP.open("POST",
mldorder_adres,
false,
username,
password);
objXMLHTTP.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
if (order_certificate)
{
WScript.Echo("Certificaatnaam = " + order_certificate);
var SXH_OPTION_SELECT_CLIENT_SSL_CERT = 3;
objXMLHTTP.setOption(SXH_OPTION_SELECT_CLIENT_SSL_CERT) = order_certificate;
}
objXMLHTTP.send(XMLReq);
dataReceived = false;
if (objXMLHTTP.status==200)
{ // Geldigheid XML wordt gecontroleerd door GEN_IMPORT
WScript.Echo("Gelukt, status = " + objXMLHTTP.status);
responseText = "" + objXMLHTTP.responseText;
//WScript.Echo("resultaat = " + resultaat.indexOf("<ErrorLog><Note>Geen items gevonden</Note></ErrorLog>"));
//if resultaat.substr("<ErrorLog><Note>Geen items gevonden</Note></ErrorLog>")
if (responseText.indexOf("<ErrorLog><Note>Geen items gevonden</Note></ErrorLog>") == -1) {
dataReceived = true;
oStream = new ActiveXObject("ADODB.Stream");
oStream.Open();
oStream.Type = 1; // adTypeBinary
oStream.Write(objXMLHTTP.responseBody); // responseText geeft encoding problemen!
oStream.SaveToFile (fileName, 2); // adSaveCreateOverWrite
oStream.Close();
}
sql = "UPDATE prs_kenmerklink SET prs_kenmerklink_waarde = '" + nieuwe_ts + "' WHERE prs_kenmerklink_key = " + prs_kenmerklink_key;
WScript.Echo (sql);
Oracle.Execute(sql);
}
else
{
WScript.Echo("Mislukt, status = " + objXMLHTTP.status);
WScript.Echo(objXMLHTTP.statusText);
}
return dataReceived;
}
var udlstr = 'File Name='+str;
var Oracle = new ActiveXObject("ADODB.Connection");
Oracle.Open(udlstr);
// normaal halen we intervallen van 15 minuten op. Als de koppeling er een tijdje uit gelegen heeft kan dit problemen opleveren. Daarom
// wordt het interval maximaal 4 uur.
var sql = "ALTER SESSION SET nls_territory='AMERICA'";
Oracle.Execute(sql)
sql = "SELECT b.prs_bedrijf_naam, "
+ " ba.prs_bedrijfadres_certificate, "
+ " ba.prs_bedrijfadres_username, "
+ " ba.prs_bedrijfadres_password, "
+ " ba.prs_bedrijfadres_url, "
+ " b.prs_overeenkomst_nr, "
+ " decode (laatste_sync_ts, null, null, to_char(laatste_sync_ts, 'yyyy-mm-dd')||'T'||to_char(laatste_sync_ts, 'hh24:mi:ss')) laatste_sync,"
+ " to_char(nieuwe_sync_ts, 'yyyy-mm-dd') || 'T' || to_char(nieuwe_sync_ts, 'hh24:mi:ss') nieuwe_sync, "
+ " to_char(nieuwe_sync_ts, 'yyyy-mm-dd hh24:mi:ss') nieuwe_ts,"
+ " prs_kenmerklink_key"
+ " FROM prs_bedrijf b, prs_bedrijfadres ba,"
+ " (SELECT prs_link_key, prs_kenmerklink_key, "
+ " fac.safe_to_date (prs_kenmerklink_waarde, 'yyyy-mm-dd hh24:mi:ss') laatste_sync_ts, "
+ " LEAST ( "
+ " fac.safe_to_date (prs_kenmerklink_waarde, 'yyyy-mm-dd hh24:mi:ss') + (4 / 24), " // vorige tijdstip + 4 uur, als we een tijd stil gestaan hebben.
+ " SYSDATE - (1 / 96)) nieuwe_sync_ts " // nu min een kwartier. Om sync problemen te voorkomen kijken we altijd een kwartier terug.
+ " FROM prs_kenmerklink "
+ " WHERE prs_kenmerk_key = 1) kl " // timestamp laatste synchronisatie yyyymmdd hh24mi
+ " WHERE b.prs_bedrijf_key = " + prs_bedrijf_key
+ " AND b.prs_bedrijf_key = ba.prs_bedrijf_key"
+ " AND b.prs_bedrijf_key = kl.prs_link_key"
+ " AND ba.prs_bedrijfadres_type = 'B'"; // We (mis)bruiken het technische adres van de bestellingen om de statuswijzigingen op te vragen.
WScript.Echo (sql);
WScript.Echo(new Date());
try
{
var oRs = Oracle.Execute(sql);
var fileName = "strukton.xml";
mldorder_adres = "" + oRs("prs_bedrijfadres_url").Value;
mldorder_adres = mldorder_adres.replace("CREATE", "STATUS");
order_certificate = "" + oRs("prs_bedrijfadres_certificate").Value;
username = oRs("prs_bedrijfadres_username").Value;
password = oRs("prs_bedrijfadres_password").Value;
laatste_sync = oRs("laatste_sync").Value;
nieuwe_sync = oRs("nieuwe_sync").Value;
nieuwe_ts = oRs("nieuwe_ts").Value;
prs_overeenkomst_nr = oRs("prs_overeenkomst_nr").Value;
prs_kenmerklink_key = oRs("prs_kenmerklink_key").Value;
WScript.Echo("Inlezen statusberichten van bedrijf: " + oRs("prs_bedrijf_naam").Value + " via url: " + mldorder_adres)
oRs.close();
if (GetStruktonStatus()) WScript.Quit(0);
else WScript.Quit(1);
}
catch (e)
{
WScript.Echo("Serieuze fout in GetStruktonStatus.js: " + e.description)
WScript.Quit(1);
}

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="Windows-1252"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:decimal-format name="european" decimal-separator="," grouping-separator="."/>
<xsl:template name="escape_quote">
<xsl:param name="string"/>
<xsl:choose>
<xsl:when test="contains($string, '&quot;')">
<xsl:value-of select="substring-before($string, '&quot;')"/>&quot;&quot;<xsl:call-template name="escape_quote">
<xsl:with-param name="string" select="substring-after($string, '&quot;')"/></xsl:call-template></xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="linebreaks">
<xsl:param name="string"/>
<xsl:choose>
<xsl:when test="contains($string, '&#xA;')">
<xsl:value-of select="substring-before($string, '&#xA;')"/>@@<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="substring-after($string, '&#xA;')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="/">referenceID;ServiceRequestID;TypeID;DateTime;Description;Remarks;Total
<xsl:for-each select="//Status">
<xsl:variable name="costinfo"><xsl:if test="TypeID = '40'">@@Bruto: <20> <xsl:value-of select="format-number(CostCalculation/Total - CostCalculation/MaintenanceClause, '0,00', 'european')"/>@@Clausule: <20> <xsl:value-of select="format-number(CostCalculation/MaintenanceClause, '0,00', 'european')"/>@@Totaal: <20> <xsl:value-of select="format-number(CostCalculation/Total, '0,00', 'european')"/></xsl:if></xsl:variable>
<xsl:variable name="costs"><xsl:if test="TypeID = '40'"><xsl:value-of select="CostCalculation/Total"/></xsl:if></xsl:variable>
<xsl:variable name="remarks_unquote"><xsl:call-template name="escape_quote"><xsl:with-param name="string" select="substring(Remarks,1,800)"/></xsl:call-template></xsl:variable>
<xsl:variable name="remarks_uncr">&quot;<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="$remarks_unquote"/></xsl:call-template><xsl:value-of select="$costinfo"/>&quot;</xsl:variable>
<xsl:variable name="new_line" select="'&#xA;'"/>
<xsl:variable name="referenceID"><xsl:value-of select="ReferenceID"/></xsl:variable>
<xsl:variable name="serviceRequestID"><xsl:value-of select="ServiceRequestID"/></xsl:variable>
<xsl:variable name="typeID"><xsl:value-of select="TypeID"/></xsl:variable>
<xsl:variable name="dateTime"><xsl:value-of select="DateTime"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="Description"/></xsl:variable>
<xsl:value-of select="$referenceID"/>;<xsl:value-of select="$serviceRequestID"/>;<xsl:value-of select="$typeID"/>;<xsl:value-of select="$dateTime"/>;<xsl:value-of select="$description"/>;<xsl:value-of select="$remarks_uncr"/>;<xsl:value-of select="$costs"/><xsl:value-of select="$new_line"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
<!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->

View File

@@ -1,10 +1,10 @@
Echo Starten GetStruktonStatus.js
cscript ..\..\AAXX\import\Strukton\GetStruktonStatus.js ../oracle.udl 50422 >>genimport.log
cscript ..\..\STCH\import\Strukton\GetStruktonStatus.js ../oracle.udl 50422 >>genimport.log
if errorlevel 1 goto fout
cscript ..\..\..\utils\gen_import\gen_import.wsf AASI OPDRSTAT_STRUKTON >>genimport.log 2>>&1
cscript ..\..\..\utils\gen_import\gen_import.wsf STCH OPDRSTAT_STRUKTON >>genimport.log 2>>&1
goto einde
:fout
Echo gen_import.exe niet meer uitgevoerd>>genimport.log

View File

@@ -1,4 +0,0 @@
echo 'Empty' >> aaxx_imp.csv
cscript ..\..\..\utils\gen_import\gen_import.wsf AAXX AAFM_MEDEWERKERS >>genimport.log 2>>&1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -1,119 +0,0 @@
<%@language="VBScript"%>
<%
'*******************************************************************
'Script: SSO.ASP
'
' $Revision$
' $Id$
'
'Doel: SSO bewerkstelligen voor ASP providers - deel 1 van 2
'*******************************************************************
'* declare *********************************************************
Dim strGUID, strCTID, strUserName, strKey, strASPUrl, strSharedKey
Dim strEncryptedCode, strControlEncryptedCode
'* variables *******************************************************
strASPUrl = "https://stch.facilitor.nl?sso=2" 'HTTPS URL adres van ASP
strSharedKey = "wAwZPTXUaseuWoiVqhaJgOSaxJGBQyJe" 'Sharedkey - Should be the same at target side
'*******************************************************************
response.Buffer=true
Dim proto, zelf
If Request.ServerVariables("SERVER_PORT") = 443 Then
proto = "https://"
Else
proto = "http://"
End If
zelf = proto & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")
%>
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function fnSubmit() {
window.document.form.submit();
return;
}
</SCRIPT>
</HEAD>
<BODY LANGUAGE="javascript" onload="return fnSubmit()">
Een moment aub.
<form action='<%=strASPUrl%>' method="post" name="form" ID="Form1">
<input type="hidden" name="returnurl" value="<%=zelf%>" ID="Hidden1">
<%
'* request action = requestid ***************************************
strGUID = Request.form("guid")
strCTID = Request.form("ctid")
if strGUID = "" or strCTID = "" then
'* first flow: requestid ****************************************
%>
<input type="hidden" name="action" value="requestid" ID="Hidden2">
<input type="hidden" name="jumpTo" value="<%=Request.Querystring("jumpTo")%>" ID="jumpTo">
<%
else
'* second flow: create code *************************************
strUserName = Request.ServerVariables("LOGON_USER")
if strUserName = "" then
strUserName = Request.ServerVariables("REMOTE_USER")
if strUserName = "" then
strUserName = Request.ServerVariables("HTTP_USER")
if strUserName = "" then
strUserName = Request.ServerVariables("HTTP_LOGIN")
if strUserName = "" then
'Forse user to authenticate
response.Clear
response.Status = 401
response.Flush
response.End
end if
end if
end if
end if
' * Strip domain name
Do While instr(strUserName, "\")>0
strUserName = Mid(strUserName, instr(strUserName, "\") + 1)
Loop
'* crypt ********************************************************
'First coding phase
strKey = mid(strSharedKey & strGUID,1,Len(strUserName))
strEncryptedCode = EnCrypt(strUserName)
'Second coding phase
strKey = mid(strGUID,1,Len(strEncryptedCode))
strEncryptedCode = EnCrypt(strEncryptedCode)
'* crypt Controlkey *********************************************
'First coding phase
strKey = mid(strSharedKey & strCTID,1,Len(strCTID))
strControlEncryptedCode = EnCrypt(zelf)
'Second coding phase
strKey = mid(strCTID,1,Len(strControlEncryptedCode))
strControlEncryptedCode = EnCrypt(strControlEncryptedCode)
%>
<input type="hidden" name="action" value="processcode" ID="Hidden3">
<input type="hidden" name="code" value="<%=ConvertToAsc(strEncryptedCode)%>" ID="Hidden4">
<input type="hidden" name="ctcode" value="<%=ConvertToAsc(strControlEncryptedCode)%>" ID="Hidden5">
<input type="hidden" name="ltcode" value="<%=len(strUserName)%>" ID="Hidden6">
<%
end if
'* Functions ********************************************************
Function EnCrypt(strCryptThis)
Dim strChar, iKeyChar, iStringChar, i
for i = 1 to Len(strCryptThis)
iKeyChar = Asc(mid(strKey,i,1))
iStringChar = Asc(mid(strCryptThis,i,1))
iCryptChar = iKeyChar Xor iStringChar
strEncrypted = strEncrypted & Chr(iCryptChar)
next
EnCrypt = strEncrypted
End Function
Function ConvertToAsc(strAsc)
Dim iCount
Dim strTemp
ConvertToAsc = ""
for iCount = 1 to len(strAsc)
strTemp = (asc(mid(strAsc,iCount,1)))
ConvertToAsc = ConvertToAsc & len(strTemp) & strTemp
next
End Function
'*********************************************************************
%>
</form>
</BODY>
</HTML>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,414 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../../../appl/shared/default.xsl"/>
<xsl:import href="../../aaxx/xsl/default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template name="res_endtext">
<tr>
<td colspan="2" class="tekst"><br/><center><b>Voor storingen buiten kantoortijden dient u 60000 te bellen</b></center></td>
</tr>
</xsl:template>
<xsl:template name="bez_endtext">
<tr>
<td colspan="2" class="tekst"><br/><center><b>Voor storingen buiten kantoortijden dient u 60000 te bellen</b></center></td>
</tr>
</xsl:template>
<xsl:template match="reservering" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"/>
<TD>
<xsl:choose>
<xsl:when test="not(boolean(rsv_ruimte))">
<table>
<tr>
<td height="20"/>
</tr>
<tr>
<td class="caption">Annulering</td>
</tr>
<tr>
<td>
<b>Op uw naam heeft een reservering<xsl:if test="key!=''"> onder nummer <xsl:value-of select="key"/></xsl:if> plaatsgevonden, die vervolgens direct weer is verwijderd.</b>
<br/>
<br/>Deze reservering wordt niet verder verwerkt.<br/><br/>
Wilt u toch een reservering aanmaken voeg dan een nieuwe reservering toe waarbij een zaal, voorziening of artikel gereserveerd is.</td>
</tr>
</table>
</xsl:when>
<xsl:otherwise>
<!-- Bevestiging reservering -->
<!-- De algemene gegevens van de deelreservering met het laagste volgnummer worden gebruikt als referentie gegevens! -->
<xsl:variable name="min_volgnr">
<xsl:value-of select="//reservering/rsv_ruimte/volgnr[not(. &gt; //reservering/rsv_ruimte/volgnr)]"/>
</xsl:variable>
<table border="0" bordercolor="#ffffff" width="100%">
<tr>
<td class="caption" valign="top" colspan="2">
<xsl:choose>
<xsl:when test="@content='complete'">Reservering (reeks) <xsl:value-of select="key"/><br/></xsl:when>
<xsl:otherwise>Reservering <xsl:value-of select="key"/> / <xsl:value-of select="$min_volgnr"/><br/></xsl:otherwise>
</xsl:choose>
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/omschrijving)!=''">(<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/omschrijving"/>)</xsl:if>&#xA0;</td>
</tr>
<tr>
<td width="20%" class="label">Aanvrager</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/naam_full"/></td>
</tr>
<tr>
<td width="20%" class="label">E-mail adres</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/email"/></td>
</tr>
<tr>
<td width="20%" class="label">Locatie</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
</tr>
<tr>
<td width="20%" class="label">Afdeling</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/afdeling/omschrijving"/></td>
</tr>
<tr>
<td width="20%" class="label">Gastheer/-vrouw</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/host_user/naam_full"/></td>
</tr>
<tr>
<td width="20%" class="label">Stamnummer</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/host_user/nr"/></td>
</tr>
<tr>
<td width="20%" class="label">FDC</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/nr"/>&#xA0;
<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/omschrijving"/>
</td>
</tr>
<tr>
<td width="20%" class="label">Costcenter</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/ordernr"/></td>
</tr>
<tr>
<td height="30px"/>
</tr>
<xsl:if test="rsv_ruimte[volgnr=$min_volgnr]/contact_user/key!=ingevoerd_user/key">
<tr>
<td width="20%" class="label">Behandeld door</td>
<td width="80%" class="value">: <xsl:value-of select="ingevoerd_user/naam_full"/></td>
</tr>
<tr>
<td width="20%" class="label">Datum</td>
<td width="80%" class="value">: <xsl:value-of select="datum/datum"/></td>
</tr>
<tr>
<td height="30px"/>
</tr>
</xsl:if>
<tr>
<td colspan="2" class="tekst">
<xsl:choose>
<xsl:when test="$srtnotificatiecode='RESNEW'"/>
<xsl:when test="$srtnotificatiecode='RESDEL'">DE RESERVERING IS VERVALLEN</xsl:when>
<xsl:otherwise>
<xsl:call-template name="res_begintext"/>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td height="10px"/>
</tr>
<tr>
<td class="tekstkop" colspan="2" style="text-decoration:underline">Reserveringsgegevens</td>
</tr>
<tr>
<td height="5px"/>
</tr>
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/opmerking)!=''">
<tr>
<td colspan="2" class="label">Opmerking</td>
</tr>
<tr>
<td colspan="2" class="value">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="rsv_ruimte[volgnr=$min_volgnr]/opmerking"/>
</xsl:call-template>
</td>
</tr>
<tr>
<td height="5px"/>
</tr>
</xsl:if>
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0" border="1" bordercolor="#000000" frame="box">
<!-- rsv_ruimte -->
<xsl:for-each select="rsv_ruimte">
<xsl:sort select="volgnr" data-type="number"/>
<xsl:call-template name="rsv_ruimte">
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
</xsl:call-template>
</xsl:for-each>
<!-- totaal reservering -->
<tr>
<td height="10px" style="border-style:solid;border-width:0px;"/>
</tr>
<tr>
<td class="tekstkop" align="right" colspan="2" style="border-style:solid;border-width:0px;">Totaalprijs reservering:</td>
<td class="tekstkop" style="text-align:right;border-style:solid;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>
</td>
</tr>
</table>
</td>
</tr>
<xsl:call-template name="res_endtext">
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
</xsl:call-template>
</table>
<!-- Bevestiging reservering -->
</xsl:otherwise>
</xsl:choose>
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
</TABLE>
</xsl:template>
<!-- Klantspecifieke begintekst voor reserveringsgegevens op reserveringsbon -->
<xsl:template name="res_begintext">
<tr>
<td colspan="2" class="tekst">
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'RESINF'">Geachte heer, mevrouw,
<br/>
<br/>Onderstaande reservering staat geregistreerd in ons systeem.
Indien deze reservering niet meer van toepassing is dient u deze binnen 1 werkdag te annuleren.
<br/>
<br/>Eventuele wijzigingen in uw reservering kunt u doorgeven aan de AAFM service desk
(tel: 60000, e-mail: servicedeskchemelot@aa-fm.com) onder vermelding van bovenstaand reserveringsnummer.
Aanvullende catering bestellingen kunt u doorgeven aan de cateraar op uw locatie.
Aan catering bestellingen of vergaderfaciliteiten zijn kosten verbonden.
Indien u niet tijdig annuleert worden deze in rekening gebracht.
<br/>
<br/>Wanneer de reservering gewoon doorgang vindt, hoeft u niet op deze herinnering te reageren.
<br/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:template>
<xsl:template match="printfg">
<html>
<xsl:comment>Facilitor Graphics default XSL template</xsl:comment>
<!--mode FG0 A4 zonder legenda
mode FG1 A4 met legenda links ervan
mode FG2 A3 zonder legenda
mode FG3 A3 met legenda links ervan
-->
<xsl:call-template name="htmlhead" />
<script type="text/javascript">
window.document.title="Facilitor Graphics: <xsl:value-of select="plaats/alg_locatie_code"/>-"
+"<xsl:value-of select="plaats/alg_gebouw_code"/>-"
+"<xsl:value-of select="plaats/alg_verdieping_omschrijving"/>"
<xsl:if test="thema/CAD_THEMA_OMSCHRIJVING!=''">
+"&#160;/Thema:&#160;<xsl:value-of select="thema/CAD_THEMA_OMSCHRIJVING"/>";
</xsl:if>
</script>
<body style="background-color:white;margin:0;padding:0;" onload="window.print()">
<table border="0" width="100%" cellpadding="2">
<xsl:choose>
<xsl:when test="$mode='FG0'">
<tr>
<td colspan="2">
<xsl:element name='img'>
<xsl:attribute name="src">
<xsl:value-of select="pngURL"/>&amp;vKey=<xsl:value-of select="vKey"/>&amp;paperWidth=240&amp;paperHeight=155&amp;DWGScale=<xsl:value-of select="DWGScale"/>
</xsl:attribute>
<xsl:attribute name="style">width:240mm</xsl:attribute>
<xsl:attribute name="border">1</xsl:attribute>
<xsl:attribute name="galleryimg">false</xsl:attribute>
</xsl:element>
</td>
</tr>
</xsl:when>
<xsl:when test="$mode='FG1'">
<tr>
<td><xsl:element name='iframe'>
<xsl:attribute name="frameborder">0</xsl:attribute>
<xsl:attribute name="style">width:50mm;height:150mm</xsl:attribute>
<xsl:attribute name="scrolling">no</xsl:attribute>
<xsl:attribute name="src">../CAD/legenda.asp?forPrint=1&amp;scenario_key=<xsl:value-of select="scenario"/>&amp;thema=<xsl:value-of select="THEMA_KEY"/>&amp;parentKey=<xsl:value-of select="vKey"/>&amp;mode=<xsl:value-of select="inoutMode"/>
</xsl:attribute>
</xsl:element>
</td>
<td><xsl:element name='img'>
<xsl:attribute name="src">
<xsl:value-of select="pngURL"/>&amp;vKey=<xsl:value-of select="vKey"/>&amp;paperWidth=192&amp;paperHeight=155&amp;DWGScale=<xsl:value-of select="DWGScale"/>
</xsl:attribute>
<xsl:attribute name="style">width:192mm</xsl:attribute>
<xsl:attribute name="border">1</xsl:attribute>
<xsl:attribute name="galleryimg">false</xsl:attribute>
</xsl:element>
</td>
</tr>
</xsl:when>
<xsl:when test="$mode='FG2'">
<tr>
<td colspan="2">
<xsl:element name='img'>
<xsl:attribute name="src">
<xsl:value-of select="pngURL"/>&amp;vKey=<xsl:value-of select="vKey"/>&amp;paperWidth=360&amp;paperHeight=253&amp;DWGScale=<xsl:value-of select="DWGScale"/>
</xsl:attribute>
<xsl:attribute name="style">width:360mm</xsl:attribute>
<xsl:attribute name="border">1</xsl:attribute>
<xsl:attribute name="galleryimg">false</xsl:attribute>
</xsl:element>
</td>
</tr>
</xsl:when>
<xsl:when test="$mode='FG3'">
<tr>
<td width="50mm"><xsl:element name='iframe'>
<xsl:attribute name="frameborder">0</xsl:attribute>
<xsl:attribute name="style">width:50mm;height:230mm</xsl:attribute>
<xsl:attribute name="scrolling">no</xsl:attribute>
<xsl:attribute name="src">../CAD/legenda.asp?forPrint=1&amp;scenario_key=<xsl:value-of select="scenario"/>&amp;thema=<xsl:value-of select="THEMA_KEY"/>&amp;parentKey=<xsl:value-of select="vKey"/>&amp;mode=<xsl:value-of select="inoutMode"/>
</xsl:attribute>
</xsl:element>
</td>
<td>
<xsl:element name='img'>
<xsl:attribute name="src">
<xsl:value-of select="pngURL"/>&amp;vKey=<xsl:value-of select="vKey"/>&amp;paperWidth=310&amp;paperHeight=233&amp;DWGScale=<xsl:value-of select="DWGScale"/>
</xsl:attribute>
<xsl:attribute name="style">width:310mm</xsl:attribute>
<xsl:attribute name="border">1</xsl:attribute>
<xsl:attribute name="galleryimg">false</xsl:attribute>
</xsl:element>
</td>
</tr>
</xsl:when>
<xsl:otherwise>
Unknown template <xsl:value-of select="$mode"/>
</xsl:otherwise>
</xsl:choose>
</table>
<table border="0" width="100%">
<xsl:if test="thema/CAD_THEMA_OMSCHRIJVING!=''">
<tr>
<td style="text-align:center" colspan="4" class="tekstkop">
Thema:&#160;<xsl:value-of select="thema/CAD_THEMA_OMSCHRIJVING"/>
</td>
</tr>
<tr>
<td colspan="4" style="height:30"/>
</tr>
</xsl:if>
<tr>
<td width="55%">
</td>
<td style="text-align:left" width="12%" class="label">
Building:
</td>
<td style="text-align:right" width="18%" class="value">
G <xsl:value-of select="plaats/alg_gebouw_code"/>
</td>
<td style="text-align:left" rowspan="2" WIDTH="15%">
<xsl:element name="img">
<xsl:attribute name="src">../../cust/aads/tmpl_logo_sm.gif</xsl:attribute>
</xsl:element>
</td>
</tr>
<tr>
<td width="55%">
</td>
<td style="text-align:left" class="label">
Floor:
</td>
<td style="text-align:right" class="value">
<xsl:value-of select="plaats/alg_verdieping_code"/>&#160;(<xsl:value-of select="plaats/alg_verdieping_omschrijving"/>)
</td>
</tr>
<tr>
<td width="55%">
<td style="text-align:left" class="label">
Date:
</td>
</td>
<td style="text-align:right" class="value"><xsl:value-of select="//header/dateTime"/></td>
</tr>
<tr>
<td colspan="4" style="height:25"/>
</tr>
<tr>
<td align="right" valign="top" class="tiny" colspan="4">
<b>Facilitor</b>&#160;<xsl:value-of select="//header/version"/>.<xsl:value-of select="$DefRev"/>.<xsl:value-of select="$Rev"/></td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="perslid" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ PERSONEN ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for perslid</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:apply-templates select="." mode="include"/>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="perslid" mode="include">
<p>Onderwerp: <b>Inloggegevens Online Servicedesk</b></p>
<br/>
<p>Beste lezer,</p>
<p>Per 1 juli a.s. is de Online Servicedesk beschikbaar vanaf een nieuw adres.
De Online Servicedesk is terug te vinden op
<xsl:choose>
<xsl:when test="contains(email, 'dsm.com')">https://aads.facilitor.nl</xsl:when>
<xsl:when test="contains(email, 'sitech.nl')">https://aasi.facilitor.nl</xsl:when>
<xsl:otherwise>https://aach.facilitor.nl</xsl:otherwise>
</xsl:choose>
</p>
<p>Uw persoonlijke loginnaam en wachtwoord zijn:</p>
<p>Gebruikersnnaam: <xsl:value-of select="oslogin"/></p>
<p>Wachtwoord: Welkom<xsl:value-of select="key"/></p>
<p>U kunt bij de Online Servicedesk terecht voor aanvragen en meldingen zoals:</p>
<ul>
<li>melden van storingen aangaande, koffieautomaten, beamers, gebouwgebonden zaken, etc;</li>
<li>aanvragen zoals verhuizingen, meubilair, kleine bouwkundige ondersteuning, handyman, post &amp; repro, etc;</li>
<li>melden van klachten over de facilitaire dienstverlening.</li>
</ul>
<p>Mocht u verder vragen hebben hierover neem dan contact op met uw Facility Manager</p>
<p>Met vriendelijke groet namens,<br/>
AAFM Servicedesk</p>
</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\AAAR_files\melding121055_20150205132902.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->

View File

@@ -1,92 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
<xsl:decimal-format name="european" decimal-separator="," grouping-separator="."/>
<xsl:param name="mode"/>
<xsl:variable name="Rev">
<!-- Revision van deze aads2blcc.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template match="opdracht">
<facilitor>
<xsl:element name="melding">
<xsl:attribute name="key"><xsl:value-of select="melding_key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/></xsl:attribute>
<xsl:attribute name="type">insert</xsl:attribute>
<datum><xsl:value-of select="tracking/track[@code='ORDNEW']/datum/jaar"/>-<xsl:value-of select="tracking/track[@code='ORDNEW']/datum/maand"/>-<xsl:value-of select="tracking/track[@code='ORDNEW']/datum/dag"/><xsl:text> </xsl:text><xsl:value-of select="tracking/track[@code='ORDNEW']/datum/tijd"/>:00</datum>
<melder><xsl:value-of select="melding/voor/naam_full"/></melder>
<stdmelding>14</stdmelding>
<prioriteit>3</prioriteit>
<locatiecode>CAMPUS</locatiecode>
<gebouwcode>007</gebouwcode>
<verdiepingcode></verdiepingcode>
<ruimtenr></ruimtenr>
<omschrijving>
DSM-opdracht: <xsl:value-of select="melding_key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/>
Opdrachttype: <xsl:value-of select="opdrachttype/omschrijving"/>
Prioriteit: <xsl:choose><xsl:when test="melding/spoed=1">Kritiek</xsl:when><xsl:when test="melding/spoed=2">Hoog</xsl:when><xsl:when test="melding/spoed=3">Normaal</xsl:when><xsl:otherwise>Laag</xsl:otherwise></xsl:choose>
Einddatum: <xsl:value-of select="einddatum/datum"/>
Melder: <xsl:value-of select="melding/voor/naam_full"/>
Afdeling: <xsl:value-of select="melding/voor/afdeling/omschrijving"/>
Telefoon: <xsl:choose><xsl:when test="melding/voor/mobiel!=''"><xsl:value-of select="melding/voor/mobiel"/></xsl:when><xsl:when test="melding/voor/telefoonnr!=''"><xsl:value-of select="melding/voor/telefoonnr"/></xsl:when><xsl:otherwise>-</xsl:otherwise></xsl:choose>
Locatie: <xsl:value-of select="melding/plaats/regio/district/locatie/code"/>
<xsl:if test="melding/plaats/regio/district/locatie/gebouw!=''"><xsl:text>&#xD;&#xA;</xsl:text>Gebouw: <xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/code"/> (<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/naam"/>)</xsl:if>
<xsl:if test="melding/plaats/regio/district/locatie/terrein!=''"><xsl:text>&#xD;&#xA;</xsl:text>Terrein: <xsl:value-of select="melding/plaats/regio/district/locatie/terrein/code"/> (<xsl:value-of select="melding/plaats/regio/district/locatie/terrein/naam"/>)</xsl:if>
<xsl:if test="melding/plaats/regio/district/locatie/gebouw/verdieping!=''"><xsl:text>&#xD;&#xA;</xsl:text>Verdieping: <xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/verdieping/code"/></xsl:if>
<xsl:if test="melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte!=''"><xsl:text>&#xD;&#xA;</xsl:text>Ruimte: <xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/><xsl:if test="melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''"> (<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if></xsl:if>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text><xsl:value-of select="omschrijving"/><xsl:text>&#xD;&#xA;</xsl:text>
<!--Opdrachtkenmerken-->
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
<xsl:sort select="@volgnummer" data-type="number"/>
<xsl:if test=".!=''">
<xsl:text>&#xD;&#xA;</xsl:text><xsl:value-of select="@naam"/>: <xsl:value-of select="."/>
</xsl:if>
</xsl:for-each>
</omschrijving>
<!--Alleen M-kenmerk bij MELDING kan worden doorgezet-->
<!--Naam-attribuut = naam van M-kenmerk aan BLCC-kant-->
<xsl:element name="kenmerk">
<xsl:attribute name="naam">Bijlagen</xsl:attribute>
<xsl:element name="FCLTmeldingattachment">
<xsl:attribute name="meldingkey"><xsl:value-of select="melding/key"/></xsl:attribute>
<xsl:attribute name="kenmerkkey">
<xsl:choose>
<!--IV-->
<xsl:when test="melding/discipline/key='2'">521</xsl:when>
<!--KL-->
<xsl:when test="melding/discipline/key='4'">522</xsl:when>
<!--PR-->
<xsl:when test="melding/discipline/key='1'">523</xsl:when>
<!--SA-->
<xsl:when test="melding/discipline/key='5'">524</xsl:when>
<!--ST-->
<xsl:when test="melding/discipline/key='3'">525</xsl:when>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="nodename">bijlage</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
</facilitor>
</xsl:template>
<xsl:template match="facilitor">
<xsl:apply-templates select="opdracht"/>
</xsl:template>
<!-- Root -->
<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>

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:import href="../../aaxx/xsl/bestelopdr.xsl"/>
<xsl:import href="./cust_settings.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template match="bestelopdracht" mode="full">
<xsl:apply-templates select="." mode="include"/>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:import href="../../aaxx/xsl/contract.xsl"/>
<xsl:import href="./cust_settings.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
</xsl:stylesheet>

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
<xsl:template name="customer">Sitech </xsl:template>
<xsl:template name="customer_code">Sitech</xsl:template>
<xsl:template name="customer_email">servicedesksitech@aa-fm.com</xsl:template>
<xsl:template name="invoice_email">invoices.sitech@aa-fm.com</xsl:template>
<xsl:template name="servicedesk_telefoon">60000</xsl:template>
<xsl:template name="opdracht_qr_bookmark"></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. -->

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:import href="../../aaxx/xsl/opdracht.xsl"/>
<xsl:import href="./cust_settings.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template match="opdracht" mode="full">
<xsl:apply-templates select="." mode="default_opdracht"/>
</xsl:template>
</xsl:stylesheet>

View File

@@ -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="srtnotificatiecode">RESNEW</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">CUST03</xsl:variable>
<!-- ****************************************************************************************************************** -->
<!-- Hier komen de USER-rapportage functies -->
@@ -148,13 +148,15 @@
<!-- ****************************************************************************************************************** -->
<xsl:template match="melding" mode="include">
<table border="0" width="100%" cellpadding="2">
<tr>
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
<b>
<xsl:value-of select="//lcl/MLD/melding"/>&#160;<xsl:value-of select="discipline/srtdiscipline/prefix"/>
<xsl:value-of select="//lcl/MLD/melding"/>&#160;
<xsl:value-of select="key"/>
<xsl:if test="onderwerp != ''">:&#160;<xsl:value-of select="onderwerp"/>
<xsl:if test="onderwerp != ''">&#160;<xsl:value-of select="onderwerp"/>
</xsl:if>
</b>
</td>
@@ -189,251 +191,39 @@
</xsl:if>
<xsl:choose>
<xsl:when test="$srtnotificatiecode='MLDNEW'">
<!-- Wat hier nog bij moet is de afwijkende notificatie naar schoonmaak bij nieuwe melding vanuit WF -->
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Beste <xsl:value-of select="melder/naam_friendly"/>,
<br/>
<br/>
Wij hebben de volgende melding van jou ontvangen:
Hierbij bevestigen wij de volgende melding:
<br/>
<br/>
<b> <u> <xsl:value-of select="//lcl/MLD/melding"/>&#160;
<xsl:value-of select="key"/>
<xsl:if test="onderwerp != ''">&#160;<xsl:value-of select="onderwerp"/>
</xsl:if> </u> </b>
<br/>
<br/>
</td>
</tr>
<tr height="20px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/locatie"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
</td>
<td align="right">
<b>Melding voor: </b>
</td>
<td align="left">
<xsl:value-of select="voor/naam_friendly"/>
</td>
</tr>
<tr>
<xsl:choose>
<xsl:when test="plaats/@type='T'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/terrein"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/>
</td>
</xsl:when>
<xsl:otherwise>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/gebouw"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
</td>
</xsl:otherwise>
</xsl:choose>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/melddatum"/>:</b>
</td>
<td align="left">
<xsl:value-of select="gemeld/datum"/>&#xA0;
<xsl:value-of select="gemeld/tijd"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
<td colspan="2"/>
</xsl:if>
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/datum_gereed"/>:</b>
</td>
<td align="left">
<xsl:value-of select="datum_gepland/datum"/>&#xA0;<xsl:value-of select="datum_gepland/tijd"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='R'">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/ruimte"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<xsl:if test="plaats/@type!='R'">
<td colspan="2"/>
</xsl:if>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/status"/>:</b>
</td>
<td align="left">
<xsl:value-of select="status"/>
</td>
</tr>
<xsl:if test="kenmerk[@naam='Ordernr']!=''">
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/ordernr"/>:</b>
</td>
<td align="left">
<xsl:value-of select="kenmerk[@naam='Ordernr']"/>
</td>
</tr>
</xsl:if>
<tr height="30px">
<td colspan="4"/>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/stdmelding"/>:</b>
</td>
<td align="left">
<xsl:if test="stdmelding/omschrijving=''">-</xsl:if>
<xsl:value-of select="stdmelding/omschrijving"/>
</td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/vakgroep"/>:</b>
</td>
<td align="left">
<xsl:if test="discipline/omschrijving=''">-</xsl:if>
<xsl:value-of select="discipline/omschrijving"/>
</td>
</tr>
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
<tr>
<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>
</td>
</tr>
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
<xsl:sort select="@volgnummer" data-type="number"/>
<xsl:if test=".!=''">
<tr>
<td align="right">
<b>
<xsl:value-of select="@naam"/>:</b>
</td>
<td colspan="3">
<xsl:value-of select="."/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<xsl:if test="count(deel)&gt;0">
<xsl:for-each select="deel">
<xsl:sort select="omschrijving"/>
<tr>
<xsl:choose>
<xsl:when test="position()=1">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/objecten"/>:</b>
</td>
</xsl:when>
<xsl:otherwise>
<td/>
</xsl:otherwise>
</xsl:choose>
<td align="left" valign="top">
<xsl:value-of select="omschrijving"/>
</td>
<td colspan="2" valign="top">
<xsl:comment>NADER TE DEFINIEREN</xsl:comment>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="behandelwijze=2 and not(/facilitor/opdracht)">
<xsl:for-each select="notes/note[flag=1]">
<xsl:sort select="aanmaak/timestamp" order="ascending"/>
<tr>
<xsl:choose>
<xsl:when test="position() = 1">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/behandeling"/>:</b>
</td>
</xsl:when>
<xsl:otherwise>
<td/>
</xsl:otherwise>
</xsl:choose>
<td colspan="3">
<span class="mldbeh">
<xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>&#xA0;-&#xA0;<xsl:value-of select="noteur/naam_friendly"/>
</span>&#xA0;
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="opmerking!=''">
<tr>
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/afhandeling"/>:</b>
</td>
<td colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</td>
</tr>
</xsl:if>
<tr height="20px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td colspan="4" class="tekst" style="padding-top:20px;">
Deze melding zal zo snel mogelijk in behandeling genomen worden. Wil je de voortgang van je melding volgen? Dat kun je doen via Facilitor.
Wij gaan zo snel mogelijk met je melding aan de slag. Je ontvangt een bevestiging wanneer de melding gereed is gemeld.
<br/>
<br/>
<xsl:element name="a">
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>?<xsl:value-of select="../bookmarks/melding"/>
<xsl:value-of select="key"/>
</xsl:attribute>klik HIER om de melding te openen.</xsl:element>
<br/>
<br/>
Heb je vragen over je melding dan kun je contact opnemen met de receptie van <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>.
<br/>
<br/>
Met vriendelijke groeten,
Met vriendelijke groet,
<br/>
Receptie WZU Veluwe <br/>
Locatie <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
@@ -441,246 +231,30 @@
<br/>
</td>
</tr>
</xsl:when>
<xsl:when test="$srtnotificatiecode='MLDAFM'">
</xsl:when>
<xsl:when test="$srtnotificatiecode='MLDAFM'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Beste <xsl:value-of select="melder/naam_friendly"/>,
<br/>
<br/>
Onderstaande melding is afgehandeld:
De volgende melding is gereed gemeld:
<br/>
<br/>
<b> <u> <xsl:value-of select="//lcl/MLD/melding"/>&#160;
<xsl:value-of select="key"/>
<xsl:if test="onderwerp != ''">&#160;<xsl:value-of select="onderwerp"/>
</xsl:if> </u> </b>
<br/>
<br/>
</td>
</tr>
<tr height="20px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/locatie"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
</td>
<td align="right">
<b>Melding voor: </b>
</td>
<td align="left">
<xsl:value-of select="voor/naam_friendly"/>
</td>
</tr>
<tr>
<xsl:choose>
<xsl:when test="plaats/@type='T'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/terrein"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/>
</td>
</xsl:when>
<xsl:otherwise>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/gebouw"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
</td>
</xsl:otherwise>
</xsl:choose>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/melddatum"/>:</b>
</td>
<td align="left">
<xsl:value-of select="gemeld/datum"/>&#xA0;
<xsl:value-of select="gemeld/tijd"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
<td colspan="2"/>
</xsl:if>
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/datum_gereed"/>:</b>
</td>
<td align="left">
<xsl:value-of select="datum_gepland/datum"/>&#xA0;<xsl:value-of select="datum_gepland/tijd"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='R'">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/ruimte"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<xsl:if test="plaats/@type!='R'">
<td colspan="2"/>
</xsl:if>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/status"/>:</b>
</td>
<td align="left">
<xsl:value-of select="status"/>
</td>
</tr>
<xsl:if test="kenmerk[@naam='Ordernr']!=''">
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/ordernr"/>:</b>
</td>
<td align="left">
<xsl:value-of select="kenmerk[@naam='Ordernr']"/>
</td>
</tr>
</xsl:if>
<tr height="30px">
<td colspan="4"/>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/stdmelding"/>:</b>
</td>
<td align="left">
<xsl:if test="stdmelding/omschrijving=''">-</xsl:if>
<xsl:value-of select="stdmelding/omschrijving"/>
</td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/vakgroep"/>:</b>
</td>
<td align="left">
<xsl:if test="discipline/omschrijving=''">-</xsl:if>
<xsl:value-of select="discipline/omschrijving"/>
</td>
</tr>
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
<tr>
<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>
</td>
</tr>
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
<xsl:sort select="@volgnummer" data-type="number"/>
<xsl:if test=".!=''">
<tr>
<td align="right">
<b>
<xsl:value-of select="@naam"/>:</b>
</td>
<td colspan="3">
<xsl:value-of select="."/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<xsl:if test="count(deel)&gt;0">
<xsl:for-each select="deel">
<xsl:sort select="omschrijving"/>
<tr>
<xsl:choose>
<xsl:when test="position()=1">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/objecten"/>:</b>
</td>
</xsl:when>
<xsl:otherwise>
<td/>
</xsl:otherwise>
</xsl:choose>
<td align="left" valign="top">
<xsl:value-of select="omschrijving"/>
</td>
<td colspan="2" valign="top">
<xsl:comment>NADER TE DEFINIEREN</xsl:comment>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="behandelwijze=2 and not(/facilitor/opdracht)">
<xsl:for-each select="notes/note[flag=1]">
<xsl:sort select="aanmaak/timestamp" order="ascending"/>
<tr>
<xsl:choose>
<xsl:when test="position() = 1">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/behandeling"/>:</b>
</td>
</xsl:when>
<xsl:otherwise>
<td/>
</xsl:otherwise>
</xsl:choose>
<td colspan="3">
<span class="mldbeh">
<xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>&#xA0;-&#xA0;<xsl:value-of select="noteur/naam_friendly"/>
</span>&#xA0;
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="opmerking!=''">
<tr>
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/MLD/afhandeling"/>:</b>
</td>
<td colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</td>
</tr>
</xsl:if>
<tr height="20px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td colspan="4" class="tekst" style="padding-top:20px;">
Is de afhandeling niet naar wens, of heb je aanvullende vragen? Neem dan contact op met de receptie van <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>.
Heb je nog vragen of ben je niet tevreden over de oplossing dan kun je contact op met de receptie van <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>.
<br/>
<br/>
Met vriendelijke groeten,
Met vriendelijke groet,
<br/>
Receptie WZU Veluwe <br/>
Locatie <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
@@ -688,11 +262,52 @@
<br/>
</td>
</tr>
</xsl:when>
</xsl:when>
<xsl:when test="$srtnotificatiecode='CUST01'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Beste collega,
<br/> <br/>
Met ingang van <xsl:value-of select="kenmerk[@naam='Datum van overlijden']"/> komt <xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/> op locatie <xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/naam"/> beschikbaar in verband met het overlijden van de cliënt.
<br/> <br/>
Met vriendelijke groet,<br/>
Collegas zorg
</td>
</tr>
</xsl:when>
<xsl:when test="$srtnotificatiecode='CUST02'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Beste collega,
<br/> <br/>
Op <xsl:value-of select="kenmerk[@naam='Planning afronden werkzaamheden']"/> verwachten wij <xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/> op locatie <xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/naam"/> gereed te hebben voor schoonmaak.
<br/> <br/>
Met vriendelijke groet,<br/>
Collegas Klusteam
</td>
</tr>
</xsl:when>
<xsl:when test="$srtnotificatiecode='CUST03'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Beste collega,
<br/> <br/>
<xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/> op locatie <xsl:value-of select="plaats[@type='R']/regio/district/locatie/gebouw/naam"/> is gereed.
<br/> <br/>
Met vriendelijke groet,<br/>
Team Huishouding
</td>
</tr>
</xsl:when>
</xsl:choose>
</table>
</xsl:template>
<!-- ****************************************************************************************************************** -->
<!-- Hier komt de opmaak van de reservering notificaties -->
<!-- ****************************************************************************************************************** -->
<xsl:template match="reservering" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
@@ -736,7 +351,7 @@
<tr>
<td colspan="2" class="tekst">
<xsl:choose>
<xsl:when test="$srtnotificatiecode='RESNEW'"/>
<!-- <xsl:when test="$srtnotificatiecode='RESNEW'"/> -->
<xsl:when test="$srtnotificatiecode='RESDEL'">
Beste <xsl:value-of select="rsv_ruimte/contact_user/naam_friendly"/>,
@@ -753,7 +368,7 @@
<xsl:if test="string(rsv_ruimte[volgnr=$min_volgnr]/omschrijving)!=''">&#xA0;-&#xA0;<xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/omschrijving"/>
</xsl:if>&#xA0;is vervallen.
<br/> <br/>
Met vriendelijke groeten,
Met vriendelijke groet,
<br/>
Receptie WZU Veluwe <br/>
Locatie <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>
@@ -777,7 +392,7 @@
Beste <xsl:value-of select="rsv_ruimte/contact_user/naam_friendly"/>,
<br/>
<br/>
Wij hebben de volgende reservering van jou ontvangen:
Hierbij bevestigen wij de volgende reservering:
<br/>
<br/>
</td>
@@ -789,7 +404,7 @@
Beste <xsl:value-of select="rsv_ruimte/contact_user/naam_friendly"/>,
<br/>
<br/>
Is onderstaande reservering nog steeds actueel? Dan hoef je geen actie te ondernemen.
Hhierbij herinneren wij je aan de volgende reservering:
<br/>
<br/>
</td>
@@ -825,14 +440,12 @@
</table>
</td>
</tr>
<xsl:call-template name="res_endtext">
<xsl:with-param name="min_volgnr" select="$min_volgnr"/>
</xsl:call-template>
<xsl:choose>
<xsl:when test="$srtnotificatiecode='RESNEW'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Deze reservering zal in behandeling worden genomen en uitgevoerd worden door Distrivers.
Deze reservering zal door ons in behandeling worden genomen.<br/>
<xsl:element name="a">
<xsl:attribute name="href"> https://<xsl:value-of select="$FacilitorRoot"/>/default.asp?sso=1&amp;<xsl:value-of select="../bookmarks/reservering"/>
<xsl:value-of select="rsv_ruimte/key"/>
@@ -840,10 +453,11 @@
Klik HIER om de reservering te openen.
</xsl:element>
<br/>
<br/>
Heb je vragen over je reservering dan kun je contact opnemen met de receptie van <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>.
<br/>
<br/>
Met vriendelijke groeten,
Met vriendelijke groet,
<br/>
Receptie WZU Veluwe <br/>
Locatie <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>
@@ -854,7 +468,6 @@
<xsl:when test="$srtnotificatiecode='RESINF'">
<tr>
<td colspan="4" class="tekst" style="padding-top:30px; font:Verdana ;">
Mocht je de reservering (eventueel met catering) willen wijzigen of annuleren, dan kun je dat nog kosteloos doen binnen 24 uur.
<xsl:element name="a">
<xsl:attribute name="href"> https://<xsl:value-of select="$FacilitorRoot"/>/default.asp?sso=1&amp;<xsl:value-of select="../bookmarks/reservering"/>
<xsl:value-of select="rsv_ruimte/key"/>
@@ -863,8 +476,10 @@
</xsl:element>
<br/>
<br/>
Met vriendelijke groeten,
Heb je vragen over je reservering dan kun je contact opnemen met de receptie van <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>.
<br/>
<br/>
Met vriendelijke groet,<br/>
Receptie WZU Veluwe <br/>
Locatie <xsl:value-of select="rsv_ruimte/res_ruimte/plaats/regio/district/locatie/gebouw/naam"/>
<br/>
@@ -875,7 +490,7 @@
</xsl:when>
</xsl:choose>
</table>
<!-- Bevestiging reservering -->
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
@@ -894,7 +509,7 @@
<xsl:value-of select="van/datum"/>&#xA0;
<xsl:value-of select="//lcl/RES/deelreservering"/>&#xA0;<xsl:value-of select="../key"/>&#xA0;/<xsl:value-of select="volgnr"/>&#xA0;
<xsl:if test="string(res_activiteit/omschrijving)!=''">(<xsl:value-of select="res_activiteit/omschrijving"/>)&#xA0;</xsl:if>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/></u>
<xsl:value-of select="res_ruimte/plaats/regio/district/locatie/omschrijving"/> <br/><br/><br/> </u>
</td>
</xsl:when>
<!-- "roomservice" -->
@@ -926,55 +541,25 @@
<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>
</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"/>&#xA0;
<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>
</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>
<th class="resth" width="24%" style="text-align:right"><xsl:value-of select="//lcl/RES/begintijd"/></th>
<th class="resth" width="24%" style="text-align:right"><xsl:value-of select="//lcl/RES/eindtijd"/></th>
<th class="resth" width="26%" align="center"><xsl:value-of select="//lcl/RES/opstelling"/></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>&#xA0;</xsl:if>
<xsl:value-of select="res_ruimte/nr"/>
<br/>(max. <xsl:value-of select="res_ruimte/bezoekers"/>&#xA0;<xsl:value-of select="//lcl/FAC/personen"/>)</td>
<td width="14%" class="resresult" style="text-align:left">
<xsl:value-of select="bezoekers"/>&#xA0;<xsl:value-of select="//lcl/FAC/personen"/></td>
<!--<td class="result" style="text-align:right">
<xsl:value-of select="van/datum"/>
</td>-->
<xsl:value-of select="res_ruimte/nr"/> (max. <xsl:value-of select="res_ruimte/bezoekers"/>&#xA0;<xsl:value-of select="//lcl/FAC/personen"/>)</td>
<td width="14%" class="resresult" style="text-align:right">
<xsl:value-of select="van/tijd"/>
</td>
@@ -984,11 +569,6 @@
<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 -->
@@ -998,12 +578,6 @@
<td class="resresult"><xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span>&#xA0;</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>
@@ -1011,11 +585,6 @@
<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 -->
@@ -1023,67 +592,22 @@
<xsl:sort select="levering/tijd"/>
<tr>
<td class="resresult">
<xsl:value-of select="res_artikel/omschrijving"/>
<xsl:value-of select="res_artikel/omschrijving"/> voor <xsl:value-of select="aantal"/> pers.
</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>
<td colspan="10" style="border-top:1px solid #000;"/>
</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>