AAIT#36765 -- Opruimten AANS en AAFP omgevingen

svn path=/Website/branches/v2016.1/; revision=30529
This commit is contained in:
Arthur Egberink
2016-09-02 13:07:54 +00:00
parent 6527379022
commit 8cf6760a81
54 changed files with 0 additions and 5797 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -1,14 +0,0 @@
/*
* $Revision$
* $Id$
*/
@import "../AAXX/default.css";
#headerblok
{
background: url(FPC2landen.gif) no-repeat;
background-color: #FFFFFF;
background-position: 0px 0px;
color: #000002;
}

View File

@@ -1,19 +0,0 @@
REM GEN_EXPORT_DAILY_TASK.BAT
REM
REM Roept scripts aan die dagelijks uitgevoerd moeten worden
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) 2009, SG facilitor, +31 (53) 4800710, helpdesk@sgfacilitor.nl
REM
CALL ..\..\..\utils\gen_export\gen_export.bat DAILY_TASK

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

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.

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://aafp.facilitor.nl?sso=2" 'HTTPS URL adres van ASP
strSharedKey = "25bb61b4-d81d-4c88-88e4-0e2a0b279a45" '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>

View File

@@ -1,4 +0,0 @@
@echo off
REM Moet gescheduled worden (normaliter 1 keer per uur) om door de applicatiebeheerder
REM ingeregelde notificaties te genereren.
cscript ..\..\..\utils\gen_notify\gen_notify.js ../oracle.udl AAFP

View File

@@ -1,4 +0,0 @@
@echo off
REM Moet gescheduled worden (normaliter 1 keer per dag) om door de applicatiebeheerder
REM ingeregelde jobs (aanmaak van periodieke opdrachten) uit te voeren.
cscript ..\..\..\utils\gen_scheduler\gen_scheduler.js ../oracle.udl

View File

@@ -1 +0,0 @@
call ..\..\..\utils\putOrders\putOrders.bat

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,46 +0,0 @@
<%@ language = "JavaScript" %>
<% /*
$Revision$
$Id$
File: anoniem.asp
Description: A deeplink call register visitors anonymous
Voorbeeld link: https://sgf12/facilitor5iwork/default.asp?fac_id=aans&login=GAST&noMenu=1&noHeader=1&Jumpto=cust/aans/bezoekers/anoniem.asp
Parameters:
Context:
Note:
*/ %>
<%
Response.Expires=0;
%>
<html>
<head>
<%
// anonieme gebruikers mogen alleen vanaf het NS netwerk binnenkomen.
ipaddress = ""+Request.ServerVariables("REMOTE_HOST");
if (ipaddress != "145.222.61.13" && // NS Proxy
ipaddress != "194.151.85.2" && // AANS#24057
ipaddress != "87.249.108.135" && // SG|facilitor Enschede glasvezel
ipaddress.substr(0,11) != "192.168.10." )
{
Response.write ("Ongeldig gebruik van Facilitor! ");
Response.end;
}
%>
</head>
<body leftmargin=0 topmargin=0 onLoad="Loaded();">
<script language="javascript">
function Loaded()
{
var s = "../../../appl/bez/bez_afspraak.asp?urole=fe";
parent.location.href = s;
}
</script>
</body>
</head>

View File

@@ -1,17 +0,0 @@
/*
* $Revision$
* $Id$
*/
@import "../AAXX/default.css";
#headerblok
{
background: url(fac_head_l.gif) no-repeat;
background-color: #FFFFFF;
background-position: 0px 0px;
color: #000002;
}

View File

View File

@@ -1,7 +0,0 @@
open 194.151.85.190
user FTP_Meeting
Scala@N$stations
hash
lcd RES_RUIMTE_XML
put *.xml
bye

View File

@@ -1,19 +0,0 @@
REM GEN_EXPORT_BEZOEKERS.BAT
REM
REM CONN
REM
REM Plaatst bezoekers met een ingevuld emailadres in de notificatie queue.
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) 2005, Dijkoraad IT bv, +31 (53) 4800700, facilitorsupport@it.dijkoraad.nl
REM
CALL ..\..\..\utils\gen_export\gen_export.bat BEZOEKERS

View File

@@ -1,19 +0,0 @@
REM GEN_EXPORT_DAILY_TASK.BAT
REM
REM Roept scripts aan die dagelijks uitgevoerd moeten worden
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) 2009, SG facilitor, +31 (53) 4800710, helpdesk@sgfacilitor.nl
REM
CALL ..\..\..\utils\gen_export\gen_export.bat DAILY_TASK

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

View File

@@ -1,20 +0,0 @@
REM GEN_EXPORT_HV_FREEZE.BAT
REM
REM AAFM
REM
REM Bevries de huisvestingssituatie.
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) 2005, Dijkoraad IT bv, +31 (53) 4800700, facilitorsupport@it.dijkoraad.nl
REM
REM ================================================== create exportfile
CALL ..\..\..\utils\gen_export\gen_export.bat HV_FREEZE
REM ================================================== cleanup

View File

@@ -1,23 +0,0 @@
REM GEN_EXPORT_RES_RUIMTE_XML.BAT
REM
REM AAFM
REM
REM Exporteer de reserveerbare ruimten.
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) 2005, Dijkoraad IT bv, +31 (53) 4800700, facilitorsupport@it.dijkoraad.nl
REM
REM ================================================== remove old exportfiles
del .\RES_RUIMTE_XML\*.xml
REM ================================================== create exportfile
CALL ..\..\..\utils\gen_export\gen_export.bat RES_RUIMTE_XML
REM ================================================== transfer file to Enexis
ftp.exe -n -s:ftp_res_ruimte2ns.scr

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

View File

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

View File

@@ -1,2 +0,0 @@
cscript ..\..\..\utils\gen_import\gen_import.wsf AANS CONTRACT >>genimport.log 2>>&1

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

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

View File

View File

@@ -1,108 +0,0 @@
<%@ language="javascript"%>
<% /*
$Revision$
$Id$
File: cust/AANS/rap_alg.asp
Description: Inhoud van het ALG-tabblad van FG
Parameters: floorKey (required)
highlight (optional list of room-keys to filter)
Context: -
*/%>
<!-- #include file="../../Appl/Shared/common.inc" -->
<!-- #include file="../../Appl/Shared/resultset_table_v2.inc" -->
<%
var floorKey = getQParamInt("vKey", -1);
var highlight_arr = getQParamIntArray("highlight", []); // Comma-separated room_key_list (terrains). Optional
var outputmode = getQParam("outputmode", 0);
var showall = getQParam("showall", 0) == 1;
var sql = "";
if (floorKey != -1)
{
sql = " SELECT r.alg_ruimte_key, r.alg_ruimte_aanduiding, sr.alg_srtruimte_omschrijving,"
+ " hd.vvo, (COALESCE(hd.prs_ruimteafdeling_bezetting,100)/100)*r.alg_ruimte_bruto_vloeropp bvo, r.alg_ruimte_omschrijving,"
+" r.alg_ruimte_bruto_vloeropp, hd.prs_ruimteafdeling_bezetting bezetting,"
+ " (SELECT " + S("prs_dep_string")
+ " FROM prs_v_afdeling d"
+ " WHERE d.prs_afdeling_key = hd.prs_afdeling_key) afdeling"
+ " FROM aans_v_rap_huurdetail hd, "
+ " alg_v_ruimte_gegevens r, "
+ " alg_srtruimte sr "
+ " WHERE hd.alg_ruimte_key(+) = r.alg_ruimte_key"
+ " AND r.alg_srtruimte_key = sr.alg_srtruimte_key"
+ " AND r.alg_verdieping_key = " + floorKey
+ (highlight_arr.length > 0 && highlight_arr.join(",").indexOf("-1") == -1
? " AND r.alg_ruimte_key IN (" + highlight_arr.join(",") + ")"
: "")
+ " ORDER BY alg_ruimte_aanduiding, afdeling";
}
else
{ // Er is (nog) geen verdieping bekend
sql = "SELECT * FROM DUAL WHERE 1 = 0";
}
%>
<html>
<head>
<% FCLTHeader.Generate({outputmode: outputmode, root: "../../appl/"}); %>
<script type="text/javascript">
function onClickRuimte(row)
{
FcltMgr.openDetail("appl/alg/alg_ruimte.asp?key=" + row.getAttribute("ROWKEY"));
}
</script>
</head>
<body class="tabpage">
<%
var summaryParams = {selectedopp: 0.00, selectedoppAlt1: 0.00}
var ruimte_aanduiding_prev = "";
function fnsummaryCalc(oRs)
{
with (summaryParams)
{
if (ruimte_aanduiding_prev != oRs("alg_ruimte_aanduiding").value)
selectedopp = selectedopp + oRs("alg_ruimte_bruto_vloeropp").value;
ruimte_aanduiding_prev = oRs("alg_ruimte_aanduiding").value;
selectedoppAlt1 = selectedoppAlt1 + oRs("vvo").value;
}
return;
}
function fnsummaryShow()
{
var status_row = "<label>" + L("lcl_estate_totaal_opp") + "</label> "
+ "<label>" + L("lcl_estate_ruimte_bruto_vloeropp") + "</label>: " + summaryParams.selectedopp.toFixed(2) + " " + L("lcl_estate_ruimte_opp_m2");
status_row += ", <label>" + L("lcl_estate_ruimte_opp_alt1") + "</label>: " + summaryParams.selectedoppAlt1.toFixed(2) + " " + L("lcl_estate_ruimte_opp_m2");
return status_row;
}
var rst = new ResultsetTable({ ID : "cadalgtable",
keyColumn: "alg_ruimte_key",
title: L("lcl_space_manage_h"),
sql: sql,
outputmode: outputmode,
showAll: showall,
summaryCalc: fnsummaryCalc,
summaryShow: fnsummaryShow
});
rst.addColumn(new Column({caption: L("lcl_obj_inf_room"), content: "alg_ruimte_aanduiding"}));
rst.addColumn(new Column({caption: L("lcl_fg_func_names"), content: "alg_srtruimte_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_descr"), content: "alg_ruimte_omschrijving"}));
rst.addColumn(new Column({caption: L("lcl_department"), content: "afdeling"}));
rst.addColumn(new Column({caption: L("lcl_procent"), content: "bezetting", datatype: "float"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_bruto_vloeropp"), content: "bvo", datatype: "float"}));
rst.addColumn(new Column({caption: L("lcl_estate_ruimte_opp_alt1"), content: "vvo", datatype: "float"}));
rst.addAction({ action: "onClickRuimte", caption: L("lcl_edit"), isDefault: true } );
var cnt = rst.processResultset();
%>
</body>
</html>

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://aans.facilitor.nl?sso=2" 'HTTPS URL adres van ASP
strSharedKey = "0cbdd3ad-4428-469a-a5c3-9ab71f8626af" '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>

View File

@@ -1,4 +0,0 @@
@echo off
REM Moet gescheduled worden (normaliter 1 keer per uur) om door de applicatiebeheerder
REM ingeregelde notificaties te genereren.
cscript ..\..\..\utils\gen_notify\gen_notify.js ../oracle.udl AANS

View File

@@ -1,4 +0,0 @@
@echo off
REM Moet gescheduled worden (normaliter 1 keer per dag) om door de applicatiebeheerder
REM ingeregelde jobs (aanmaak van periodieke opdrachten) uit te voeren.
cscript ..\..\..\utils\gen_scheduler\gen_scheduler.js ../oracle.udl

View File

@@ -1 +0,0 @@
call ..\..\..\utils\putOrders\putOrders.bat

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,248 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:template match="afspraak" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:when test="$srtnotificatiecode='CUST01'">
<html>
<xsl:call-template name="htmlhead"/>
<body>
<p>Geachte heer/mevrouw <xsl:value-of select="bezoeker/naam"/>,</p>
<p>Ik heet u van harte welkom bij NS Stations en bevestig uw afspraak voor
<xsl:value-of select="datum/datum"/> om <xsl:value-of select="datum/tijd"/>.</p>
<p>Ik zal u ophalen in de ontvangsthal van de Katreinetoren in Utrecht.
<xsl:if test="telefoonnr">
<br/>Indien u verlaat of verhinderd bent, kunt u dit doorgeven op telefoonnummer <xsl:value-of select="telefoonnr"/>.
</xsl:if></p>
<p>Ik verheug mij op uw komst.</p>
<p>Met vriendelijke groet</p>
<p><xsl:value-of select="gastheer"/></p>
<p>NS Stations</p>
<p>Adres:<br/>
NS Stations, Katreinetoren<br/>
Stationshal 17, 3511 CE Utrecht</p>
<p>Bereikbaarheid<br/>
Ons kantoor is uitstekend met de trein te bereiken. De ingang van de Katreinetoren bevindt zich in de stationshal van Utrecht Centraal naast de roltrappen van spoor 5-7. Plan uw reis via <a href="www.ns.nl">www.ns.nl</a> of <a href="m.ns.nl">m.ns.nl.</a><br/>
Parkeren kunt u in de omgeving van het station Utrecht Centraal in een van de parkeergarages.</p>
</body>
</html>
</xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ AFSPRAKEN ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for afspraak</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="afspraak" 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(bezoeker))">
<table>
<tr>
<td height="20"/>
</tr>
<tr>
<td class="caption">Geen bezoekers geregistreerd.</td>
</tr>
</table>
</xsl:when>
<xsl:otherwise>
<!-- Bevestiging bezoekers registratie -->
<table border="0" bordercolor="#ffffff" width="100%">
<tr>
<td class="caption" valign="top" colspan="2">Bevestiging Bezoekersregistratie <xsl:value-of select="key"/><br/></td>
</tr>
<tr>
<td class="label" width="20%">Aanvrager</td>
<td class="value" width="80%">: <xsl:value-of select="contact_user/naam_full"/></td>
</tr>
<tr>
<td class="label" width="20%">E-mail adres</td>
<td class="value" width="80%">: <xsl:value-of select="contact_user/email"/></td>
</tr>
<tr>
<td class="label" width="20%">Locatie</td>
<td class="value" width="80%">: <xsl:value-of select="contact_user/werkplek/plaats/regio/district/locatie/omschrijving"/></td>
</tr>
<tr>
<td class="label" width="20%">Afdeling</td>
<td class="value" width="80%">: <xsl:value-of select="contact_user/afdeling/omschrijving"/></td>
</tr>
<tr>
<td height="30px"/>
</tr>
<xsl:if test="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 height="30px"/>
</tr>
</xsl:if>
<xsl:call-template name="bez_begintext"/>
<tr>
<td height="10px"/>
</tr>
<tr>
<td class="tekstkop" colspan="2" style="text-decoration:underline">Bezoekgegevens</td>
</tr>
<tr>
<td height="5px"/>
</tr>
<tr>
<td class="label" width="20%">Datum bezoek</td>
<td class="value" width="80%">: <xsl:value-of select="datum/datum"/>
<xsl:if test="datum/datum!=eind/datum">- <xsl:value-of select="eind/datum"/></xsl:if>
</td>
</tr>
<tr>
<td class="label" width="20%">Tijd bezoek</td>
<td class="value" width="80%">: <xsl:value-of select="datum/tijd"/> - <xsl:value-of select="eind/tijd"/></td>
</tr>
<tr>
<td class="label" width="20%">Op bezoek bij</td>
<td class="value" width="80%">: <xsl:value-of select="gastheer"/></td>
</tr>
<tr>
<td class="label" width="20%">Telefoon</td>
<td class="value" width="80%">: <xsl:value-of select="telefoonnr"/></td>
</tr>
<tr>
<td class="label" width="20%">Bezoek locatie</td>
<td class="value" width="80%">: <xsl:value-of select="plaats/plaatsaanduiding"/></td>
</tr>
<tr>
<td class="label" width="20%">Actie</td>
<td class="value" width="80%">: <xsl:value-of select="actie"/></td>
</tr>
<xsl:if test="opmerking!=''">
<tr>
<td class="label" width="20%">Opmerking</td>
<td class="value" width="80%">: <xsl:value-of select="opmerking"/></td>
</tr>
</xsl:if>
<tr>
<td height="10"/>
</tr>
<!-- afspraak -->
<xsl:for-each select="bezoeker">
<xsl:sort select="naam"/>
<xsl:choose>
<xsl:when test="position() = 1">
<tr>
<td height="10" style="border-right: 0px solid; border-top: 0px solid; border-left: 0px solid; border-bottom: 0px solid"/>
</tr>
<tr>
<td colspan="3" class="label">Bezoeker(s)</td>
</tr>
</xsl:when>
</xsl:choose>
<tr>
<td class="result">
<xsl:value-of select="naam"/>
</td>
<td class="result">
<xsl:value-of select="bedrijf"/>
<xsl:if test="deel">[P]arkeerplaats gereserveerd</xsl:if>
</td>
</tr>
</xsl:for-each>
<xsl:call-template name="bez_endtext"/>
</table>
<!-- Bevestiging bezoekers registratie -->
</xsl:otherwise>
</xsl:choose>
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
</TABLE>
</xsl:template>
<xsl:template match="afspraak" mode="badge">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="480px">
<tr>
<td colspan="3" style="text-align:center; font-size:32px; font-weight: bold; height:60px;">Bezoeker</td>
</tr>
<tr>
<td colspan="3" style="text-align:left; font-size:16px; font-weight: bold; height:20px; font-variant: small-caps;">
<xsl:value-of select="bezoeker/naam"/>
</td>
</tr>
<tr>
<td colspan="3" style="text-align:left; font-size:16px; font-weight: bold; font-variant: small-caps;">
<xsl:value-of select="bezoeker/bedrijf"/>
</td>
</tr>
<tr>
<td height="20px">&#xA0;</td>
</tr>
<tr>
<td style="font-weight: bold;">Date:</td>
<td style="font-weight: bold;">
<xsl:value-of select="bezoeker/done/datum"/>
</td>
<td rowspan="2" style="text-align:right;">
<xsl:element name="img">
<xsl:attribute name="wxidth">140px</xsl:attribute>
<xsl:attribute name="src">../../appl/shared/barcode.asp?text=9078563412&amp;height=50&amp;narrow=1&amp;wide=3</xsl:attribute>
</xsl:element>
</td>
</tr>
<tr>
<td style="font-weight: bold;">Guest of:</td>
<td style="font-weight: bold; font-variant: small-caps;">
<xsl:value-of select="gastheer"/>
</td>
</tr>
</TABLE>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,195 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:template match="bestelling" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
<TD>
<table border="0" width="100%" bordercolor="#000000">
<tr>
<td align="left" width="100%" class="caption" colspan="2"><xsl:value-of select="//lcl/BES/bestelaanvraag"/> <xsl:value-of select="key"/>
<xsl:if test="ismutatie=1"> (WIJZIGING)</xsl:if>
<xsl:if test="isretour=1"> (RETOUR)</xsl:if>
</td>
</tr>
<tr>
<td width="20%" class="label"><xsl:value-of select="//lcl/FAC/aanvrager"/></td>
<td width="80%" class="value">: <xsl:value-of select="aanvrager/naam_full"/></td>
</tr>
<xsl:if test="string(aanvrager/email)!=''">
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/e-mail"/></td>
<td class="value">: <xsl:value-of select="aanvrager/email"/></td>
</tr>
</xsl:if>
<xsl:if test="aanvrager/telefoonnr!=''">
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/telefoon"/></td>
<td class="value">: <xsl:value-of select="aanvrager/telefoonnr"/></td>
</tr>
</xsl:if>
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/afdeling"/></td>
<td class="value">:
<xsl:if test="aanvrager/afdeling/omschrijving=''">-</xsl:if>
<xsl:value-of select="aanvrager/afdeling/omschrijving"/>
</td>
</tr>
<xsl:if test="string(voor/naam_full)!=string(aanvrager/naam_full)">
<tr>
<td class="label"><xsl:value-of select="//lcl/BES/bestelvoor"/></td>
<td class="value">: <xsl:value-of select="voor/naam_full"/></td>
</tr>
</xsl:if>
<tr>
<td class="label"><xsl:value-of select="//lcl/FAC/kostenplaats"/></td>
<td class="value">:
<xsl:if test="kostenplaats/nr=''">-</xsl:if>
<xsl:value-of select="kostenplaats/nr"/>
</td>
</tr>
<tr>
<td height="20px"/>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/BES/aanvraagdatum"/></td>
<td class="value">:
<xsl:value-of select="datum/datum"/> 
<xsl:value-of select="datum/tijd"/>
</td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/BES/aanvraagstatus"/></td>
<td class="value">: <xsl:value-of select="status"/></td>
</tr>
<tr>
<td class="label">Afleverdatum</td>
<td class="value">: <xsl:value-of select="leverdatum/datum"/></td>
</tr>
<tr>
<td class="label" style="vertical-align:top"><xsl:value-of select="//lcl/BES/afleveradres"/></td>
<td class="value">:
<xsl:value-of select="afleveradres/naam"/>
<br/> 
<xsl:value-of select="afleveradres/bezoek_adres"/>
<br/> 
<xsl:value-of select="afleveradres/bezoek_postcode"/> 
<xsl:value-of select="afleveradres/bezoek_plaats"/>
<br/> 
<xsl:value-of select="afleveradres/bezoek_land"/>
</td>
</tr>
<tr>
<td height="20px"/>
</tr>
<xsl:for-each select="kenmerk[count(@xmlnode)=0]">
<xsl:if test="(@type!='L' and @type!='l')">
<tr>
<td class="label">
<xsl:value-of select="@naam"/>
</td>
<td class="value">: <xsl:value-of select="."/></td>
</tr>
</xsl:if>
</xsl:for-each>
<tr>
<td height="20px"/>
</tr>
<xsl:if test="status='Geleverd'">
<tr>
<td class="label">Commentaar levering</td>
<td class="value">: <xsl:value-of select="bestelopdracht/leveringopmerking"/></td>
</tr>
</xsl:if>
<tr>
<td height="20px"/>
</tr>
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0" border="1" bordercolor="#303030" width="100%">
<tr>
<th><xsl:value-of select="//lcl/BES/artikelnr"/></th>
<th><xsl:value-of select="//lcl/FAC/omschrijving"/></th>
<th><xsl:value-of select="//lcl/FAC/opmerkingen"/></th>
<th style="text-align:right"><xsl:value-of select="//lcl/FAC/aantal"/></th>
<th style="text-align:right"><xsl:value-of select="//lcl/FAC/prijs"/></th>
<th style="text-align:right"><xsl:value-of select="//lcl/FAC/totaal"/></th>
</tr>
<xsl:for-each select="bestelitem">
<tr>
<td class="result" style="text-align:left">
<xsl:value-of select="srtdeel/artikel_nummer"/>
</td>
<td class="result" style="text-align:left">
<xsl:value-of select="srtdeel/omschrijving"/>
</td>
<td class="result">
<xsl:for-each select="kenmerk[count(@xmlnode)=0]">
<xsl:if test="(@type!='L' and @type!='l')">
<xsl:value-of select="@naam"/>:
<xsl:value-of select="."/>
<br/>
</xsl:if>
</xsl:for-each> </td>
<td class="result" style="text-align:right">
<xsl:value-of select="aantal"/>
</td>
<td class="result" style="text-align:right">
<xsl:value-of select="format-number(prijs, '0,00', 'european')"/>
</td>
<td class="result" style="text-align:right">
<xsl:value-of select="format-number(aantal*prijs, '0,00', 'european')"/>
</td>
</tr>
</xsl:for-each>
<tr>
<td height="6px" style="border-style:solid;border-width:0px;"/>
</tr>
<tr>
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;" colspan="5"><xsl:value-of select="//lcl/FAC/totaal"/>:</td>
<td class="tekstkop" style="text-align:right;border-style:solid;border-width:0px;">
<xsl:value-of select="format-number(sum(/facilitor/bestelling/bestelitem/totaal), '0,00', 'european')"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
</TABLE>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,118 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:template match="bezoeker" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ BEZOEKER ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for bezoeker</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'BEZBAD'">
<xsl:apply-templates select="." mode="badge"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
</xsl:otherwise>
</xsl:choose>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="bezoeker" mode="badge">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<tr>
<td style="text-align:center; font-size:30px; font-weight: bold; height:60px;"><xsl:value-of select="//lcl/BEZ/bezoeker"/></td>
</tr>
<tr>
<td style="text-align:center; font-size:16px; font-weight: bold; height:20px;"><xsl:value-of select="naam"/></td>
</tr>
<tr>
<td style="text-align:center; font-size:16px; font-weight: bold;"><xsl:value-of select="bedrijf"/></td>
</tr>
<tr>
<td style="text-align:right;">
<xsl:element name="img">
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo.gif</xsl:attribute>
</xsl:element>
</td>
</tr>
</TABLE>
</xsl:template>
<xsl:template match="bezoeker" mode="include">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"/>
<TD>
<table border="0" bordercolor="#ffffff" width="100%">
<tr>
<td class="caption" valign="top" colspan="2"><xsl:value-of select="//lcl/BEZ/bezoeker"/>&#xA0;<xsl:value-of select="naam"/><br/></td>
</tr>
<tr>
<td class="label" width="20%"><xsl:value-of select="//lcl/FAC/bedrijf"/></td>
<td class="value">: <xsl:value-of select="bedrijf"/></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 class="label"><xsl:value-of select="@naam"/>:</td>
<td class="value">: <xsl:value-of select="."/></td>
</tr>
</xsl:if>
</xsl:for-each>
<xsl:if test="deel"><tr><td></td><td class="value">: <xsl:value-of select="//lcl/BEZ/parkeerplaats_gereserveerd"/></td></tr></xsl:if>
<tr>
<td class="label" width="20%"><xsl:value-of select="//lcl/BEZ/op_bezoek_bij"/></td>
<td class="value" width="80%">: <xsl:value-of select="afspraak/gastheer"/></td>
</tr>
<xsl:if test="done"><tr></tr><tr><td class="label"><xsl:value-of select="//lcl/BEZ/tijd_bezoek"/></td><td class="value">: <xsl:value-of select="done/datum"/>&#xA0;<xsl:value-of select="done/tijd"/> - <xsl:value-of select="out/datum"/>&#xA0;<xsl:value-of select="out/tijd"/></td></tr></xsl:if>
</table>
</TD>
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR>
</TABLE>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,331 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:template name="contractscope">
<xsl:param name="bijlage"/>
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Bezoek/afleveradres:</span>
</td>
</tr>
<xsl:if test="count(contract_plaats/plaats) &gt; 1 and $bijlage='0'">
<tr>
<td>zie bijlage</td>
</tr>
</xsl:if>
<xsl:if test="count(contract_plaats/plaats) = 1 and $bijlage='0'">
<xsl:for-each select="contract_plaats">
<xsl:sort select="plaats/regio/district/locatie/omschrijving"/>
<xsl:if test="plaats[@type='L']">
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/adres"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/postcode"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/plaats"/>
</td>
</tr>
<xsl:if test="kosten!=''">
<tr>
<td>
&#8364;&#xA0;<xsl:value-of select="format-number(kosten, '#.###,00', 'euro')"/>
</td>
</tr>
</xsl:if>
</xsl:if>
<xsl:if test="plaats[@type='G']">
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/> - <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Adres']"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Postcode']"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Plaats']"/>
</td>
</tr>
<xsl:if test="kosten!=''">
<tr>
<td>
&#8364;&#xA0;<xsl:value-of select="format-number(kosten, '#.###,00', 'euro')"/>
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:if>
<xsl:if test="count(contract_plaats/plaats) &gt; 1 and $bijlage='1'">
<xsl:for-each select="contract_plaats">
<xsl:sort select="plaats/regio/district/locatie/omschrijving"/>
<xsl:if test="plaats[@type='L']">
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/>
</td>
<td>
<xsl:value-of select="plaats/regio/district/locatie/adres"/>
</td>
<td>
<xsl:value-of select="plaats/regio/district/locatie/postcode"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/plaats"/>
</td>
<xsl:if test="kosten!=''">
<td>
&#8364;&#xA0;<xsl:value-of select="format-number(kosten, '#.###,00', 'euro')"/>
</td>
</xsl:if>
</tr>
</xsl:if>
<xsl:if test="plaats[@type='G']">
<tr>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/> - <xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/>
</td>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Adres']"/>
</td>
<td>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Postcode']"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@naam='Plaats']"/>
</td>
<xsl:if test="kosten!=''">
<td>
&#8364;&#xA0;<xsl:value-of select="format-number(kosten, '#.###,00', 'euro')"/>
</td>
</xsl:if>
</tr>
</xsl:if>
</xsl:for-each>
</xsl:if>
</table>
</xsl:template>
<xsl:template match="contract" mode="full">
<xsl:variable name="versie">
<xsl:if test="versie=''">
</xsl:if>
<xsl:if test="versie!=''">
<xsl:value-of select="concat('.', versie)"/>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ CONTRACT ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for contract</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader_opdr">
<xsl:with-param name="opdr_type" select="'Contractorder'"/>
<xsl:with-param name="opdr_nummer" select="concat('C',nummer_intern, $versie)"/>
</xsl:call-template>
<table border="0" width="100%">
<tr>
<td width="50%">
<span class="tekstkop">&#xA0;Prijsconditie:&#xA0;</span>BTW. Exclusief</td>
<td width="50%">
<span class="tekstkop">&#xA0;Betalingsconditie:&#xA0;</span>60 dagen einde maand</td>
</tr>
</table>
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td width="50%" height="100%" rowspan="3" style="border-left-style:none">
<table border="0" height="100%">
<tr>
<td height="50%">
<xsl:apply-templates select="bedrijf"/>
</td>
</tr>
<tr>
<td height="50%">
<xsl:call-template name="contractscope">
<xsl:with-param name="bijlage" select="'0'"/>
</xsl:call-template>
</td>
</tr>
<tr>
<td valign="bottom">
<span class="tekstkop">&#xA0;Omschrijving:</span>
</td>
</tr>
</table>
</td>
<td width="50%" style="border-right-style:none">
<xsl:call-template name="servicedesk"/>
<xsl:if test="opdrachttype/omschrijving!='Contractorder' ">
<xsl:call-template name="gereedmelden"/>
</xsl:if>
</td>
</tr>
<tr>
<td style="border-right-style:none">
<xsl:call-template name="factuuradres"/>
</td>
</tr>
<tr>
<td style="border-right-style:none">
<table border="0" width="100%" cellspacing="0">
<tr>
<td>
<span class="tekstkopsmall">Contractsoort:</span>
</td>
<td>
<xsl:value-of select="discipline/omschrijving"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Startdatum:</span>
</td>
<td>
<xsl:value-of select="looptijd_van/datum"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Einddatum:</span>
</td>
<td>
<xsl:value-of select="looptijd_tot/datum"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Uitgifte:</span>
</td>
<td>
<xsl:value-of select="/facilitor/header/dateTime"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Behandeld door:</span>
</td>
<td>facilitydesk medewerker</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Request nr:</span>
</td>
<td>
<xsl:value-of select="concat('C',nummer_intern, $versie)"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Opdrachtgever:</span>
</td>
<td>
<xsl:value-of select="/facilitor/contract/eigenaar/naam_full"/>
</td>
</tr>
<!--<tr>
<td>
<span class="tekstkop">Telefoonnummer:</span>
</td>
<td><xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/kenmerk"/> werkdag(en)
</td>
</tr>-->
</table>
</td>
</tr>
</table>
<table border="0" height="300">
<tr>
<td align="left">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="/facilitor/contract/document"/>
</xsl:call-template>
</td>
</tr>
</table>
<table border="1" width="100%" height="50" bordercolor="#000000" cellspacing="0">
<tr>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;</td>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;</td>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;
<span class="tekstkop">Handtekening AAFM:</span>
</td>
</tr>
</table>
<table border="0" width="100%" bordercolor="#000000">
<tr>
<td>
<xsl:call-template name="voorwaarden"/>
</td>
</tr>
</table>
<xsl:call-template name="pagefooter"/>
<!-- bijlage bij contract als aantal gebouwen/locaties te groot is -->
<xsl:if test="count(contract_plaats/plaats) &gt; 1 ">
<div style="page-break-before:always">&#xA0;</div>
<xsl:call-template name="pageheader_opdr">
<xsl:with-param name="opdr_type" select="'Contractorder (bijlage)'"/>
<xsl:with-param name="opdr_nummer" select="concat('C',nummer_intern, $versie)"/>
</xsl:call-template>
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td>
<xsl:call-template name="contractscope">
<xsl:with-param name="bijlage" select="'1'"/>
</xsl:call-template>
</td>
</tr>
</table>
<xsl:call-template name="pagefooter"/>
</xsl:if>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,507 +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:variable name="xsrtnotificatiecode">CUST01</xsl:variable>
<xsl:template name="stylesheet">
<style>body {
font-family: Verdana;
background-color: rgb(255, 255, 255);
margin-left:8;
margin-top:8;
cursor: auto;
}
p {
font-family: Verdana;
font-style: normal;
font-size: 9pt;
font-weight: normal;
color: #000000;
text-align: left;
vertical-align: top;
}
table {
border: 0;
}
table.details {
background-color: "#31398C";
}
th {
font-family: Verdana;
font-size: 9pt;
font-weight: normal;
color: #ffffff;
text-decoration: none;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
padding-bottom: 3px;
background-color: #31398C;
}
td {
font-family: Verdana;
font-style: normal;
font-size: 8pt;
font-weight: normal;
color: #000000;
text-align: left;
vertical-align: top;
}
td.result {
text-decoration: none;
padding-bottom: 2px;
padding-top: 2px;
padding-left: 2px;
padding-right: 2px;
background-color: #D6D8E8;
}
td.sec_heading {
font-size: 9pt;
text-decoration: none;
padding-bottom: 2px;
padding-top: 2px;
padding-left: 2px;
padding-right: 2px;
text-align: left;
background-color: #d0d0d0;
}
td.caption {
font-size: 18pt;
padding-bottom: 30px;
padding-top: 40px;
}
td.subcaption {
font-size: 10pt;
font-weight: bold;
text-decoration: underline;
}
td.label {
font-size: 10pt;
}
td.value {
font-style: italic;
font-size: 10pt;
}
td.tekst {
font-size: 10pt;
}
td.adres {
font-size: 8pt;
text-align: right;
}
td.tekstkop {
font-weight: bold;
font-size: 10pt;
}
td.tiny {
font-size: 6pt;
text-align: right;
}
span.tekstkop {
font-weight: bold;
font-size: 9pt;
}
span.tekstkopsmall {
font-weight: bold;
font-size: 8pt;
}</style>
</xsl:template>
<xsl:template name="pageheader_opdr">
<xsl:param name="opdr_type"/>
<xsl:param name="opdr_nummer"/>
<table border="0" width="100%">
<tr>
<td width="50%" bordercolor="#FFFFFF" align="center">
<xsl:choose>
<xsl:when test="$mode='email'">
<img src="cid:tmpl_logo.gif"/>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo_sm.gif</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</td>
<td width="50%" align="right" valign="bottom" style="text-align:right; font-size:18;">
<b>
<xsl:value-of select="$opdr_type"/>
</b>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<table border="1" bordercolor="#000000">
<tr>
<td>
<xsl:choose>
<xsl:when test="$opdr_type='Docket'">Docketnummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
<xsl:when test="$opdr_type='Klacht'">Klachtnummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
<xsl:when test="$opdr_type='RFQ'">Offerte aanvraag: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze offerte!!)</b></xsl:when>
<xsl:when test="$opdr_type='Contractorder (bijlage)'">Bijlage bij contractorder: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span></xsl:when>
<xsl:otherwise>Ordernummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="servicedesk">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Servicedesk:</span>
<br/>Tel nr: 00 31 (0)88 0081121<br/>
Postbus 4028<br/>
3502 HM Utrecht<br/>
E-mail: facilitydeskns@aa-fm.com<br/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="bedrijf">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Leverancier:</span>
<br/>
<xsl:value-of select="naam"/>
<br/>
<xsl:value-of select="post_adres"/>
<br/>
<xsl:value-of select="post_postcode"/>&#xA0;&#xA0;<xsl:value-of select="post_plaats"/> <br/>
Tel nr: <xsl:value-of select="telefoon"/> <br/>
Fax nr: <xsl:value-of select="fax"/></td>
</tr>
</table>
</xsl:template>
<xsl:template name="gereedmelden">
<table border="0" width="100%">
<tr>
<td><br/>S.v.p. gereedmelden via Facilitor, wanneer u geen toegang heeft kan dit per mail naar de Servicedesk.</td>
</tr>
</table>
</xsl:template>
<xsl:template name="factuuradres">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Factuuradres:</span>
<br/>AAFM Facility Management B.V.<br/>
T.a.v. Crediteurenadministratie NS account<br/>
Postbus 80009<br/>
5600 JZ Eindhoven</td>
</tr>
</table>
</xsl:template>
<xsl:template name="voorwaarden">
<xsl:param name="opdr_type"/>
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td>
<span style="font-size:9">Op alle door AAFM Facility Management BV verstrekte offerteaanvragen en opdrachten zullen uitsluitend en onverkort de algemene
inkoopvoorwaarden, versie 01 januari 2010 van AAFM Facility Management BV van toepassing zijn, op te vragen via:
<a href="http://www.aa-fm.com">http://www.aa-fm.com</a>(onder afdeling Inkoop), met uitzondering van
met AAFM Facility Management BV overeengekomen schriftelijke contractuele afspraken.
<xsl:if test="$opdr_type='RFQ'">
<br/>
<br/>Met de ondertekening van dit formulier door Leverancier verklaart deze hiermee accoord te gaan met de hierboven genoemde algemene
inkoopvoorwaarden, met uitzondering van met AAFM Facility Management BV overeengekomen schriftelijke contractuele afspraken.</xsl:if>
</span>
<br/>
<table border="0" width="100%">
<tr><td style="text-align:center">
<span style="font-size:9; font-weight:bold">Trade register no. 09130306</span>
</td></tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:decimal-format name="euro"
decimal-separator="," grouping-separator="."/>
<xsl:template match="cust" mode="full">
<html>
<xsl:comment>================================ CUSTOMER ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for customer nodes</xsl:comment>
<xsl:call-template name="htmlhead"/>
<style>td.rs {
font-size: 8pt;
}
tr.rs {
background-color: #D6D8E8;
border: 1px solid rgb(255, 255, 255);
padding: 3px 3px 3px 3px;
font-family: Verdana;
}
th.rs {
font-size: 9pt;
color: #ffffff;
background-color: #31398C;
font-family: Verdana;
}</style>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:for-each select="res_overview">
<p>LS,</p>
<p>Bijgaand ontvangt u een overzicht van reserveringen ingevoerd in Facilitor voor de komende werkdag.
<br/>
</p>
<table>
<tr>
<th class="rs">Locatie</th>
<th class="rs">Ruimte</th>
<th class="rs">Datum</th>
<th class="rs">Van</th>
<th class="rs">Tot</th>
<th class="rs">pers</th>
<th class="rs">Voorziening/Opstelling</th>
<th class="rs">Gastheer</th>
<th class="rs">Aanvrager</th>
<th class="rs">FDC</th>
<th class="rs">Omschrijving</th>
<th class="rs">Opmerking</th>
</tr>
<xsl:for-each select="record">
<tr class="rs">
<td class="rs">
<xsl:value-of select="locatie"/>
</td>
<td class="rs">
<xsl:value-of select="res_ruimte_nr"/>
</td>
<td class="rs">
<xsl:value-of select="datum"/>
</td>
<td class="rs">
<xsl:value-of select="tijd"/>
</td>
<td class="rs">
<xsl:value-of select="tot"/>
</td>
<td class="rs">
<xsl:value-of select="bezoekers"/>
</td>
<td class="rs">
<xsl:value-of select="voorziening"/>
</td>
<td class="rs">
<xsl:value-of select="gastheer"/>
</td>
<td class="rs">
<xsl:value-of select="aanvrager"/>
</td>
<td class="rs">
<xsl:value-of select="kostenplaats"/>
</td>
<td class="rs">
<xsl:value-of select="omschrijving"/>
</td>
<td class="rs">
<xsl:value-of select="opmerking"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</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">
<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/aans/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: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="file:///m:/OrderTemplatesAAXX/ContractOrder.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,126 +0,0 @@
<?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" indent="yes" encoding="UTF-8"/>
<xsl:param name="mode"/>
<xsl:variable name="Rev">
<!-- Revision van deze maas.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<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:text> - </xsl:text>
<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="opdracht">
<xsl:element name="MAAS_XML">
<xsl:element name="List_Service_Calls">
<xsl:element name="Service_Call">
<xsl:element name="Customer_Call_Number">
<xsl:value-of select="melding/discipline/srtdiscipline/prefix"/>
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/></xsl:element>
<xsl:element name="Customer_Call_Start_Date">
<xsl:value-of select="melding/gemeld/jaar"/>
<xsl:value-of select="melding/gemeld/maand"/>
<xsl:value-of select="melding/gemeld/dag"/>
</xsl:element>
<xsl:element name="Customer_Call_Start_Time">
<xsl:value-of select="concat(concat(substring-before(melding/gemeld/tijd,':'),substring-after(melding/gemeld/tijd,':')),'00')"/>
</xsl:element>
<xsl:element name="Customer_Requestor_Name">
<xsl:value-of select="substring(melding/voor/naam_full,1,40)"/>
</xsl:element>
<xsl:element name="Customer_Requestor_Telephone_Number">
<xsl:value-of select="melding/voor/telefoonnr"/>
</xsl:element>
<xsl:element name="Customer_Coordinator_Name">
<xsl:value-of select="substring(backoffice_contact/naam_full,1,40)"/>
</xsl:element>
<xsl:element name="Customer_Coordinator_Telephone_Number">
<xsl:value-of select="backoffice_contact/telefoonnr"/>
</xsl:element>
<xsl:element name="Customer_Coordinator_Email_Address">
<xsl:value-of select="substring(backoffice_contact/email,1,60)"/>
</xsl:element>
<xsl:element name="Customer_Site_Name">
<xsl:value-of select="melding/plaats/regio/district/locatie/omschrijving"/>
</xsl:element>
<xsl:element name="Customer_Site_Street">
<xsl:value-of select="melding/plaats/regio/district/locatie/adres"/>
</xsl:element>
<xsl:element name="Customer_Site_Postal_Code">
<xsl:value-of select="melding/plaats/regio/district/locatie/postcode"/>
</xsl:element>
<xsl:element name="Customer_Site_City">
<xsl:value-of select="melding/plaats/regio/district/locatie/plaats"/>
</xsl:element>
<xsl:if test="count(melding/deel)&gt;0">
<xsl:element name="Customer_Installation_Code">
<xsl:for-each select="melding/deel">
<xsl:sort select="omschrijving"/>
<xsl:if test="position()=1">
<xsl:value-of select="omschrijving"/>
</xsl:if>
</xsl:for-each>
</xsl:element>
</xsl:if>
<xsl:element name="Customer_Installation_Description">
<xsl:value-of select="melding/plaats/plaatsaanduiding"/>
</xsl:element>
<xsl:element name="Customer_Call_Description">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</xsl:element>
<xsl:element name="Maas_Installation_Code">
<xsl:for-each select="melding/deel">
<xsl:sort select="omschrijving"/>
<xsl:if test="position()=1">
<xsl:value-of select="substring(omschrijving, 3, 30)"/>
</xsl:if>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:template>
<xsl:template match="facilitor">
<xsl:apply-templates select="opdracht"/>
</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><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="file:///a:/Facilitor/AAFM_A/TEMP/AAESopdracht247.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,296 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<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>Melding <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/></b>
</td>
<td colspan="2" class="caption" style="padding-top:20px;padding-bottom:20px">
<xsl:if test="spoed&lt;3">
<b>SPOED!</b>
</xsl:if>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>Aanvrager:</b>
</td>
<td align="left" width="34%">
<xsl:value-of select="voor/naam_full"/>
</td>
<td align="right" width="16%">
<b>Telefoon:</b>
</td>
<td align="left" width="34%">
<xsl:if test="voor/telefoonnr=''">-</xsl:if>
<xsl:value-of select="voor/telefoonnr"/>
</td>
</tr>
<tr>
<td align="right">
<b>Locatie:</b>
</td>
<td align="left">
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/code"/>&#xA0;
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
</td>
<td align="right" valign="top">
<b>Afdeling:</b>
</td>
<td align="left">
<xsl:value-of select="voor/afdeling/omschrijving"/>
</td>
</tr>
<tr>
<td align="right" valign="top">
<b>Werkplek:</b>
</td>
<td align="left">
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/naam"/><br/>
<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/code"/>.<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>&#xA0;
<xsl:if test="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="voor/werkplek/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
</td>
<td colspan="2"/>
</tr>
<tr height="40px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td align="right">
<b>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>Melddatum:</b>
</td>
<td align="left">
<xsl:value-of select="gemeld/datum"/>&#xA0;
<xsl:value-of select="gemeld/tijd"/>
</td>
</tr>
<tr>
<xsl:choose>
<xsl:when test="plaats/@type='T'">
<td align="right">
<b>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>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>Ordernr:</b>
</td>
<td align="left">
<xsl:value-of select="kenmerk[@naam='Ordernr']"/>
</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>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>Uitvoertijd:</b>
</td>
<td align="left">
<xsl:value-of select="uitvoertijd"/>&#xA0;dagen&#xA0;*</td>
</tr>
<tr>
<xsl:if test="plaats/@type='R'">
<td align="right" valign="top">
<b>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>Status:</b>
</td>
<td align="left">
<xsl:value-of select="status"/>
</td>
</tr>
<tr height="30px">
<td colspan="4"/>
</tr>
<tr>
<td align="right">
<b>Melding:</b>
</td>
<td align="left">
<xsl:if test="stdmelding/omschrijving=''">-</xsl:if>
<xsl:value-of select="stdmelding/omschrijving"/>
</td>
<td align="right">
<b>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>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!='Q']">
<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>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="opmerking!=''">
<tr>
<td align="right" valign="top">
<b>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>
</table>
</xsl:template>
<xsl:template match="melding" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<table>
<tr height="40px">
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td>
* Wanneer uw melding een spoedmelding betreft, zal de Facility Desk uw melding als spoed aanmerken. De bovenstaande uitvoertijd vervalt dan.
Als achter de melding NTB (Nader Te Bepalen) staat, geeft dit aan dat de uitvoertijd variabel is.
Het weergegeven aantal dagen geeft een indicatie van het aantal dagen waarin AAFM verwacht dat uw melding gereed zal zijn. De werkelijke uitvoertijd is afhankelijk van de complexiteit van uw melding, de beschikbaarheid van materialen en of de betrokken partijen binnen de beïnvloedingssfeer van AAFM vallen.
</td>
</tr>
</table> <xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="mld_endtext">
<tr>
<td colspan="2" class="tekst"><br/><center>* Wanneer uw melding een spoedmelding betreft, zal de Facility Desk uw melding als spoed aanmerken. De bovenstaande uitvoertijd vervalt dan.
Als achter de melding NTB (Nader Te Bepalen) staat, geeft dit aan dat de uitvoertijd variabel is.
Het weergegeven aantal dagen geeft een indicatie van het aantal dagen waarin AAFM verwacht dat uw melding gereed zal zijn. De werkelijke uitvoertijd is afhankelijk van de complexiteit van uw melding, de beschikbaarheid van materialen en of de betrokken partijen binnen de beïnvloedingssfeer van AAFM vallen.</center></td>
</tr>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,809 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<xsl:template name="pageheader_opdr">
<xsl:param name="opdr_type"/>
<xsl:param name="opdr_nummer"/>
<table border="0" width="100%">
<tr>
<td width="50%" bordercolor="#FFFFFF" align="center">
<xsl:choose>
<xsl:when test="$mode='email'">
<img src="cid:tmpl_logo.gif"/>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">../../cust/<xsl:value-of select="//header/custId"/>/tmpl_logo_sm.gif</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</td>
<td width="50%" align="right" valign="bottom" style="text-align:right; font-size:18;">
<b>
<xsl:value-of select="$opdr_type"/>
</b>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<table border="1" bordercolor="#000000">
<tr>
<td>
<xsl:choose>
<xsl:when test="$opdr_type='Docket'">Docketnummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
<xsl:when test="$opdr_type='Klacht'">Klachtnummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:when>
<xsl:when test="$opdr_type='RFQ'">Offerte aanvraag: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze offerte!!)</b></xsl:when>
<xsl:when test="$opdr_type='Contractorder (bijlage)'">Bijlage bij contractorder: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span></xsl:when>
<xsl:otherwise>Ordernummer: <span class="tekstkop"><xsl:value-of select="$opdr_nummer"/></span><b> (Te vermelden op alle documenten m.b.t. deze order!!)</b></xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="servicedesk">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Servicedesk:</span>
<br/>Tel nr: 00 31 (0)88 0081121<br/>
Postbus 4028<br/>
3502 HM Utrecht<br/>
E-mail: facilitydeskns@aa-fm.com<br/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="gereedmelden">
<table border="0" width="100%">
<tr>
<td><br/>S.v.p. gereedmelden via Facilitor, wanneer u geen toegang heeft kan dit per mail naar de Servicedesk.</td>
</tr>
</table>
</xsl:template>
<xsl:template name="factuuradres">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Factuuradres:</span>
<br/>AAFM Facility Management B.V.<br/>
T.a.v. Crediteurenadministratie NS account<br/>
Postbus 80009<br/>
5600 JZ Eindhoven</td>
</tr>
</table>
</xsl:template>
<xsl:template match="bedrijf">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Leverancier:</span>
<br/>
<xsl:value-of select="naam"/>
<br/>
<xsl:value-of select="post_adres"/>
<br/>
<xsl:value-of select="post_postcode"/>&#xA0;&#xA0;<xsl:value-of select="post_plaats"/> <br/>
Tel nr: <xsl:value-of select="telefoon"/> <br/>
Fax nr: <xsl:value-of select="fax"/></td>
</tr>
</table>
</xsl:template>
<xsl:template name="leverancier">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Leverancier:</span>
<br/>
<xsl:value-of select="uitvoerende/bedrijf/naam"/>
<br/>
<xsl:value-of select="uitvoerende/bedrijf/post_adres"/>
<br/>
<xsl:value-of select="uitvoerende/bedrijf/post_postcode"/>&#xA0;&#xA0;<xsl:value-of select="uitvoerende/bedrijf/post_plaats"/> <br/>
Tel nr: <xsl:value-of select="uitvoerende/bedrijf/telefoon"/> <br/>
Fax nr: <xsl:value-of select="uitvoerende/bedrijf/fax"/></td>
</tr>
</table>
</xsl:template>
<xsl:template name="bezoekadres">
<table border="0" width="100%">
<tr>
<td>
<span class="tekstkop">Bezoek/afleveradres:</span>
<br/>NS Stations<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/omschrijving"/>
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/naam"/>
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Adres']"/>
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Postcode']"/>&#xA0;&#xA0;
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Plaats']"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="indiengeenbedrag">
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td>
<span style="font-size:9">Indien op deze order geen bedrag vermeld staat, is de maximale waarde 500 euro. U dient de werkelijke prijs
binnen 8 werkdagen terug te koppelen aan de Servicedesk, deze mag NIET afwijken van het factuurbedrag.
Indien deze opdracht > 500 euro is en geen bedrag bevat, dient u deze order te annuleren bij de Servicedesk
en een RFQ aan te vragen, mits er gerefereerd is naar een offerte.</span>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="voorwaarden">
<xsl:param name="opdr_type"/>
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td>
<span style="font-size:9">Op alle door AAFM Facility Management BV verstrekte offerteaanvragen en opdrachten zullen uitsluitend en onverkort de algemene
inkoopvoorwaarden, versie 01 januari 2010 van AAFM Facility Management BV van toepassing zijn, op te vragen via:
<a href="http://www.aa-fm.com">http://www.aa-fm.com</a>(onder afdeling Inkoop), met uitzondering van
met AAFM Facility Management BV overeengekomen schriftelijke contractuele afspraken.
<xsl:if test="$opdr_type='RFQ'">
<br/>
<br/>Met de ondertekening van dit formulier door Leverancier verklaart deze hiermee accoord te gaan met de hierboven genoemde algemene
inkoopvoorwaarden, met uitzondering van met AAFM Facility Management BV overeengekomen schriftelijke contractuele afspraken.</xsl:if>
</span>
<br/>
<table border="0" width="100%">
<tr><td style="text-align:center">
<span style="font-size:9; font-weight:bold">Trade register no. 09130306</span>
</td></tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="offertetekst">
<table border="0" width="100%" bordercolor="#000000">
<tr>
<td>
<span style="font-size:9">AAFM Facility Management BV<br/><br/>
1. AAFM Facility Management BV nodigt u uit een prijsopgave uit te
brengen voor de hieronder omschreven activiteiten.<br/><br/>
2. De prijsopgave dient een vaste prijs te zijn, gebaseerd op de in dit formulier aangegeven
activiteiten en de (contract)afspraken tussen AAfm en Leverancier, eventueel aangevuld door
opmerkingen/aanvullingen van Leverancier. Indien, wegens omstandigheden, niet kan
worden overgegaan tot het uitbrengen van een vaste prijs dient een raming te worden
afgegeven. Dit moet onder aan dit formulier worden weergegeven. De raming dient een zo
goed mogelijke benadering te zijn van de werkelijke kosten<br/><br/>
3. Indien de aanbieding het bedrag van € 500,- overstijgt dient te allen tijde een
gedetailleerde kostenspecificatie te worden bijgevoegd. Deze prijsopgave (evt. inclusief
kostenspecificatie) dient ondertekend te worden geretourneerd ter attentie van de servicedesk</span>
</td>
</tr>
</table>
</xsl:template>
<!--=============================================================================================================-->
<!-- OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT -->
<!-- OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT - OPDRACHT -->
<!--=============================================================================================================-->
<xsl:template match="opdracht" mode="full">
<xsl:variable name="telnr">
<xsl:choose>
<xsl:when test="melding/voor/telefoonnr != ''">
<xsl:value-of select="melding/voor/telefoonnr"/>
</xsl:when>
<xsl:when test="melding/voor/mobiel != ''">
<xsl:value-of select="melding/voor/mobiel"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ OPDRACHTEN ==============================</xsl:comment>
<xsl:comment>Facilitor new style default XSL template for opdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader_opdr">
<xsl:with-param name="opdr_type" select="opdrachttype/omschrijving"/>
<xsl:with-param name="opdr_nummer" select="concat(melding/discipline/srtdiscipline/prefix, melding/key, '/', bedrijfopdr_volgnr)"/>
</xsl:call-template>
<xsl:if test="opdrachttype/omschrijving='Workorder' or opdrachttype/omschrijving='Contractorder' or opdrachttype/omschrijving='Projectorder'">
<table border="0" width="100%">
<tr>
<td width="50%">
<span class="tekstkop">&#xA0;Prijsconditie:&#xA0;</span>BTW. Exclusief</td>
<td width="50%">
<span class="tekstkop">&#xA0;Betalingsconditie:&#xA0;</span>60 dagen einde maand</td>
</tr>
</table>
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td width="50%" height="100%" rowspan="3" style="border-left-style:none">
<table border="0" height="100%">
<tr>
<td height="50%">
<xsl:call-template name="leverancier"/>
</td>
</tr>
<tr>
<td height="50%">
<xsl:call-template name="bezoekadres"/>
</td>
</tr>
</table>
</td>
<td width="50%" style="border-right-style:none">
<xsl:call-template name="servicedesk"/>
<xsl:if test="opdrachttype/omschrijving!='Contractorder' ">
<xsl:call-template name="gereedmelden"/>
</xsl:if>
</td>
</tr>
<tr>
<td style="border-right-style:none">
<xsl:call-template name="factuuradres"/>
</td>
</tr>
<tr>
<td style="border-right-style:none">
<table border="0" width="100%" cellspacing="0">
<tr>
<td>
<span class="tekstkopsmall">Urgentie niveau:</span>
</td>
<td>
<xsl:call-template name="prioriteit">
<xsl:with-param name="lang" select="''"/>
</xsl:call-template>&#xA0;
<xsl:value-of select="melding/uitvoertijd"/>werkdag(en)</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Melder:</span>
</td>
<td>
<xsl:value-of select="melding/melder/naam_full"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Vakgroep:</span>
</td>
<td>
<xsl:value-of select="melding/discipline/omschrijving"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Melding:</span>
</td>
<td>
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Uitgifte:</span>
</td>
<td>
<xsl:value-of select="datumbegin/datum"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Behandeld door:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/backoffice_contact/naam_full"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Request nr:</span>
</td>
<td>
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Opdrachtgever:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/kenmerk[@key='1160']/perslid/naam_full"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Telefoonnr:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/kenmerk[@key='1160']/perslid/telefoonnr"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/locatie"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/omschrijving"/> (<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/code"/>)
</td>
</tr>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/code!=''">
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/gebouw"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/code"/>&#xA0;<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/naam"/>
</td>
</tr>
</xsl:if>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">
<tr>
<td>
<span class="tekstkopsmall">Verdieping:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>
</td>
</tr>
</xsl:if>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr!=''">
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/ruimte"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> (<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)
</td>
</tr>
</xsl:if>
<!--<tr>
<td>
<span class="tekstkop">Telefoonnummer:</span>
</td>
<td><xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/kenmerk"/> werkdag(en)
</td>
</tr>-->
</table>
</td>
</tr>
</table>
<table border="0" height="300">
<tr>
<td>
<span class="tekstkop">Omschrijving:</span>
</td>
</tr>
<tr>
<td align="left" height="100%">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</table>
<table border="1" width="100%" height="50" bordercolor="#000000" cellspacing="0">
<tr>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;
<xsl:if test="opdrachttype/omschrijving='Projectorder' or opdrachttype/omschrijving='Workorder'">
<span class="tekstkop">Werkelijke response datum/tijd:</span>
</xsl:if>
</td>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;
<xsl:if test="opdrachttype/omschrijving='Projectorder' or opdrachttype/omschrijving='Workorder'">
<span class="tekstkop">Afgehandeld datum/tijd:</span>
</xsl:if>
</td>
<td width="33%" style="border-left-style:none; border-right-style:none;">&#xA0;
<xsl:if test="opdrachttype/omschrijving='Contractorder'">
<span class="tekstkop">Handtekening AAFM:</span>
</xsl:if>
<xsl:if test="opdrachttype/omschrijving='Workorder' or opdrachttype/omschrijving='Projectorder'">
<span class="tekstkop">Definitieve prijs: &#x20AC; <xsl:value-of select="format-number(kosten, '0,00', 'european')"/></span>
</xsl:if>
</td>
</tr>
</table>
<xsl:if test="opdrachttype/omschrijving='Projectorder' or opdrachttype/omschrijving='Workorder'">
<table border="0" width="100%" bordercolor="#000000">
<tr>
<td width="75%">
<xsl:call-template name="indiengeenbedrag"/>
</td>
<td>
<span class="tekstkop">Handtekening AAFM:</span>
</td>
</tr>
</table>
</xsl:if>
<table border="0" width="100%" bordercolor="#000000">
<tr>
<td>
<xsl:call-template name="voorwaarden"/>
</td>
</tr>
</table>
</xsl:if>
<!-- Opdrachttype = RFQ -->
<xsl:if test="opdrachttype/omschrijving='RFQ'">
<table border="1" width="100%" bordercolor="#000000">
<tr>
<td width="50%" style="border-left-style:none">
<xsl:call-template name="leverancier"/>
</td>
<td rowspan="2" width="50%" style="border-right-style:none">
<xsl:call-template name="offertetekst"/>
</td>
</tr>
<tr>
<td height="50%" style="border-left-style:none">
<xsl:call-template name="bezoekadres"/>
</td>
</tr>
<tr>
<td rowspan="2" style="border-left-style:none">
<span class="tekstkop">Prijsopgave referentie:</span>&#xA0;
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key, '/', bedrijfopdr_volgnr)"/>
<br/>
<span class="tekstkop">Request nummer:</span>&#xA0;
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>
</td>
<td style="border-right-style:none">Responsetijd voor indienen offertes (indien geen spoed):<br/>
&lt; € 500,-: 1 werkdag<br/>
&gt; € 500,-: 5 werkdagen</td>
</tr>
<tr>
<td style="border-right-style:none">
<span class="tekstkopsmall">Urgentie niveau:</span>&#xA0;
<xsl:call-template name="prioriteit">
<xsl:with-param name="lang" select="''"/>
</xsl:call-template>&#xA0;
<xsl:value-of select="melding/uitvoertijd"/>werkdag(en)<br/>
<span class="tekstkopsmall">Vakgroep:</span>&#xA0;
<xsl:value-of select="melding/discipline/omschrijving"/>
<br/>
<span class="tekstkopsmall">Melding:</span>&#xA0;
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</td>
</tr>
<tr>
<td style="border-left-style:none">
<span class="tekstkop">Contactpersoon:</span>
<br/>AAFM Facility Management BV<br/>
Uitgegeven door: <xsl:value-of select="backoffice_contact/naam_full"/><br/>
Servicedesk AAFM-NS<br/>
Tel nr: 00 31 (0)88 0081121<br/>
<br/>Aanvrager: <xsl:value-of select="melding/voor/naam_full"/><br/>
Tel nr: <xsl:value-of select="$telnr"/><br/>
Datum aanvraag: <xsl:value-of select="datumbegin/datum"/><br/></td>
<td style="border-right-style:none">
<span class="tekstkop">Te retourneren aan:</span>
<br/>AAFM Facility Management BV<br/>
T.a.v. Facility Desk NS<br/>
Tel nr: 00 31 (0)88 0081121<br/>
Postbus 4028<br/>
3502 HM&#xA0;&#xA0;Utrecht<br/>
E-mail: facilitydeskns@aa-fm.com</td>
</tr>
</table>
<table border="1" width="100%" bordercolor="#000000">
<tr height="50">
<td width="25%">Handtekening AAFM:</td>
<td width="25%">Handtekening Klant:</td>
<td width="25%">Budget/Dienst:</td>
<td width="25%">Business Unit:<br/>
<xsl:value-of select="melding/voor/afdeling/omschrijving"/>
</td>
</tr>
</table>
<table border="0" width="100%" bordercolor="#000000">
<tr height="150">
<td>
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</table>
<xsl:call-template name="voorwaarden">
<xsl:with-param name="opdr_type" select="opdrachttype/omschrijving"/>
</xsl:call-template>
<table border="0" width="100%" bordercolor="#000000">
<tr height="40">
<td colspan="2">
<span class="tekstkop">Opmerkingen/aanvullingen leverancier:</span>
<br/>
</td>
</tr>
<tr>
<td colspan="2">
<span class="tekstkop">Verklaring van de leverancier:</span>
<br/>Hierbij verklaart Leverancier de hierboven omschreven werkzaamheden, gebaseerd op de hierboven gestelde voorwaarden en
condities, uit te voeren voor een bedrag van € (excl. BTW). Het aanbod betreft een vaste
prijs (doorhalen wat niet van toepassing is).<br/><br/>
Naam geautoriseerd persoon:<br/><br/></td>
</tr>
<tr>
<td width="50%">Handtekening:</td>
<td width="50%">Datum</td>
</tr>
</table>
</xsl:if>
<!-- Opdrachttype = Docket -->
<xsl:if test= "opdrachttype/omschrijving='Docket'
or opdrachttype/omschrijving='Klacht'
or opdrachttype/omschrijving='Contractorder'">
<table border="1" height="650" width="100%" bordercolor="#000000" cellspacing="5">
<tr>
<td width="50%" style="padding:0;">
<table border="1" width="100%" height="100%" bordercolor="#000000" cellspacing="0">
<tr>
<td style="border-style:none; border-bottom-style:solid">
<xsl:call-template name="bezoekadres"/>
</td>
<td style="border-style:none; border-bottom-style:solid; border-left-style:solid">
<xsl:call-template name="leverancier"/>
</td>
</tr>
<tr>
<td style="border-style:none; border-bottom-style:solid;">
<table border="0" width="100%" cellspacing="0">
<tr>
<td>
<span class="tekstkopsmall">Uitgifte:</span>
</td>
<td>
<xsl:value-of select="datumbegin/datum"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Naam aanvrager:</span>
</td>
<td>
<xsl:value-of select="melding/voor/naam_full"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Telefoonnummer:</span>
</td>
<td>
<xsl:value-of select="$telnr"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Uitgegeven door:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/backoffice_contact/naam_full"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Request nummer:</span>
</td>
<td>
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/locatie"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/omschrijving"/> (<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/code"/>)
</td>
</tr>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/code!=''">
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/gebouw"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/code"/>&#xA0;<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/naam"/>
</td>
</tr>
</xsl:if>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">
<tr>
<td>
<span class="tekstkopsmall">Verdieping:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>
</td>
</tr>
</xsl:if>
<xsl:if test="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr!=''">
<tr>
<td>
<span class="tekstkopsmall"><xsl:value-of select="/facilitor/lcl/FAC/ruimte"/>:</span>
</td>
<td>
<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/> (<xsl:value-of select="/facilitor/opdracht/melding/plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)
</td>
</tr>
</xsl:if>
</table>
</td>
<td style="border-style:none; border-bottom-style:solid;">
<table border="0" width="100%" cellspacing="0">
<tr>
<td>
<span class="tekstkopsmall">Urgentie niveau:</span>
</td>
<td>
<xsl:call-template name="prioriteit">
<xsl:with-param name="lang" select="''"/>
</xsl:call-template>&#xA0;
<xsl:value-of select="melding/uitvoertijd"/>werkdag(en)</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Vakgroep:</span>
</td>
<td>
<xsl:value-of select="melding/discipline/omschrijving"/>
</td>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Melding:</span>
</td>
<td>
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</td>
</tr>
<tr>
</tr>
<tr>
<td>
<span class="tekstkopsmall">Afdeling:</span>
</td>
<td>
<xsl:value-of select="melding/voor/afdeling/naam"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="border-style:none;">
<span class="tekstkop">Omschrijving:</span>
<br/>
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
<xsl:if test="melding/deel">
<tr height="20">
<td style="border-style:none;">
</td>
</tr>
<tr>
<td colspan="2" height="100%" style="border-style:none;">
<span class="tekstkop">Object(en):</span>
<xsl:for-each select="melding/deel">
<br/>
<xsl:value-of select="omschrijving"/>
</xsl:for-each>
</td>
</tr>
</xsl:if>
<tr height="20">
<td style="border-style:none;">
</td>
</tr>
</table>
</td>
<td width="50%" style="padding:0;">
<table height="100%" border="1" width="100%" bordercolor="#000000" cellspacing="0" cellpadding="3">
<tr>
<td height="100%" colspan="3" style="border-style:none; border-bottom-style:solid;">
<span class="tekstkop">Acties/opmerkingen:</span>
</td>
</tr>
<tr>
<td colspan="3" style="border-style:none;">
<span class="tekstkop">FM accoord</span>
<br/>
<span class="tekstkop">Handtekening:</span>
<br/>
<br/>
<br/>
<span class="tekstkop">Naam:</span>
<br/>
<br/>
<br/>
</td>
</tr>
<tr height="50">
<td rowspan="2" style="border-left-style:none;border-bottom-style:none;">
<span class="tekstkop">Afgehandeld:<br/><br/>(naam):</span>
</td>
<td style="border-left-style:none;border-bottom-style:none;">
<span class="tekstkop">Respons datum/tijd:</span>
</td>
<td rowspan="2" style="border-left-style:none;border-right-style:none;border-bottom-style:none;">
<span class="tekstkop">Bestede<br/>uren:</span>
</td>
</tr>
<tr height="50">
<td style="border-left-style:none;border-bottom-style:none;">
<span class="tekstkop">Afgehandeld datum/tijd:</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">Mits u <u>geen</u> toegang heeft tot Facilitor kunt u de ingevulde opdracht retourneren naar <a href="facilitydeskns@aa-fm.com">facilitydeskns@aa-fm.com</a><br/>
Voor nadere informatie kunt u contact opnemen met de Facilitydesk 00 31 (0)88 0081121</td>
</tr>
<tr>
<td colspan="2" style="border-style:none; text-align:center">Trade register no. 09130306</td>
</tr>
</table>
</xsl:if>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,457 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./cust.xsl"/>
<!-- 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 0031 (0)88 0081121 , e-mail: facilitydeskns@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 name="rsv_ruimte">
<xsl:param name="min_volgnr"/>
<tr>
<xsl:choose>
<xsl:when test="res_ruimte!=''">
<td class="tekstkop" colspan="10" frame="box" style="border-style:solid;border-width:0px;">
<br/><xsl:value-of select="van/datum"/> <xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> </xsl:if><xsl:value-of select="//lcl/RES/deelreservering"/>   <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"/>
</td>
</xsl:when>
<!-- "roomservice" -->
<xsl:otherwise>
<td class="tekstkop" colspan="10" frame="box" style="border-style:solid;border-width:0px;">
<br/><xsl:value-of select="van/datum"/><xsl:if test="string(van/datum)!=string(tot/datum)"> - <xsl:value-of select="tot/datum"/></xsl:if> <xsl:if test="dirtlevel!='0'"><span class="fatal"><xsl:value-of select="//lcl/RES/ongeldig"/></span> </xsl:if><xsl:value-of select="//lcl/RES/deelreservering"/>  <xsl:value-of select="volgnr"/> 
<xsl:value-of select="plaats/regio/district/locatie/omschrijving"/> -
<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/> -
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/> -
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>
</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(opmerking)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/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>
<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>
<xsl:if test="string(host_user/naam_full)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/host_user/naam_full)">
<tr>
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- <xsl:value-of select="//lcl/RES/gastheer_vrouw"/>:</td>
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
<xsl:value-of select="host_user/naam_full"/>
</td>
</tr>
</xsl:if>
<xsl:if test="string(kostenplaats/nr)!=string(//reservering/rsv_ruimte[volgnr=$min_volgnr]/kostenplaats/nr)">
<tr>
<td class="label" frame="box" style="border-style:solid;border-width:0px;">- <xsl:value-of select="//lcl/FAC/kostenplaats"/>:</td>
<td class="value" colspan="9" frame="box" style="border-style:solid;border-width:0px;">
<xsl:value-of select="kostenplaats/nr"/> <xsl:value-of select="kostenplaats/omschrijving"/></td>
</tr>
</xsl:if>
<tr>
<th><xsl:value-of select="//lcl/FAC/omschrijving"/></th>
<th><xsl:value-of select="//lcl/RES/aantal"/></th>
<th style="text-align:right"><xsl:value-of select="//lcl/RES/prijs"/></th>
<!--<th width="80">Datum</th>-->
<th style="text-align:right"><xsl:value-of select="//lcl/RES/begintijd"/></th>
<th style="text-align:right"><xsl:value-of select="//lcl/RES/eindtijd"/></th>
<th><xsl:value-of select="//lcl/RES/status"/></th>
<th><xsl:value-of select="//lcl/RES/opstelling"/></th>
</tr>
<xsl:if test="res_ruimte!=''">
<tr>
<td class="result" style="text-align:left" width="35%"><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"/>)
<xsl:if test="res_ruimte/omschrijving!=''">
<br/><br/><xsl:value-of select="res_ruimte/omschrijving"/>
</xsl:if>
</td>
<td class="result" 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:call-template name="europrijs">
<xsl:with-param name="prijs" select="prijs"/>
</xsl:call-template>
</td>
<!--<td class="result" style="text-align:right">
<xsl:value-of select="van/datum"/>
</td>-->
<td class="result" style="text-align:right">
<xsl:value-of select="van/tijd"/>
</td>
<td class="result" style="text-align:right">
<xsl:value-of select="tot/tijd"/>
</td>
<td class="result" style="text-align:left">
<xsl:value-of select="status_fo"/>
</td>
<td class="result" style="text-align:left">
<xsl:value-of select="res_ruimte/opstelling"/>
</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="result"><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="result">
<xsl:value-of select="aantal"/>
</td>
<td class="result" style="text-align:right">
<xsl:call-template name="europrijs">
<xsl:with-param name="prijs" select="prijs"/>
</xsl:call-template>
</td>
<!--<td class="result" style="text-align:right">
<xsl:value-of select="van/datum"/>
</td>-->
<td class="result" style="text-align:right">
<xsl:value-of select="van/tijd"/>
</td>
<td class="result" style="text-align:right">
<xsl:value-of select="tot/tijd"/>
</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="result">
<xsl:value-of select="res_artikel/omschrijving"/>
</td>
<td class="result">
<xsl:value-of select="aantal"/>
</td>
<td class="result" style="text-align:right">
<xsl:call-template name="europrijs">
<xsl:with-param name="prijs" select="prijs"/>
</xsl:call-template>
</td>
<!--<td class="result" style="text-align:right">
<xsl:value-of select="levering/datum"/>
</td>-->
<td class="result" style="text-align:right">
<xsl:value-of select="levering/tijd"/>
</td>
</tr>
</xsl:for-each>
<!-- totaal per deelreservering -->
<tr>
<td class="tekst" colspan="2" style="border-style:solid;border-width:0px;"><xsl:value-of select="//lcl/RES/totaal_deelreservering"/></td>
<td class="tekst" style="text-align:right;border-style:solid;border-width:0px;">
<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>
</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>
<!-- kenmerk -->
<xsl:if test="kenmerk">
<tr>
<td colspan="5">
<table>
<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 class="label">
<xsl:value-of select="@naam"/></td>
<td class="value">
: <xsl:value-of select="."/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</td>
</tr>
<tr height="20px">
<td class="tekst" colspan="2" style="border-style:solid;border-width:0px;"></td>
</tr>
</xsl:if>
</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 <xsl:value-of select="key"/><br/></xsl:when>
<xsl:otherwise>Deelreservering <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>
<xsl:if test="rsv_ruimte[volgnr=$min_volgnr]/contact_user/telefoonnr !=''">
<tr>
<td width="20%" class="label">Telefoon</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/telefoonnr"/></td>
</tr>
</xsl:if>
<xsl:if test="rsv_ruimte[volgnr=$min_volgnr]/contact_user/mobiel !=''">
<tr>
<td width="20%" class="label">Mobiel</td>
<td width="80%" class="value">: <xsl:value-of select="rsv_ruimte[volgnr=$min_volgnr]/contact_user/mobiel"/></td>
</tr>
</xsl:if>
<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">Business Unit</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>
</xsl:stylesheet>

View File

@@ -1,174 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" exclude-result-prefixes="soap xsd xsi">
<xsl:output method="xml" encoding="utf-8"/>
<xsl:decimal-format name="european" decimal-separator="." grouping-separator=","/>
<xsl:param name="mode"/>
<!-- Maken 'bon' (XML) -->
<xsl:template match="opdracht">
<xsl:variable name="prioriteit">
<xsl:choose>
<xsl:when test="melding/spoed=1">Calamiteit</xsl:when>
<xsl:when test="melding/spoed=2">Hoog</xsl:when>
<xsl:when test="melding/spoed=3">Normaal</xsl:when>
<xsl:when test="melding/spoed=4">Laag</xsl:when>
<xsl:when test="melding/spoed=5">Hold</xsl:when>
<xsl:otherwise>
Onbekend
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:element name="ServiceRequestCreate">
<xsl:element name="ServiceRequest">
<xsl:element name="CustomerID"><xsl:value-of select="uitvoerende/bedrijf/overeenkomst_nr"/></xsl:element>
<xsl:element name="ReferenceID">
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>/<xsl:value-of select=" bedrijfopdr_volgnr"/>
</xsl:element>
<xsl:element name="Reference"><xsl:value-of select="melding/stdmelding/omschrijving"/>-<xsl:value-of select="opdrachttype/omschrijving"/></xsl:element>
<xsl:element name="TypeCode">
<xsl:choose>
<xsl:when test="opdrachttype/omschrijving='Docket'">2</xsl:when>
<xsl:when test="opdrachttype/omschrijving='Workorder' and melding/discipline/srtdiscipline/prefix = 'ST'">2</xsl:when>
<xsl:when test="opdrachttype/omschrijving='Workorder' and melding/discipline/srtdiscipline/prefix = 'SA'">5</xsl:when>
<xsl:when test="opdrachttype/omschrijving='Projectorder'">4</xsl:when>
<xsl:otherwise>3</xsl:otherwise>
</xsl:choose>
</xsl:element>
<xsl:element name="RequestedProcessingPeriod">
<xsl:element name="EndDateTime">
<xsl:value-of select="einddatum/jaar"/>-<xsl:value-of select="einddatum/maand"/>-<xsl:value-of select="einddatum/maand"/>T<xsl:value-of select="einddatum/tijd"/>:00</xsl:element>
<xsl:element name="EscalationToOperator">false</xsl:element>
</xsl:element>
<xsl:element name="IssueCategoryID">
<xsl:value-of select="melding/discipline/key"/>
</xsl:element>
<xsl:element name="IssueCategory">
<xsl:value-of select="melding/discipline/omschrijving"/>
</xsl:element>
<xsl:element name="IssueSubCategoryID">
<xsl:value-of select="melding/stdmelding/key"/>
</xsl:element>
<xsl:element name="IssueSubCategory">
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</xsl:element>
<xsl:element name="Description">
<xsl:value-of select="omschrijving"/>
</xsl:element>
<xsl:element name="Monitoring">
<xsl:element name="StartDateTime">
<xsl:for-each select="tracking/track">
<xsl:sort select="datum/timestamp" order="ascending"/>
<xsl:if test="position() = 1">
<xsl:value-of select="datum/jaar"/>-<xsl:value-of select="datum/maand"/>-<xsl:value-of select="datum/dag"/>T<xsl:value-of select="datum/tijd"/>:00
</xsl:if>
</xsl:for-each>
</xsl:element>
<xsl:element name="EndDateTime">
<xsl:value-of select="einddatum/jaar"/>-<xsl:value-of select="einddatum/maand"/>-<xsl:value-of select="einddatum/dag"/>T<xsl:value-of select="einddatum/tijd"/>:00</xsl:element>
<xsl:element name="Urgency">
<xsl:value-of select="$prioriteit"/><xsl:if test="$prioriteit != 'Calamiteit'">: <xsl:value-of select="dagen"/> dagen</xsl:if>
</xsl:element>
</xsl:element>
<xsl:element name="Requester">
<xsl:element name="Name">
<xsl:element name="FirstLineName">
<xsl:value-of select="melding/voor/naam_full"/>
</xsl:element>
</xsl:element>
<xsl:element name="Communication">
<xsl:element name="Telephone">
<xsl:value-of select="melding/voor/telefoonnr"/>
</xsl:element>
<xsl:element name="Email">
<xsl:value-of select="melding/voor/email"/>
</xsl:element>
</xsl:element>
</xsl:element>
<xsl:element name="CustomerCoordinator">
<xsl:element name="Name">
<xsl:element name="FirstLineName">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@key=1160]/perslid/naam_full"/>
</xsl:element>
</xsl:element>
<xsl:element name="Communication">
<xsl:element name="Telephone">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@key=1160]/perslid/mobiel"/>
</xsl:element>
<xsl:element name="Email">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@key=1160]/perslid/email"/>
</xsl:element>
</xsl:element>
</xsl:element>
<xsl:element name="ServiceLocation">
<xsl:element name="LocationID">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Strukton referentie']"/>
</xsl:element>
<xsl:element name="Location">
<xsl:value-of select="melding/plaats/plaatsaanduiding"/>
</xsl:element>
<xsl:element name="Address">
<xsl:element name="StreetName">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Adres']"/>
</xsl:element>
<xsl:element name="StreetPostalCode">
<xsl:if test="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Strukton referentie'] != ''">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Postcode']"/>
</xsl:if>
</xsl:element>
<xsl:element name="CityName">
<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@naam='Plaats']"/>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:template>
<!-- Maken 'bon' (XML) -->
<xsl:template match="facilitor">
<xsl:apply-templates select="opdracht"/>
</xsl:template>
<!-- Inpakken 'bon' in SOAP envelope -->
<xsl:template match="SOAPEnvelope">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<xsl:copy-of select="./node()"/>
</soap:Body>
</soap:Envelope>
</xsl:template>
<!-- Uitpakken SOAP envelope -->
<xsl:template match="soap:Envelope">
<soapResult>
<xsl:copy-of select="soap:Body/node()"/>
</soapResult>
</xsl:template>
<!-- Decoderen XML response -->
<xsl:template match="ServiceRequestStatus">
<Result>
<xsl:value-of select="ErrorLog/TypeID"/>
</Result>
</xsl:template>
<!-- Root -->
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$mode='getExtension'">
<xsl:element name="format">
<!-- Hotelselect gebruikt geen cXML, maar SendFile.cls verwacht wel deze parameter om een XML response in te lezen -->
<xsl:element name="extension">xml</xsl:element>
</xsl:element>
</xsl:when>
<xsl:otherwise><!-- door SendFile.cls gebruikt voor maken 'bon' (XML die via SOAP verstuurd wordt) -->
<xsl:apply-templates select="facilitor"/><!-- door SendSOAP.cls gebruikt voor inpakken van 'bon' in SOAP envelope -->
<xsl:apply-templates select="SOAPEnvelope"/><!-- door SendSOAP.cls gebruikt voor uitpakken van response uit SOAP envelope -->
<xsl:apply-templates select="soap:Envelope"/><!-- door SendFile.cls gebruikt voor lezen van status uit gefaalde response (NB: <soapResult> is al door de decode gestript) -->
<xsl:apply-templates select="ServiceRequestStatus"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>