Merge 2015.3 patches

svn path=/Website/trunk/; revision=27998
This commit is contained in:
Jos Groot Lipman
2016-02-02 11:55:59 +00:00
86 changed files with 2003 additions and 3107 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
CUST/AAAH/tmpl_logo_mld.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -42,7 +42,7 @@
</Total> </Total>
<ShipTo> <ShipTo>
<xsl:element name="Address"> <xsl:element name="Address">
<xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute> <xsl:attribute name="addressID"><xsl:value-of select='afleveradres/fax'/></xsl:attribute>
<Name xml:lang="NL"><xsl:value-of select="afleveradres/naam"/></Name> <Name xml:lang="NL"><xsl:value-of select="afleveradres/naam"/></Name>
<PostalAddress name="default"> <PostalAddress name="default">
<DeliverTo><xsl:value-of select="bestelling/aanvrager/naam_full"/></DeliverTo> <DeliverTo><xsl:value-of select="bestelling/aanvrager/naam_full"/></DeliverTo>
@@ -57,7 +57,7 @@
</ShipTo> </ShipTo>
<BillTo> <BillTo>
<xsl:element name="Address"> <xsl:element name="Address">
<xsl:attribute name="addressID"><xsl:value-of select='factuuradres/gebouw_ruimte'/></xsl:attribute> <xsl:attribute name="addressID"><xsl:value-of select='factuuradres/fax'/></xsl:attribute>
<Name xml:lang="NL"><xsl:value-of select="factuuradres/naam"/></Name> <Name xml:lang="NL"><xsl:value-of select="factuuradres/naam"/></Name>
<PostalAddress name="default"> <PostalAddress name="default">
<Street><xsl:value-of select="factuuradres/post_adres"/></Street> <Street><xsl:value-of select="factuuradres/post_adres"/></Street>

View File

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

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,6 +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="../../AADS/xsl/cust.xsl"/>
</xsl:stylesheet>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0"?>
<component>
<?component error="true" debug="true"?>
<registration
description="custenv"
progid="custenv.wsc"
version="1.00"
classid="{4F51571C-1DFC-4769-B8DD-37B356378F12}"
>
</registration>
<public>
<!-- properties -->
<property name="Overrule">
<put/>
</property>
<!-- methods -->
<method name="custenv">
</method>
</public>
<script language="javascript">
<![CDATA[
/* properties */
function put_Overrule(newValue) {Overrule = newValue};
/* methods */
/*
$Revision$
$Id$
File: custenv.wsc
*/
/* Dit is de enige functie die je mag gebruiken */
var Overrule;
// ** HIERVOOR NIETS VERANDEREN **
custenv = function ()
{
// Putorders overrules
Overrule.SET("self_register_email_whitelist", "\@(dsm\.com)$");
return true;
}
]]>
</script>
</component>

View File

@@ -7,7 +7,7 @@
<xsl:template name="customer">DSM </xsl:template> <xsl:template name="customer">DSM </xsl:template>
<xsl:template name="customer_code">DSM</xsl:template> <xsl:template name="customer_code">DSM</xsl:template>
<xsl:template name="customer_email">servicedeskdsm@aa-fm.com</xsl:template> <xsl:template name="customer_email">servicedeskdsm@aa-fm.com</xsl:template>
<xsl:template name="invoice_email">invoices.clusterzuid@aa-fm.com</xsl:template> <xsl:template name="invoice_email">invoices.dsm@aa-fm.com</xsl:template>
<xsl:template name="servicedesk_telefoon">60000</xsl:template> <xsl:template name="servicedesk_telefoon">60000</xsl:template>
<xsl:template name="opdracht_qr_bookmark"></xsl:template> <xsl:template name="opdracht_qr_bookmark"></xsl:template>

View File

@@ -14,7 +14,7 @@ REM
REM (c) 2013, SG|facilitor bv, +31 (53) 4800700, support@sgfacilitor.nl REM (c) 2013, SG|facilitor bv, +31 (53) 4800700, support@sgfacilitor.nl
REM REM
call ..\..\..\utils\gen_export\gen_export.bat AAAH_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAAR_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAAR_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AADB_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AADB_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AADO_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AADO_DEKKING
@@ -23,6 +23,7 @@ call ..\..\..\utils\gen_export\gen_export.bat AAEN_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAES_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAES_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAEY_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAEY_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAFP_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAFP_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAGN_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAHU_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAHU_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAIT_DEKKING001 call ..\..\..\utils\gen_export\gen_export.bat AAIT_DEKKING001
call ..\..\..\utils\gen_export\gen_export.bat AAIT_DEKKING012 call ..\..\..\utils\gen_export\gen_export.bat AAIT_DEKKING012
@@ -32,7 +33,9 @@ call ..\..\..\utils\gen_export\gen_export.bat AANS_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAPM_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAPM_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AARW_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AARW_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AASA_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AASA_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AASI_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAVL_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAVL_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat AAZC_DEKKING call ..\..\..\utils\gen_export\gen_export.bat AAZC_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat ASMS_DEKKING call ..\..\..\utils\gen_export\gen_export.bat ASMS_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat NMMS_DEKKING call ..\..\..\utils\gen_export\gen_export.bat NMMS_DEKKING
call ..\..\..\utils\gen_export\gen_export.bat ZKHM_DEKKING

BIN
CUST/AASA/SAB.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,20 @@
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

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

36
CUST/AASI/xsl/cofely.xsl Normal file
View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="windows-1252" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="opdracht">
Bedrijf: 1015
Kontraktnr: <xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/kenmerk[@key=1080]"/>
Omschrijving: <xsl:value-of select="melding/discipline/omschrijving"/>/<xsl:value-of select="melding/stdmelding/omschrijving"/>
Gemeld door: <xsl:value-of select="melding/voor/naam_full"/>
Telefoonnr: <xsl:value-of select="melding/voor/telefoonnr"/>
Storings tekst: <xsl:value-of select="translate(omschrijving,'&#xA;','&#xA0;')"/>
Categorie: ALG
Klantordernr: <xsl:value-of select="melding/discipline/srtdiscipline/prefix"/><xsl:value-of select="melding/key"/>/<xsl:value-of select=" bedrijfopdr_volgnr"/>
Locatie: G<xsl:value-of select="melding/plaats/regio/district/locatie/gebouw/code"/>
Prioriteit: <xsl:choose><xsl:when test="melding/spoed='1'">3</xsl:when>
<xsl:when test="melding/spoed='2'">1</xsl:when>
<xsl:otherwise>2</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="/">
<xsl:apply-templates select="facilitor"/>
</xsl:template>
<xsl:template match="facilitor">
<xsl:apply-templates select="opdracht"/>
</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="..\..\..\Temp\aadsopdracht287.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

@@ -4,10 +4,10 @@
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable> <xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
<xsl:template name="customer">DSM </xsl:template> <xsl:template name="customer">Sitech </xsl:template>
<xsl:template name="customer_code">DSM</xsl:template> <xsl:template name="customer_code">Sitech</xsl:template>
<xsl:template name="customer_email">servicedeskchemelot@aa-fm.com</xsl:template> <xsl:template name="customer_email">servicedeskchemelot@aa-fm.com</xsl:template>
<xsl:template name="invoice_email">invoices.clusterzuid@aa-fm.com</xsl:template> <xsl:template name="invoice_email">invoices.sitech@aa-fm.com</xsl:template>
<xsl:template name="servicedesk_telefoon">60000</xsl:template> <xsl:template name="servicedesk_telefoon">60000</xsl:template>
<xsl:template name="opdracht_qr_bookmark"></xsl:template> <xsl:template name="opdracht_qr_bookmark"></xsl:template>

126
CUST/AASI/xsl/maas.xsl Normal file
View File

@@ -0,0 +1,126 @@
<?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,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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

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

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,5 +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:stylesheet>

View File

@@ -34,14 +34,14 @@
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="type">update</xsl:attribute> <xsl:attribute name="type">update</xsl:attribute>
<xsl:choose> <xsl:choose>
<xsl:when test="Status = 'Aangemaakt' or Status = 'Gepland' or Status = 'Voorbereiding' or Status = 'OA aangestuurd' or Status = 'Uitvoering' or Status = 'Offerte'">
<status>ORDACP</status>
</xsl:when>
<xsl:when test="Status = 'Technisch gereed' "> <xsl:when test="Status = 'Technisch gereed' ">
<status>ORDAFM</status> <status>ORDAFM</status>
</xsl:when> </xsl:when>
<xsl:when test="New = '1'">
<status>ORDACP</status>
</xsl:when>
<xsl:otherwise> <xsl:otherwise>
<status>ORDUPD</status> <status></status>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<mut_datum> <mut_datum>
@@ -65,4 +65,4 @@
<xsl:template match="/"> <xsl:template match="/">
<xsl:apply-templates select="soap:Envelope/soap:Body"/> <xsl:apply-templates select="soap:Envelope/soap:Body"/>
</xsl:template> </xsl:template>
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --> </xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. -->

View File

@@ -4,10 +4,10 @@
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable> <xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
<xsl:template name="customer">Zorgcombinatie Noorderboog </xsl:template> <xsl:template name="customer">VVT Noorderboog </xsl:template>
<xsl:template name="customer_code">ZCN</xsl:template> <xsl:template name="customer_code">VVT</xsl:template>
<xsl:template name="customer_email">servicedesknoorderboog@aa-fm.com</xsl:template> <xsl:template name="customer_email">servicedesknoorderboog@aa-fm.com</xsl:template>
<xsl:template name="invoice_email">Invoices.ZCN@aa-fm.com</xsl:template> <xsl:template name="invoice_email">invoices.vvt@aa-fm.com</xsl:template>
<xsl:template name="servicedesk_telefoon">+31 (0) 52 223 4949</xsl:template> <xsl:template name="servicedesk_telefoon">+31 (0) 52 223 4949</xsl:template>
<xsl:template name="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template> <xsl:template name="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template>

Binary file not shown.

View File

@@ -1957,11 +1957,20 @@ p.MsoNormal {
<p>BOOKING DETAILS</p> <p>BOOKING DETAILS</p>
<p> <p>
<table border="0" width="100%"> <table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr><td>Date visit:</td><td><xsl:value-of select="rsv_ruimte/van/datum"/></td></tr> <xsl:choose>
<tr><td>Start time visit:</td><td><xsl:value-of select="datum/tijd"/></td></tr> <xsl:when test="rsv_ruimte/van/datum!=''">
<tr><td>End time visit:</td><td><xsl:value-of select="eind/tijd"/></td></tr> <tr><td width="150">Date visit:</td><td><xsl:value-of select="rsv_ruimte/van/datum"/></td></tr>
<tr><td>Meeting room:</td><td><xsl:value-of select="rsv_ruimte/res_ruimte/nr"/></td></tr> <tr><td>Start time visit:</td><td><xsl:value-of select="rsv_ruimte/van/tijd"/></td></tr>
<tr><td>End time visit:</td><td><xsl:value-of select="rsv_ruimte/tot/tijd"/></td></tr>
<tr><td>Meeting room:</td><td><xsl:value-of select="rsv_ruimte/res_ruimte/nr"/></td></tr>
</xsl:when>
<xsl:otherwise>
<tr><td width="150">Date visit:</td><td><xsl:value-of select="bezoeker/afspraak/datum/datum"/></td></tr>
<tr><td>Start time visit:</td><td><xsl:value-of select="bezoeker/afspraak/datum/tijd"/></td></tr>
<tr><td>End time visit:</td><td><xsl:value-of select="bezoeker/afspraak/eind/tijd"/></td></tr>
</xsl:otherwise>
</xsl:choose>
<tr><td>Parking space:</td><td> <tr><td>Parking space:</td><td>
<xsl:choose> <xsl:choose>
<xsl:when test="$nrOfpark=0"> <xsl:when test="$nrOfpark=0">
@@ -2005,12 +2014,17 @@ p.MsoNormal {
<p>AkzoNobel Amsterdam</p> <p>AkzoNobel Amsterdam</p>
<p>E-mail: <p>
<xsl:element name="a"> <table border="0" cellpadding="1" cellspacing="0" width="100%">
<xsl:attribute name="href">mailto:NL_AMB_Service_Center@akzonobel.com</xsl:attribute> <tr><td width="100">E-mail:</td><td>
<xsl:attribute name="title">email us</xsl:attribute> <xsl:element name="a">
NL_AMB_Service_Center@akzonobel.com</xsl:element><br/> <xsl:attribute name="href">mailto:NL_AMB_Service_Center@akzonobel.com</xsl:attribute>
Telephone: +31 88 969 7974</p> <xsl:attribute name="title">email us</xsl:attribute>
NL_AMB_Service_Center@akzonobel.com</xsl:element></td></tr>
<tr><td>Telephone:</td><td>+31 88 969 7974</td></tr>
<tr><td>Address:</td><td>Christian Neefestraat 2<br/>1077 WW AMSTERDAM</td></tr>
</table>
</p>
</body> </body>
</html> </html>
</xsl:when> </xsl:when>
@@ -2056,7 +2070,7 @@ p.MsoNormal {
<p>BOOKING DETAILS</p> <p>BOOKING DETAILS</p>
<p> <p>
<table border="0" width="100%"> <table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr> <tr>
<td width="200">Booking reference number:</td> <td width="200">Booking reference number:</td>
<td> <td>

View File

@@ -259,8 +259,11 @@
<xsl:choose> <xsl:choose>
<xsl:when test="bestelopdrachtitem/bestelitem/srtdeel/srtgroep/discipline/key=784"> <xsl:when test="bestelopdrachtitem/bestelitem/srtdeel/srtgroep/discipline/key=784">
3993744 3993744
</xsl:when>
<xsl:when test="bestelopdrachtitem/bestelitem/srtdeel/srtgroep/discipline/key=761"><!--Bedrijfs- en beschermkleding-->
<xsl:value-of select="afleveradres/plaats/regio/district/locatie/kenmerk[@key='1020']"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="afleveradres/plaats/regio/district/locatie/kenmerk[@key='1001']"/> <xsl:value-of select="afleveradres/plaats/regio/district/locatie/kenmerk[@key='1001']"/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
@@ -1006,4 +1009,8 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --> </xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\ALLI_files\bestelopdr2800_20160114153235.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>
-->

Binary file not shown.

View File

@@ -5,4 +5,5 @@
#headerblok #headerblok
{ {
background: url(fac_logo.png) no-repeat; background: url(fac_logo.png) no-repeat;
background-position: top 4px right 360px;
} }

View File

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

BIN
CUST/HCAS/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
CUST/HCAS/oracle.udl Normal file

Binary file not shown.

BIN
CUST/HCAS/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

0
CUST/HCAS/xsl/.gitignore vendored Normal file
View File

View File

@@ -316,6 +316,7 @@ as defined in our General Terms and Conditions.<br/>
} }
</style> </style>
<xsl:choose> <xsl:choose>
<!-- ubw opdrachten (key 221) -->
<xsl:when test="melding/discipline/srtdiscipline/key=221"> <xsl:when test="melding/discipline/srtdiscipline/key=221">
<table border="0" width="100%" cellpadding="2" style="padding-left:40px"> <table border="0" width="100%" cellpadding="2" style="padding-left:40px">
<tr> <tr>
@@ -389,7 +390,7 @@ as defined in our General Terms and Conditions.<br/>
</tr> </tr>
<tr> <tr>
<td class="value" colspan="4"> <td class="value" colspan="4">
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="omschrijving"/></xsl:call-template> <xsl:call-template name="linebreaks"><xsl:with-param name="string" select="melding/omschrijving"/></xsl:call-template>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -401,7 +402,12 @@ as defined in our General Terms and Conditions.<br/>
<tr> <tr>
<td class="label" colspan="1">Uiterlijk voor:</td> <td class="label" colspan="1">Uiterlijk voor:</td>
<td class="value" colspan="3"><xsl:value-of select="einddatum/datum"/></td> <td class="value" colspan="3"><xsl:value-of select="einddatum/datum"/></td>
</tr> </tr>
<tr>
<td class="value" colspan="4">
<xsl:call-template name="linebreaks"><xsl:with-param name="string" select="omschrijving"/></xsl:call-template>
</td>
</tr>
<tr> <tr>
<td colspan="4" height="20px"/> <td colspan="4" height="20px"/>
</tr> </tr>

View File

@@ -1638,6 +1638,7 @@
<xsl:when test="kenmerk[@key=58] != ''">Smartphone</xsl:when> <xsl:when test="kenmerk[@key=58] != ''">Smartphone</xsl:when>
<xsl:when test="kenmerk[translate(@naam,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='imei'] != ''">Smartphone</xsl:when> <xsl:when test="kenmerk[translate(@naam,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='imei'] != ''">Smartphone</xsl:when>
<xsl:when test="contains(translate(srtdeel/srtgroep/omschrijving,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'), 'parkeer')">Parkeerpas</xsl:when> <xsl:when test="contains(translate(srtdeel/srtgroep/omschrijving,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'), 'parkeer')">Parkeerpas</xsl:when>
<xsl:when test="contains(translate(srtdeel/srtgroep/omschrijving,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'), 'sleutel')">Sleutel</xsl:when>
<xsl:otherwise>Laptop</xsl:otherwise> <xsl:otherwise>Laptop</xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
@@ -1730,7 +1731,19 @@
<xsl:otherwise>Einde dienstverband</xsl:otherwise> <xsl:otherwise>Einde dienstverband</xsl:otherwise>
</xsl:choose> </xsl:choose>
</td> </td>
<td></td> <td></td>
</tr>
<xsl:if test="kenmerk[@naam='Betaalde borg'] != ''">
<tr>
<td class="label">Betaalde borg</td>
<td class="label">:</td>
<td class="value" colspan="2">
<xsl:call-template name="europrijs">
<xsl:with-param name="prijs" select="kenmerk[@naam='Betaalde borg']"/>
</xsl:call-template>
</td>
<td></td>
</tr>
</xsl:if> </xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="$v_type_overeenkomst = 'Laptop'"> <xsl:when test="$v_type_overeenkomst = 'Laptop'">
@@ -1751,7 +1764,21 @@
<td class="value" colspan="2"><xsl:value-of select="kenmerk[@key=58]"/></td> <td class="value" colspan="2"><xsl:value-of select="kenmerk[@key=58]"/></td>
<td></td> <td></td>
</tr> </tr>
</xsl:if> </xsl:if>
</xsl:when>
<xsl:when test="$v_type_overeenkomst = 'Sleutel'">
<xsl:if test="kenmerk[@naam='Betaalde borg'] != ''">
<tr>
<td class="label">Betaalde borg</td>
<td class="label">:</td>
<td class="value" colspan="2">
<xsl:call-template name="europrijs">
<xsl:with-param name="prijs" select="kenmerk[@naam='Betaalde borg']"/>
</xsl:call-template>
</td>
<td></td>
</tr>
</xsl:if>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>

Binary file not shown.

View File

@@ -0,0 +1,8 @@
open csmftp01.hightechcampus.nl
user Facilitor
hH5Aqj3
pasv
hash
lcd Import
put EXACT*.xml
bye

View File

@@ -2,7 +2,7 @@ REM GEN_EXPORT_EXACT
REM REM
REM KFHT REM KFHT
REM REM
REM Exporteert verplichtingen als XML tbv. Exact. REM Exporteert opdrachtgegevens (afgemeld) uit FACILITOR.
REM REM
REM Context : roep deze file aan indien nodig, of schedule deze REM Context : roep deze file aan indien nodig, of schedule deze
REM Vereist : de randvoorwaarde voor het gebruik van gen_export REM Vereist : de randvoorwaarde voor het gebruik van gen_export
@@ -18,4 +18,7 @@ copy .\Exact\EXACT*.xml .\Exact\Backup
del .\Exact\EXACT*.xml del .\Exact\EXACT*.xml
REM ================================================== create exportfile REM ================================================== create exportfile
CALL ..\..\..\utils\gen_export\gen_export.bat EXACT REM CALL ..\..\..\utils\gen_export\gen_export.bat EXACT
REM ================================================== transfer file to HTC/Exact
ftp.exe -n -s:ftp_opdr2htc.scr

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:variable name="new_line" select="'&#xA;'"/>
<xsl:template match="/">ticketnumber;amount;changedate
<xsl:for-each select="//Ticket">
<xsl:value-of select="TicketNumber"/>;<xsl:value-of select="Amount"/>;<xsl:value-of select="substring-before (ChangeDate, 'T')"/><xsl:text> </xsl:text><xsl:value-of select="substring-after (ChangeDate, 'T')"/><xsl:value-of select="$new_line"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,9 @@
open csmftp01.hightechcampus.nl
user Facilitor
hH5Aqj3
pasv
hash
lcd Export
mget *.xml
mdelete *.xml
bye

View File

@@ -0,0 +1,25 @@
REM GEN_IMPORT_EXACT
REM
REM KFHT
REM
REM Importeert opdrachtkosten (gefactureerd) uit Exact.
REM
REM Context : roep deze file aan indien nodig, of schedule deze
REM Vereist : de randvoorwaarde voor het gebruik van gen_import
REM
REM $Revision$
REM $Id$
REM
REM (c) 2015 Facilitor B.V.
REM
REM ================================================== cleanup
copy .\Exact\EXACT*.xml .\Exact\Backup
del .\Exact\EXACT*.xml
REM ================================================== transfer file to KIEN/FACILITOR
ftp.exe -n -s:ftp_htc2opdr.scr
REM ================================================== create exportfile
REM cscript ..\..\..\utils\gen_import\gen_import.wsf KFHT EXACT >>gen_import.log 2>>&1

View File

@@ -18,8 +18,8 @@
</xsl:variable> </xsl:variable>
<xsl:element name="ServiceRequestCreate"> <xsl:element name="ServiceRequestCreate">
<xsl:element name="ServiceRequest"> <xsl:element name="ServiceRequest">
<!--xsl:element name="CustomerID"><xsl:value-of select="uitvoerende/bedrijf/overeenkomst_nr"/></xsl:element--> <!--xsl:element name="CustomerID"><xsl:value-of select="uitvoerende/bedrijf/leverancier_nr"/></xsl:element-->
<xsl:element name="CustomerID"><xsl:value-of select="uitvoerende/bedrijf/leverancier_nr"/></xsl:element> <xsl:element name="CustomerID"><xsl:value-of select="uitvoerende/bedrijf/kenmerk[@key=1000]"/></xsl:element>
<xsl:element name="ReferenceID"> <xsl:element name="ReferenceID">
<xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>/<xsl:value-of select="bedrijfopdr_volgnr"/> <xsl:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>/<xsl:value-of select="bedrijfopdr_volgnr"/>
</xsl:element> </xsl:element>

View File

@@ -939,6 +939,99 @@
</table> </table>
</xsl:template> </xsl:template>
<xsl:template match="deel" mode="include">
<table border="0" cellpadding="1" width="100%">
<xsl:choose>
<xsl:when test="$srtnotificatiecode='CUST01'">
<tr>
<td>
Dit is een automatische reminder vanuit FACILITOR om u te herinneren aan het feit dat 1 of meer objecten onder uw verantwoordelijkheid binnenkort moet(en) worden geinspecteerd (binnen 1-2 weken).
Welke objecten dit precies betreft kunt opvragen in Facilitor via het Facilities-tabblad/Management/Inspections (de gele regels).
</td>
</tr>
</xsl:when>
<xsl:when test="$srtnotificatiecode='CUST02'">
<tr>
<td>
Dit is een automatische reminder vanuit FACILITOR om u te wijzen op het feit dat van 1 of meer objecten onder uw verantwoordelijkheid de inspectiedatum is verstreken!
Welke objecten dit precies betreft kunt opvragen in Facilitor via het Facilities-tabblad/Management/Inspections (de rode regels).
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td colspan="3" class="caption">
<strong><xsl:value-of select="srtdeel/omschrijving"/>&#160;<xsl:value-of select="omschrijving"/></strong>
</td>
<td style="text-align:right">
<xsl:element name="img">
<xsl:attribute name="width">140px</xsl:attribute>
<xsl:attribute name="src">../../appl/shared/barcode.asp?text=<xsl:value-of select="key"/>&amp;height=50&amp;narrow=1&amp;wide=3</xsl:attribute>
</xsl:element>
</td>
</tr>
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/groep"/></td>
<td class="value"><xsl:value-of select="srtdeel/srtgroep/omschrijving"/></td>
<td colspan="2" width="50%"></td>
</tr>
<xsl:if test="binding='R'">
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
<td class="value">
<xsl:value-of select="plaats/plaatsaanduiding"/>&#160;
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>
</td>
</tr>
</xsl:if>
<xsl:if test="binding='T'">
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
<td class="value"><xsl:value-of select="terreinsector/naam"/></td>
</tr>
</xsl:if>
<xsl:if test="binding='P'">
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/eigenaar"/></td>
<td class="value"><xsl:value-of select="persoon/naam_full"/></td>
</tr>
</xsl:if>
<xsl:if test="binding='A'">
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/eigenaar"/></td>
<td class="value"><xsl:value-of select="afdeling/omschrijving"/></td>
</tr>
</xsl:if>
<xsl:if test="binding='W'">
<tr>
<td class="label"><xsl:value-of select="//lcl/CNT/plaats"/></td>
<td class="value"><xsl:value-of select="werkplek/plaats/plaatsaanduiding"/>/<xsl:value-of select="werkplek/volgnr"/></td>
</tr>
</xsl:if>
<xsl:for-each select="kenmerk">
<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>
<tr>
<td></td>
<td colspan="3">
<table border="1">
<xsl:for-each select="deel">
<xsl:apply-templates select="." mode="include"/>
</xsl:for-each>
</table>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</table>
</xsl:template>
<!--===================================================================================================--> <!--===================================================================================================-->
<!-- RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT --> <!-- RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT - RAPPORT -->
<!--===================================================================================================--> <!--===================================================================================================-->

View File

@@ -35,10 +35,10 @@
<b>MAYFIELD SERVICEDESK</b> <b>MAYFIELD SERVICEDESK</b>
</td> </td>
<td width="37%" align="center" valign="bottom" style="text-align:center"> <td width="37%" align="center" valign="bottom" style="text-align:center">
<b>E: <a href="mailto:mayfield.servicedesk@yask.nl">mayfield.servicedesk@yask.nl</a></b> <b>E: <a href="mailto:servicedesk@mayfieldproperty.nl">servicedesk@mayfieldproperty.nl</a></b>
</td> </td>
<td width="33%" align="right" valign="bottom" style="text-align:right"> <td width="33%" align="right" valign="bottom" style="text-align:right">
<b>T: +31 (0)88-0990805</b> <b>T: +31 (0)88-712 69 70</b>
</td> </td>
</tr> </tr>
</table> </table>
@@ -366,7 +366,7 @@ zijn dan vindt u deze in bijlage van deze aanvraag.
</tr> </tr>
<tr> <tr>
<td colspan="5"> <td colspan="5">
<i>Binnen maximaal twee dagen na uitvoering van de werkzaamheden dient u deze opdracht gereed te melden door onderstaande gereedmelding volledig ingevuld en ingescand te verzenden aan <a href="mailto:mayfield.servicedesk@yask.nl">mayfield.servicedesk@yask.nl</a>.</i> <i>Binnen maximaal twee dagen na uitvoering van de werkzaamheden dient u deze opdracht gereed te melden door onderstaande gereedmelding volledig ingevuld en ingescand te verzenden aan <a href="mailto:servicedesk@mayfieldproperty.nl">servicedesk@mayfieldproperty.nl</a>.</i>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="../../../appl/shared/default.xsl"/> <xsl:import href="../../../appl/shared/default.xsl"/>
<xsl:variable name="Rev"> <xsl:variable name="Rev">
<!-- Revision van deze cust.xsl --> <!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/> <xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable> </xsl:variable>
<xsl:template match="opdracht" mode="include"> <xsl:template match="opdracht" mode="include">
<xsl:choose> <xsl:choose>
<!-- "opdrachten bij melding "Incidentele bestelling (key=1)" --> <!-- "opdrachten bij melding "Incidentele bestelling (key=1)" -->
@@ -369,15 +370,10 @@
</td> </td>
<td align="left" colspan="3"> <td align="left" colspan="3">
Beste heer/mevrouw,<br/><br/> Beste heer/mevrouw,<br/><br/>
Voor bovenstaande locatie hebben wij de volgende aanvraag ontvangen: <br/><br/>
<xsl:call-template name="linebreaks"> <xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/> <xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template> </xsl:call-template>
<br/><br/> <br/><br/><br/>
Wij verzoeken u deze aanvraag voor <xsl:value-of select="datumgereed/datum"/> in behandeling te nemen.
<br/><br/>
Graag een bevestiging + planning mailen naar facilitair@medux.nl.
<br/><br/><br/>
Met vriendelijke groet,<br/><br/> Met vriendelijke groet,<br/><br/>
Afdeling Facilitaire Zaken<br/><br/><br/> Afdeling Facilitaire Zaken<br/><br/><br/>
E: facilitair@medux.nl<br/> E: facilitair@medux.nl<br/>
@@ -538,21 +534,45 @@
</td> </td>
<td align="left" colspan="3"> <td align="left" colspan="3">
Beste heer/mevrouw,<br/><br/> Beste heer/mevrouw,<br/><br/>
Hierbij het verzoek om een offerte op te stellen voor bovengenoemde locatie: <br/> </td>
<xsl:call-template name="linebreaks"> </tr>
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template> <xsl:choose>
<br/><br/> <xsl:when test="count(opmerking) = 0">
De offerte voor <xsl:value-of select="datumgereed/datum"/> graag mailen naar facilitair@medux.nl. <br/> <!-- Dan tonen we NIET omschrijving, en de afhandelingstekst -->
Wij zullen de offerte beoordelen en aangeven of wij al dan niet gebruik zullen maken van uw aanbieding.<br/> <tr>
<br/><br/><br/> <td align="right" valign="top"> </td>
<td colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<!-- Dan tonen we 'gewoon' de omschrijving -->
<tr>
<td align="right" valign="top"> </td>
<td colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
<tr>
<td align="right" valign="top"> </td>
<td align="left" colspan="3">
<br/><br/><br/>
Met vriendelijke groet,<br/><br/> Met vriendelijke groet,<br/><br/>
Afdeling Facilitaire Zaken<br/><br/><br/> Afdeling Facilitaire Zaken<br/><br/><br/>
E: facilitair@medux.nl<br/> E: facilitair@medux.nl<br/>
T: 088 654 08 25 T: 088 654 08 25
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="4" height="20px" valign="center"> <td colspan="4" height="20px" valign="center">
<hr/> <hr/>
@@ -685,22 +705,6 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'CUST01'">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<tr>
<td>
<br/>
Beste collega,<br/><br/>
Volgens onze gegevens heeft u in Facilitor nog een aantal orders staan, waarvan de uiterlijke leverdatum reeds verstreken is, maar waarvan de bestelling nog niet binnen geboekt is.<br/><br/>
Om de factuur uiteindelijk betaalbaar te kunnen stellen, willen we u graag verzoeken de geleverde bestellingen in Facilitor (middels uw Ontvang account) als geleverd binnen te boeken in Facilitor.<br/><br/>
Bedankt voor de medewerking,<br/><br/>
Medux B.V.!!
</td>
</tr>
</TABLE>
</xsl:when>
<xsl:otherwise>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR> <TR>
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD> <TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
@@ -954,8 +958,6 @@
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/> <TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
</TR> </TR>
</TABLE> </TABLE>
</xsl:otherwise>
</xsl:choose>
</xsl:template> </xsl:template>
@@ -1206,39 +1208,125 @@
<hr/> <hr/>
</td> </td>
</tr> </tr>
<xsl:if test="opmerking!=''">
<tr> <tr>
<td colspan="4" align="right" valign="top"> <td colspan="4" align="right" valign="top">
<b><xsl:value-of select="//lcl/MLD/afhandeling"/></b><br/><br/> <b><xsl:value-of select="//lcl/MLD/afhandeling"/></b><br/><br/>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="4" align="right" valign="top"> <td colspan="4" align="right" valign="top">
Beste melder,<br/><br/><br/> Beste melder,<br/><br/><br/>
</td> </td>
</tr> </tr>
<tr>
<td colspan="4"> <xsl:choose>
<xsl:call-template name="linebreaks"> <xsl:when test="count(opmerking) = 0">
<xsl:with-param name="string" select="opmerking"/> <!-- Dan tonen we de laatste notitie die voor aanvrager melding (vinkje notitie) bedoeld is -->
</xsl:call-template> <xsl:for-each select="notes/note[flag='1']">
</td> <xsl:sort select="aanmaak/timestamp" order="descending"/>
</tr> <tr>
<tr> <xsl:choose>
<td colspan="4" align="right" valign="top"> <xsl:when test="position() = 1">
<br/><br/><br/> <td colspan="4">
Met vriendelijke groet,<br/><br/> <xsl:call-template name="linebreaks">
Afdeling Facilitaire Zaken<br/><br/><br/> <xsl:with-param name="string" select="omschrijving"/>
E: facilitair@medux.nl<br/> </xsl:call-template>
T: 088 654 08 25 (intern 5525 en 5526) </td>
</td> </xsl:when>
</tr> </xsl:choose>
</xsl:if> </tr>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<!-- Dan tonen we 'gewoon' de afhandelingstekst -->
<tr>
<td colspan="4">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
<tr>
<td colspan="4" align="right" valign="top">
<br/><br/><br/>
Met vriendelijke groet,<br/><br/>
Afdeling Facilitaire Zaken<br/><br/><br/>
E: facilitair@medux.nl<br/>
T: 088 654 08 25 (intern 5525, 5526 of 5527)
</td>
</tr>
</table> </table>
</xsl:template> </xsl:template>
<xsl:template match="rapport">
<html>
<xsl:if test="$srtnotificatiecode = 'CUST01'">
<!-- <xsl:if test="@view = 'MDUX_V_RAP_BES_OPEN_LEV'"> -->
<table width="100%" CLASS='DefResultsetTable'>
<xsl:if test=" count(rapport_data/data_row) = 0">
<tr><td>
<center><b>Geen gegevens gevonden</b></center>
</td></tr>
</xsl:if>
<tr>
<td colspan = "4">
<br/>
Beste collega,<br/><br/>
In onderstaand onderzicht staan orders waarvan de uiterlijke leverdatum reeds verstreken is, maar waarvan de bestelling nog niet binnen geboekt is.<br/><br/>
Om de factuur uiteindelijk betaalbaar te kunnen stellen, willen we u graag verzoeken de geleverde bestellingen in Facilitor (middels uw Ontvang account) als geleverd binnen te boeken in Facilitor.<br/><br/>
Bedankt voor de medewerking,<br/><br/>
Medux B.V.!!
</td>
</tr>
<tr height="20px">
<td colspan="6"/>
</tr>
<tr>
<td>
<table width="98%">
<xsl:variable name="sortedall">
<xsl:for-each select="rapport_data/data_row">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<tr>
<th width="20%" style="text-align:left">Ordernummer</th>
<th width="20%" style="text-align:left">Besteller</th>
<th width="15%" style="text-align:left">Besteldatum</th>
<th width="15%" style="text-align:left">Geplande leverdatum</th>
<th width="20%" style="text-align:left">Leverancier</th>
<th width="10%" style="text-align:right">Totaal</th>
</tr>
<xsl:for-each select="rapport_data/data_row">
<tr>
<td width="20%"><xsl:value-of select="ORDERNUMMER"/></td>
<td width="20%"><xsl:value-of select="BESTELLER"/></td>
<td width="15%"><xsl:value-of select="BESTELDATUM"/></td>
<td width="15%"><xsl:value-of select="LEVERDATUM"/></td>
<td width="20%"><xsl:value-of select="LEVERANCIER"/></td>
<td width="10%" style="text-align:right"><xsl:value-of select="format-number(TOTAAL, '0,00', 'european')"/></td>
</tr>
</xsl:for-each>
<tr>
<td colspan="6" style="text-align:right">
<b>&#8364; <xsl:value-of select="format-number(sum(msxml:node-set($sortedall)/data_row/TOTAAL), '0,00', 'european')"/></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:if>
</html>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@@ -196,14 +196,7 @@
<b>Telefoon / Telephone:</b> <b>Telefoon / Telephone:</b>
</td> </td>
<td align="left" style="border-bottom:#000 1px solid"> <td align="left" style="border-bottom:#000 1px solid">
<xsl:choose> <xsl:value-of select="kenmerk[@naam='Name student']/perslid/mobiel"/>
<xsl:when test="kenmerk[@naam='Name student']/perslid/mobiel!=''">
<xsl:value-of select="kenmerk[@naam='Name student']/perslid/mobiel"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="kenmerk[@naam='Name student']/perslid/telefoonnr"/>
</xsl:otherwise>
</xsl:choose>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -480,7 +473,7 @@
<div id="footer" style="width: 100%; height: 10mm; text-align: center;"> <div id="footer" style="width: 100%; height: 10mm; text-align: center;">
<table width="100%" cellpadding="0" cellspacing="0" style="border-top: 1px solid black; border-bottom: 1px solid black;"> <table width="100%" cellpadding="0" cellspacing="0" style="border-top: 1px solid black; border-bottom: 1px solid black;">
<tr> <tr>
<td style="text-align:right">2014-2015 <td style="text-align:right">2015-2016
</td> </td>
<td style="text-align:center">campus@nyenrode.nl <td style="text-align:center">campus@nyenrode.nl
</td> </td>
@@ -504,7 +497,7 @@
</tr> </tr>
<tr> <tr>
<td align="right" width="45%" style="vertical-align:text-bottom">Extra cleaning</td> <td align="right" width="45%" style="vertical-align:text-bottom">Extra cleaning</td>
<td style="text-align:left" width="10%">Nacalc.</td> <td style="text-align:left" width="10%">€25,00</td>
<td style="text-align:center" width="45%"> <td style="text-align:center" width="45%">
<xsl:choose> <xsl:choose>
<xsl:when test="kenmerk[@naam='Extra cleaning']!=''"> <xsl:when test="kenmerk[@naam='Extra cleaning']!=''">
@@ -612,7 +605,7 @@
<div id="footer" style="width: 100%; height: 10mm; text-align: center;"> <div id="footer" style="width: 100%; height: 10mm; text-align: center;">
<table width="100%" cellpadding="0" cellspacing="0" style="border-top: 1px solid black; border-bottom: 1px solid black;"> <table width="100%" cellpadding="0" cellspacing="0" style="border-top: 1px solid black; border-bottom: 1px solid black;">
<tr> <tr>
<td style="text-align:right">2014-2015 <td style="text-align:right">2015-2016
</td> </td>
<td style="text-align:center">campus@nyenrode.nl <td style="text-align:center">campus@nyenrode.nl
</td> </td>

View File

@@ -116,10 +116,9 @@
<td>E-mail address:</td> <td>E-mail address:</td>
<td><xsl:value-of select="EMAIL"/></td> <td><xsl:value-of select="EMAIL"/></td>
</tr><tr> </tr><tr>
<td>(Mobile) phone:</td> <td>Mobile phone:</td>
<td> <td>
<xsl:if test="MOBIEL!=''"><xsl:value-of select="MOBIEL"/><br/></xsl:if> <xsl:if test="MOBIEL!=''"><xsl:value-of select="MOBIEL"/><br/></xsl:if><br/><br/></td>
<xsl:if test="TELEFOONNR!=''"><xsl:value-of select="TELEFOONNR"/></xsl:if><br/><br/></td>
</tr><tr> </tr><tr>
<td>IBAN:</td> <td>IBAN:</td>
<td><xsl:value-of select="IBAN"/><br/><br/></td> <td><xsl:value-of select="IBAN"/><br/><br/></td>
@@ -140,7 +139,7 @@
When certain data is incorrect or has not reached us yet (possible blanks above) or you would like to change the date/time of the room check, please inform us as soon as possible. When certain data is incorrect or has not reached us yet (possible blanks above) or you would like to change the date/time of the room check, please inform us as soon as possible.
</p> </p>
<p> <p>
Ten weeks after the room check you will receive a final invoice at the forwarding address. On this invoice we will calculate rent, deposit and damages if applicable. Ten weeks after the room check you will receive a final invoice at the forwarding address. On this invoice we will calculate rent, deposit, final cleaning and damages if applicable.
</p> </p>
<p> <p>
Should you have any further questions, you can reach us through the contact info underneath. Should you have any further questions, you can reach us through the contact info underneath.

File diff suppressed because it is too large Load Diff

View File

@@ -5,18 +5,52 @@
*/ */
/* Titelbalk */ /* Titelbalk */
#headerblok { #headerblok {
background: url(banner.jpg) no-repeat; background: url(banner.jpg) no-repeat;
background-color: #213503;
color: #ffffff
} }
#headerprefix {
padding-left: 650px; #editbody .fcltblock {
background-color:#FAFAFA;
}
#editbody .fcltblockhead {
background-color:#D0D0D0;
} }
#rsMaxHistoryB A, #rsMaxHistoryE A, .resplanbordlimited A { #mywelcometitle strong{
color: #dd0000 color: #ffffff;
} }
.unready TD {
font-weight: normal;
}
div.fcltframeheader {
background-color: #fbfbfb;
background-image: none;
color: #DD0000;
}
th {
color: #ffffff;
background-color: #DD0000;
}
#mywelcome , #myactions{
background-color: #999999;
}
/* menu */
div#PersFAC ul li span.menukop, div#ProfFAC ul li span.menukop {
color: #DD0000;
}
/* Tabbladen */
#facforum .ui-state-default a:link {color: #000000; #facforum .ui-state-default a:link {color: #000000;
} }

BIN
CUST/QUAW/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
CUST/QUAW/oracle.udl Normal file

Binary file not shown.

View File

@@ -0,0 +1,4 @@
@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 QUAW

View File

@@ -0,0 +1,4 @@
@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

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

BIN
CUST/QUAW/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

8
CUST/QUAW/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt">
<xsl:import href="../../../appl/shared/default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
</xsl:stylesheet>

View File

@@ -0,0 +1,4 @@
@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 RTWE

View File

@@ -0,0 +1,4 @@
@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

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

11
CUST/RTWE/cust.css Normal file
View File

@@ -0,0 +1,11 @@
/*
* $Revision$
* $Id$
*/
#headerblok {
background: url(logo.png) no-repeat;
background-color: #fff;
color: #000;
}

BIN
CUST/RTWE/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
CUST/RTWE/oracle.udl Normal file

Binary file not shown.

BIN
CUST/RTWE/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

402
CUST/RTWE/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,402 @@
<?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="../../../appl/shared/default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template match="contract" mode="include">
<xsl:choose>
<!--==============================================-->
<!-- CUST01 = NOTIFICATIE RAPPEL CONTRACT -->
<!--==============================================-->
<xsl:when test="$srtnotificatiecode='CUST01'">
<table>
<tr>
<td colspan="4">
<br/>Beste <xsl:value-of select="beheerder/voornaam"/>&#xA0;<xsl:value-of select="beheerder/tussenvoegsel"/>&#xA0;<xsl:value-of select="beheerder/naam"/>,
</td>
</tr>
<tr>
<td colspan="4">
<br/>Op <xsl:value-of select="looptijd_tot/datum"/> loopt <xsl:value-of select="nummer_intern"/>&#xA0;(<xsl:value-of select="omschrijving"/>) af.
<br/>Het is raadzaam hierover contact op te nemen met zowel uw leverancier als uw interne organisatie.
</td>
</tr>
<tr>
<td colspan="4">
<br/>Raadpleeg het digitale contract in Facilitor om de vervolgstappen te bepalen.
<br/>Indien het contract verlengd wordt, zorg er dan voor dat de mutaties en de daarbij behorende documenten digitaal worden vastgelegd in Facilitor.
</td>
</tr>
<tr>
<td colspan="4">
<br/>Met vriendelijke groet,<br/><br/>Applicatiebeheer Facilitor (e-mail <A HREF="mailto:facilitor@enschede.nl">facilitor@enschede.nl</A>)
</td>
</tr>
</table>
</xsl:when>
<!--==============================================-->
<!-- CUST02 = NOTIFICATIE VOOR EVALUATIEGESPREK -->
<!--==============================================-->
<xsl:when test="$srtnotificatiecode='CUST02'">
<table>
<tr>
<td colspan="4">
<br/>Beste <xsl:value-of select="beheerder/voornaam"/>&#xA0;<xsl:value-of select="beheerder/tussenvoegsel"/>&#xA0;<xsl:value-of select="beheerder/naam"/>,
</td>
</tr>
<tr>
<td colspan="4">
<br/>U bent beheerder van contract <xsl:value-of select="nummer_intern"/>&#xA0;(<xsl:value-of select="omschrijving"/>).
<br/>Met uw leverancier is overeengekomen dat u (tussentijds) gaat evalueren.
</td>
</tr>
<tr>
<td colspan="4">
<br/>Onderneem de volgende acties:
</td>
</tr>
<tr>
<td colspan="4">
<br/>- Interne evaluatie;
<br/>- Afspraak leverancier
</td>
</tr>
<tr>
<td colspan="4">
<br/>Wilt u dit realiseren voor
<xsl:choose>
<xsl:when test="kenmerk[@naam='Tweede gesprek geweest']='Ja'">
<xsl:value-of select="kenmerk[@naam='Derde gesprek (3 jaar na afsluiten contract)']"/>.
</xsl:when>
<xsl:when test="kenmerk[@naam='Eerste gesprek geweest']='Ja'">
<xsl:value-of select="kenmerk[@naam='Tweede gesprek (2 jaar na afsluiten contract)']"/>.
</xsl:when>
<xsl:when test="kenmerk[@naam='Eerste gesprek geweest']=''">
<xsl:value-of select="kenmerk[@naam='Eerste gesprek (1 jaar na afsluiten contract)']"/>.
</xsl:when>
</xsl:choose>
<br/>Zorg ervoor dat het (tussentijdse) evaluatieverslag digitaal vastgelegd wordt in het dossier van Facilitor.
</td>
</tr>
<tr>
<td colspan="4">
<br/>Met vriendelijke groet,<br/><br/>Applicatiebeheer Facilitor (e-mail <A HREF="mailto:facilitor@enschede.nl">facilitor@enschede.nl</A>)
</td>
</tr>
</table>
</xsl:when>
</xsl:choose>
<table border="0" cellpadding="1">
<tr>
<td colspan="4" class="caption"><strong>Contract <xsl:value-of select="nummer_intern"/><xsl:if test="versie!=''">.<xsl:value-of select="versie"/></xsl:if></strong>
&#xA0;<xsl:value-of select="eigenaar_afd/omschrijving"/>/<xsl:value-of select="bedrijf/naam"/></td>
</tr>
<xsl:call-template name="cnt_begintext"/>
<tr>
<td class="subcaption" colspan="2" width="50%">Algemene gegevens</td>
<td class="subcaption" colspan="2" width="50%">Data</td>
</tr>
<tr>
<td colspan="2">
<table border="0" id="administratief" width="100%">
<tr>
<td class="label" width="30%">Contractsoort:</td>
<td class="value">
<xsl:value-of select="discipline/omschrijving"/>
</td>
</tr>
<tr>
<td class="label">Beschrijving:</td>
<td class="value">
<xsl:value-of select="omschrijving"/>
</td>
</tr>
<xsl:if test="nummer!=''">
<tr>
<td class="label">Extern nr:</td>
<td class="value">
<xsl:value-of select="nummer"/>
</td>
</tr>
</xsl:if>
<xsl:if test="contract">
<tr>
<td class="label">Mantel:</td>
<td class="value">
<xsl:value-of select="contract/nummer_intern"/>
</td>
</tr>
</xsl:if>
<xsl:if test="document!=''">
<tr>
<td class="label">Omschrijving:</td>
<td class="value">
<xsl:value-of select="document"/>
</td>
</tr>
</xsl:if>
</table>
</td>
<td colspan="2">
<table border="0" width="100%" id="datums">
<tr>
<td class="label" width="30%">Ingangsdatum:</td>
<td class="value">
<xsl:value-of select="looptijd_van/datum"/>
</td>
</tr>
<tr>
<td class="label">Rappeldatum:</td>
<td class="value">
<xsl:value-of select="rappeldatum/datum"/>
</td>
</tr>
<tr>
<td class="label">Opzegdatum:</td>
<td class="value">
<xsl:value-of select="opzegdatum/datum"/>
</td>
</tr>
<tr>
<td class="label">Einddatum:</td>
<td class="value">
<xsl:value-of select="looptijd_tot/datum"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="subcaption" colspan="2">Eigenaar</td>
<td class="subcaption" colspan="2">Contractpartij</td>
</tr>
<tr>
<td colspan="2">
<table border="0" id="eigenaar" width="100%">
<tr>
<td class="label" width="30%">Eigenaar:</td>
<td class="value">
<xsl:value-of select="eigenaar_afd/omschrijving"/>
</td>
</tr>
<tr>
<td class="label" width="30%">Contactpersoon:</td>
<td class="value">
<xsl:value-of select="eigenaar/naam_full"/>
</td>
</tr>
<tr>
<td class="label">Beheerder:</td>
<td class="value">
<xsl:value-of select="beheerder/naam_full"/>
</td>
</tr>
<xsl:if test="kostenplaats">
<tr>
<td class="label">Kostenplaats:</td>
<td class="value">
<xsl:value-of select="kostenplaats/nr"/>&#xA0;
<xsl:value-of select="kostenplaats/omschrijving"/>
</td>
</tr>
</xsl:if>
</table>
</td>
<td colspan="2">
<table border="0" id="contractant" width="100%">
<tr>
<td class="label" width="30%">Uitvoerder:</td>
<td class="value">
<xsl:value-of select="bedrijf/naam"/>
<xsl:if test="bedrijf/bezoek_plaats!=''">&#xA0;
-&#xA0;<xsl:value-of select="bedrijf/bezoek_plaats"/></xsl:if>
<xsl:if test="bedrijf/leverancier_nr!=''">&#xA0;
(<xsl:value-of select="bedrijf/leverancier_nr"/>)</xsl:if>
</td>
</tr>
<tr>
<td/>
<td class="value">
<xsl:value-of select="bedrijf/post_adres"/>
</td>
</tr>
<tr>
<td/>
<td class="value">
<xsl:value-of select="bedrijf/post_postcode"/>&#xA0;
<xsl:value-of select="bedrijf/post_plaats"/>
</td>
</tr>
<xsl:if test="contactpersoon">
<tr>
<td class="label">Contactpersoon:</td>
<td class="value">
<xsl:value-of select="contactpersoon/naam_full"/>
</td>
</tr>
</xsl:if>
<xsl:if test="contactpersoon/telefoon1!=''">
<tr>
<td class="label">Telefoon:</td>
<td class="value">
<xsl:value-of select="contactpersoon/telefoon1"/>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
<tr>
<td class="subcaption" colspan="2">Opmerkingen</td>
<td class="subcaption" colspan="2">Financieel</td>
</tr>
<tr>
<td colspan="2">
<xsl:value-of select="opmerking"/>
</td>
<td colspan="2">
<table border="0" id="financieel" width="100%">
<xsl:if test="termijnkosten!=''">
<tr>
<td class="label" width="30%">Termijnbedrag:</td>
<td class="value">
<xsl:value-of select="termijnkosten"/>
</td>
</tr>
</xsl:if>
<tr>
<td class="label">Contractbedrag:</td>
<td class="value">
<xsl:value-of select="kosten"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="subcaption" colspan="2">Details</td>
<td class="subcaption" colspan="2">Scope</td>
</tr>
<tr>
<td colspan="2">
<table>
<xsl:for-each select="kenmerk">
<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>
<td colspan="2">
<xsl:if test="contract_plaats/plaats">
<table cellspacing="1">
<tr>
<td>
<strong>Locaties:</strong>
</td>
</tr>
<xsl:for-each select="contract_plaats/plaats">
<xsl:sort select="regio/district/locatie/omschrijving"/>
<tr>
<td>
<xsl:value-of select="regio/district/locatie/omschrijving"/>
</td>
<td>
<xsl:value-of select="regio/district/locatie/adres"/>
</td>
<td>
<xsl:value-of select="regio/district/locatie/plaats"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
<xsl:if test="contract_object/srtdeel">
<table cellspacing="1">
<tr>
<td>
<strong>Betreft:</strong>
</td>
</tr>
<xsl:for-each select="contract_object/srtdeel">
<xsl:sort select="omschrijving"/>
<tr>
<td>
<xsl:value-of select="omschrijving"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
<xsl:if test="contract_object/deel">
<table cellspacing="1">
<tr>
<td>
<strong>Objecten:</strong>
</td>
</tr>
<xsl:for-each select="contract_object/deel">
<xsl:sort select="omschrijving"/>
<tr>
<td>
<xsl:value-of select="omschrijving"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
<!-- moet nog voor terreinen -->
<xsl:if test="contract_onrgoed">
<table cellspacing="1">
<tr>
<td>
<strong>Gehuurd:</strong>
</td>
</tr>
<xsl:for-each select="contract_onrgoed">
<xsl:sort select="ruimte/srtruimte/omschrijving"/>
<tr>
<td>
<xsl:value-of select="ruimte/srtruimte/omschrijving"/>
</td>
<td>
<xsl:value-of select="ruimte/nr"/>
</td>
<td>
<xsl:value-of select="ruimte/omschrijving"/>
</td>
<td>
<xsl:value-of select="ruimte/prijs"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</td>
</tr>
<xsl:call-template name="cnt_endtext"/>
</table>
</xsl:template>
</xsl:stylesheet>

0
CUST/SORO/Import/AFAS/.gitignore vendored Normal file
View File

View File

@@ -0,0 +1,14 @@
REM - GET DE XML VAN AFAS-ONLINE, ZET DIE IN FOLDER AFAS EN IMPORTEER DIE IN FACILITOR
REM - STAP 1: eerst maar eens de xml's die er eventueel nog zijn, verwijderen uit de folder AFAS_OUT
del AFAS\*.xml
REM - STAP 2: haal de xml op van afasonline
cscript /E:jscript AFASOnline.js ./AFAS/AFASOnline.xml ./afasonline.xsl >> AFASOnline.log
REM - STAP 3: Importeer de xml in Facilitor
IF NOT EXIST "./AFAS/*.xml" goto einde
cscript ..\..\..\utils\gen_import\gen_import.wsf SORO PERSLID >>genimport.log 2>>&1
:einde

View File

@@ -0,0 +1,130 @@
// Euroflorist.js
// Sending xml as string based on HTTP POST
//
function SendXml(l_url, l_username, l_password, p_string, ResultFile1, l_xsl_file)
{
var SXH_PROXY_SET_PROXY = 2;
ProxyServerIPAddress = "127.0.0.1:8888"
var objXMLHTTP = new ActiveXObject("MSXML2.ServerXMLHTTP.6.0");
// objXMLHTTP.setProxy(SXH_PROXY_SET_PROXY, ProxyServerIPAddress);
// ------------------------------------------------------------------------------------------------------------------------------
WScript.Echo( "Requires Server UserName and Password." );
objXMLHTTP.open("POST", l_url, false, l_username, l_password);
objXMLHTTP.setRequestHeader("Content-Type", "text/xml;charset=UTF-8");
objXMLHTTP.setRequestHeader ("SOAPAction", "urn:Afas.Profit.Services/GetData");
WScript.Echo("Before send p_string");
objXMLHTTP.send(p_string);
if (objXMLHTTP.status==200)
{
WScript.Echo("Succeeded, status = " + objXMLHTTP.status);
oStream = new ActiveXObject("ADODB.Stream");
oStream.Open();
oStream.Type = 1; // adTypeBinary
oStream.Write(objXMLHTTP.responseBody); // responseText geeft encoding problemen!
oStream.SaveToFile (ResultFile1, 2); // adSaveCreateOverWrite
oStream.Close();
WScript.Echo("Before xmlResp");
var xmlResp = new ActiveXObject("MSXML2.DOMDocument.6.0");
xmlResp = objXMLHTTP.responseXML;
WScript.Echo("After xmlResp");
if (l_xsl_file){
var xslDoc = new ActiveXObject("MSXML2.DOMDocument.6.0");
xslDoc.load(l_xsl_file);
WScript.Echo("After xslDoc");
var oStream = new ActiveXObject("ADODB.Stream");
oStream.Open();
oStream.Type = 2; //
oStream.Charset = "UTF-8"; //
// oStream.Write(xmlResp.transformNodeToObject(xslDoc, xmlResp));
oStream.WriteText(xmlResp.transformNode(xslDoc));
WScript.Echo("After transform");
oStream.SaveToFile (ResultFile1, 2); // adSaveCreateOverWrite
oStream.Close();
}
}
else
{
WScript.Echo("Server Error / Failure");
WScript.Echo("Status = " + objXMLHTTP.status);
WScript.Echo("Description = " + objXMLHTTP.statusText);
}
}
try
{
WScript.Echo("Start sending string");
var l_output_xml = WScript.Arguments(0);
if (WScript.Arguments.length > 1){
var l_xsl_file = WScript.Arguments(1);
}
l_url = "https://profitweb.afasonline.nl/profitservices/getconnector.asmx";
var l_username = "71217.facilitor";
var l_password = "Profit1!";
var l_environment = "O71217AA";
var connectorId = "Facilitor_medewerkergegevens";
my_string = ""
+ " <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:Afas.Profit.Services\">"
+ " <soapenv:Header/>"
+ " <soapenv:Body>"
+ " <urn:GetData>"
+ " <!--Optional:-->"
+ " <urn:environmentId>" + l_environment + "</urn:environmentId>"
+ " <!--Optional:-->"
+ " <urn:userId>" + l_username + "</urn:userId>"
+ " <!--Optional:-->"
+ " <urn:password>" + l_password + "</urn:password>"
+ " <!--Optional:-->"
+ " <urn:logonAs></urn:logonAs>"
+ " <!--Optional:-->"
+ " <urn:connectorId>" + connectorId + "</urn:connectorId>"
+ " <!--Optional:-->"
+ " <urn:filtersXml></urn:filtersXml>"
+ " </urn:GetData>"
+ " </soapenv:Body>"
+ " </soapenv:Envelope>";
//WScript.Echo("Webservice URL="+l_url);
//WScript.Echo("String="+my_string);
SendXml(l_url, "AOL\\" + l_username, l_password, my_string, l_output_xml, l_xsl_file);
WScript.Echo("End sending xml-order");
WScript.Quit(0);
}
catch (e)
{
WScript.Echo("Fout in AFASOnline.js: " + e.description);
WScript.Quit(1);
}

View File

@@ -0,0 +1,20 @@
<?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/"
xmlns:msxml="urn:schemas-microsoft-com:xslt">
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
<xsl:decimal-format name="european" decimal-separator="." grouping-separator=","/>
<xsl:param name="mode"/>
<!-- Uitpakken SOAP envelope -->
<xsl:template match="soap:Body">
<xml><xsl:value-of select="." disable-output-escaping="yes"/></xml>
</xsl:template>
<xsl:template match="/">
<xsl:apply-templates select="soap:Envelope/soap:Body"/>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,16 @@
<?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/"
xmlns:msxml="urn:schemas-microsoft-com:xslt">
<xsl:output method="text" encoding="utf-8"/>
<xsl:decimal-format name="european" decimal-separator="." grouping-separator=","/>
<xsl:param name="mode"/>
<xsl:template match="/">"Org.eenh.";"Naam org.eenh.";"Persoonsnr.";"Naam samengesteld";"Roepnaam";"Voorvoeg.geb.naam";"Geb.naam";"Voorvoeg.partner";"Naam partner";"Functiecode DV";"Oms functie";"Email werk";"Gebruik achternaam"
<xsl:for-each select="xml/AfasGetConnector/Facilitor_medewerkergegevens">"<xsl:value-of select="Afdnr."/>";"";"<xsl:value-of select="Persnr."/>";"<xsl:value-of select="Achternaam"/>";"<xsl:value-of select="Roepnaam"/>";"<xsl:value-of select="Tussenvoegsel"/>";"<xsl:value-of select="Achternaam"/>";"";"";"";"<xsl:value-of select="Functie"/>";"<xsl:value-of select="Email"/>";"E";&#10;</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

View File

@@ -45,7 +45,7 @@
<xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute> <xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute>
<Name xml:lang="NL">(<xsl:value-of select="afleveradres/naam"/>)</Name> <Name xml:lang="NL">(<xsl:value-of select="afleveradres/naam"/>)</Name>
<PostalAddress name="default"> <PostalAddress name="default">
<DeliverTo><xsl:value-of select="bestelling/voor/naam_full"/></DeliverTo> <DeliverTo><xsl:value-of select="bestelling/voor/voornaam"/>, <xsl:if test="bestelling/voor/tussenvoegsel!=''"><xsl:value-of select="bestelling/voor/tussenvoegsel"/>&#160;</xsl:if><xsl:value-of select="bestelling/voor/naam"/></DeliverTo>
<DeliverTo><xsl:value-of select="bestelling/plaats"/></DeliverTo> <DeliverTo><xsl:value-of select="bestelling/plaats"/></DeliverTo>
<Street><xsl:value-of select="afleveradres/bezoek_adres"/></Street> <Street><xsl:value-of select="afleveradres/bezoek_adres"/></Street>
<City><xsl:value-of select="afleveradres/bezoek_plaats"/></City> <City><xsl:value-of select="afleveradres/bezoek_plaats"/></City>
@@ -72,7 +72,7 @@
</BillTo> </BillTo>
<Contact> <Contact>
<Name xml:lang="NL"> <Name xml:lang="NL">
<xsl:value-of select="bestelling/voor/naam_full"/> <xsl:value-of select="bestelling/voor/voornaam"/>, <xsl:if test="bestelling/voor/tussenvoegsel!=''"><xsl:value-of select="bestelling/voor/tussenvoegsel"/>&#160;</xsl:if><xsl:value-of select="bestelling/voor/naam"/>
</Name> </Name>
<Email> <Email>
<xsl:value-of select="bestelling/voor/email"/> <xsl:value-of select="bestelling/voor/email"/>
@@ -169,6 +169,6 @@
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved. </xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
<metaInformation> <metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="yes" url="..\..\..\TEMP\SORO_files\bestelopdr1163_20151217142537.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> <scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="yes" url="..\..\..\TEMP\SORO_files\bestelopdr1163_20160112172825.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> </metaInformation>
--> -->

View File

@@ -271,19 +271,44 @@ Voor eventuele vragen of opmerkingen graag een mail naar <a href="mailto:inkoop@
<xsl:variable name="prefix"> <xsl:variable name="prefix">
<xsl:choose> <xsl:choose>
<xsl:when test="$lev5!=''"> <xsl:when test="$lev5!=''">
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="bestelling/voor/afdeling/parent/parent/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev4!=''"> <xsl:when test="$lev4!=''">
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="bestelling/voor/afdeling/parent/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev3!=''"> <xsl:when test="$lev3!=''">
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="bestelling/voor/afdeling/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev2!=''"> <xsl:when test="$lev2!=''">
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="bestelling/voor/afdeling/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(bestelling/voor/afdeling/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev1!=''"> <xsl:when test="$lev1!=''">
<xsl:choose><xsl:when test="bestelling/voor/afdeling/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="bestelling/voor/afdeling/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(bestelling/voor/afdeling/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(bestelling/voor/afdeling/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:otherwise>999</xsl:otherwise> <xsl:otherwise>999</xsl:otherwise>
</xsl:choose> </xsl:choose>
@@ -669,19 +694,44 @@ Voor eventuele vragen of opmerkingen graag een mail naar <a href="mailto:inkoop@
<xsl:variable name="prefix"> <xsl:variable name="prefix">
<xsl:choose> <xsl:choose>
<xsl:when test="$lev5!=''"> <xsl:when test="$lev5!=''">
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="melding/voor/afdeling/parent/parent/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev4!=''"> <xsl:when test="$lev4!=''">
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="melding/voor/afdeling/parent/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev3!=''"> <xsl:when test="$lev3!=''">
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="melding/voor/afdeling/parent/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev2!=''"> <xsl:when test="$lev2!=''">
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="melding/voor/afdeling/parent/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(melding/voor/afdeling/parent/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/parent/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:when test="$lev1!=''"> <xsl:when test="$lev1!=''">
<xsl:choose><xsl:when test="melding/voor/afdeling/naam &lt; 230">215</xsl:when><xsl:otherwise><xsl:value-of select="melding/voor/afdeling/naam"/></xsl:otherwise></xsl:choose> <xsl:choose>
<xsl:when test="substring(melding/voor/afdeling/naam, 1, 1) = '4'">230</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/naam, 1, 1) = '5'">245</xsl:when>
<xsl:when test="substring(melding/voor/afdeling/naam, 1, 1) = '6'">260</xsl:when>
<xsl:otherwise>215</xsl:otherwise>
</xsl:choose>
</xsl:when> </xsl:when>
<xsl:otherwise>999</xsl:otherwise> <xsl:otherwise>999</xsl:otherwise>
</xsl:choose> </xsl:choose>

View File

@@ -1,2 +1,2 @@
cscript ..\..\..\utils\gen_import\gen_import_flexfiles.wsf UWVA flexfiles/ins ../oracle.udl >>genimportflex.log 2>>&1 cscript .\gen_import_flexfiles.wsf flexfiles/ins >>genimportflex.log 2>>&1

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" encoding="UTF-8"/>
<xsl:template match="/">
<xsl:comment>factuurnr;factuurdatum;opdrachtnr;omschrijving;bedrag;btwperc;btwbedrag</xsl:comment>
<xsl:for-each select="/Invoice/InvoiceLine">
<xsl:value-of select="../ID"/>;<xsl:value-of select="../IssueDate"/>;<xsl:value-of select="../OrderReference/ID"/>;;<xsl:value-of select="TaxTotal/TaxSubtotal/TaxableAmount"/>;<xsl:value-of select="TaxTotal/TaxSubtotal/TaxCategory/Percent"/>;<xsl:value-of select="TaxTotal/TaxSubtotal/TaxAmount"/>;&#10;</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

BIN
CUST/WEHK/Oracle.udl Normal file

Binary file not shown.

View File

@@ -32,7 +32,11 @@
</To> </To>
<Sender> <Sender>
<Credential domain="Facilitor"> <Credential domain="Facilitor">
<Identity>order@facilityplace.nl</Identity> <Identity>
<xsl:choose>
<xsl:when test="bedrijf/key='49742'">OciWehkamp</xsl:when>
<xsl:otherwise>order@facilityplace.nl</xsl:otherwise>
</xsl:choose></Identity>
</Credential> </Credential>
<UserAgent/> <UserAgent/>
</Sender> </Sender>
@@ -124,3 +128,8 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\WEHK_files\bestelopdr1438_20160201131948.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,4 +1,4 @@
Echo Starten get_unica_status.js Echo Starten get_unica_status.js
cscript ..\..\AAXX\import\Unica\UnicaStatusResponse.js ../oracle.udl 7742 "https://aazc.facilitor.nl/default.asp?API=UNICA2OPDR&APIKEY=kVVabWWmHSwMfTClBbuWRRiPFCpjLNbH">> gen_import.log cscript ..\..\AAXX\import\Unica\UnicaStatusResponse.js ../oracle.udl 7742 "https://zkhm.facilitor.nl/default.asp?API=UNICA2OPDR&APIKEY=kVVabWWmHSwMfTClBbuWRRiPFCpjLNbH">> gen_import.log

View File

@@ -4,10 +4,10 @@
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable> <xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
<xsl:template name="customer">Zorgcombinatie Noorderboog </xsl:template> <xsl:template name="customer">ISALA Diaconessenhuis </xsl:template>
<xsl:template name="customer_code">ZCN</xsl:template> <xsl:template name="customer_code">ISALA</xsl:template>
<xsl:template name="customer_email">servicedesknoorderboog@aa-fm.com</xsl:template> <xsl:template name="customer_email">servicedeskisala-diac@aa-fm.com</xsl:template>
<xsl:template name="invoice_email">Invoices.ZCN@aa-fm.com</xsl:template> <xsl:template name="invoice_email">invoices.isala@aa-fm.com</xsl:template>
<xsl:template name="servicedesk_telefoon">+31 (0) 52 223 4949</xsl:template> <xsl:template name="servicedesk_telefoon">+31 (0) 52 223 4949</xsl:template>
<xsl:template name="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template> <xsl:template name="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template>