Merge 2015.3 patches
svn path=/Website/trunk/; revision=27998
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
CUST/AAAH/tmpl_logo_mld.gif
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
@@ -42,7 +42,7 @@
|
||||
</Total>
|
||||
<ShipTo>
|
||||
<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>
|
||||
<PostalAddress name="default">
|
||||
<DeliverTo><xsl:value-of select="bestelling/aanvrager/naam_full"/></DeliverTo>
|
||||
@@ -57,7 +57,7 @@
|
||||
</ShipTo>
|
||||
<BillTo>
|
||||
<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>
|
||||
<PostalAddress name="default">
|
||||
<Street><xsl:value-of select="factuuradres/post_adres"/></Street>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
1829
CUST/AACH/cust.xsl
|
Before Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -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>
|
||||
@@ -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>
|
||||
@@ -7,7 +7,7 @@
|
||||
<xsl:template name="customer">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="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="opdracht_qr_bookmark"></xsl:template>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ REM
|
||||
REM (c) 2013, SG|facilitor bv, +31 (53) 4800700, support@sgfacilitor.nl
|
||||
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 AADB_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 AAEY_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 AAIT_DEKKING001
|
||||
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 AARW_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 AAZC_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 ZKHM_DEKKING
|
||||
|
||||
BIN
CUST/AASA/SAB.gif
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
20
CUST/AASI/export/gen_export_hv_freeze.bat
Normal 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
|
||||
@@ -4,7 +4,7 @@ cscript ..\..\AAXX\import\Strukton\GetStruktonStatus.js ../oracle.udl 50422 >>ge
|
||||
|
||||
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
|
||||
:fout
|
||||
Echo gen_import.exe niet meer uitgevoerd>>genimport.log
|
||||
|
||||
36
CUST/AASI/xsl/cofely.xsl
Normal 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,'
',' ')"/>
|
||||
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>
|
||||
-->
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
|
||||
|
||||
<xsl:template name="customer">DSM </xsl:template>
|
||||
<xsl:template name="customer_code">DSM</xsl:template>
|
||||
<xsl:template name="customer">Sitech </xsl:template>
|
||||
<xsl:template name="customer_code">Sitech</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="opdracht_qr_bookmark"></xsl:template>
|
||||
|
||||
|
||||
126
CUST/AASI/xsl/maas.xsl
Normal 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, '
')">
|
||||
<xsl:value-of select="substring-before($string, '
')"/>
|
||||
<xsl:text> - </xsl:text>
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="substring-after($string, '
')"/>
|
||||
</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)>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>
|
||||
-->
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
Before Width: | Height: | Size: 7.7 KiB |
@@ -1,4 +0,0 @@
|
||||
|
||||
echo 'Empty' >> aaxx_imp.csv
|
||||
cscript ..\..\..\utils\gen_import\gen_import.wsf AAXX AAFM_MEDEWERKERS >>genimport.log 2>>&1
|
||||
|
||||
@@ -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>
|
||||
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -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>
|
||||
@@ -34,14 +34,14 @@
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="type">update</xsl:attribute>
|
||||
<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' ">
|
||||
<status>ORDAFM</status>
|
||||
</xsl:when>
|
||||
<xsl:when test="New = '1'">
|
||||
<status>ORDACP</status>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<status>ORDUPD</status>
|
||||
<status></status>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<mut_datum>
|
||||
@@ -65,4 +65,4 @@
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="soap:Envelope/soap:Body"/>
|
||||
</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. -->
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
|
||||
|
||||
<xsl:template name="customer">Zorgcombinatie Noorderboog </xsl:template>
|
||||
<xsl:template name="customer_code">ZCN</xsl:template>
|
||||
<xsl:template name="customer">VVT Noorderboog </xsl:template>
|
||||
<xsl:template name="customer_code">VVT</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="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template>
|
||||
|
||||
|
||||
@@ -1957,11 +1957,20 @@ p.MsoNormal {
|
||||
<p>BOOKING DETAILS</p>
|
||||
|
||||
<p>
|
||||
<table border="0" width="100%">
|
||||
<tr><td>Date visit:</td><td><xsl:value-of select="rsv_ruimte/van/datum"/></td></tr>
|
||||
<tr><td>Start time visit:</td><td><xsl:value-of select="datum/tijd"/></td></tr>
|
||||
<tr><td>End time visit:</td><td><xsl:value-of select="eind/tijd"/></td></tr>
|
||||
<table border="0" cellpadding="1" cellspacing="0" width="100%">
|
||||
<xsl:choose>
|
||||
<xsl:when test="rsv_ruimte/van/datum!=''">
|
||||
<tr><td width="150">Date visit:</td><td><xsl:value-of select="rsv_ruimte/van/datum"/></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>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$nrOfpark=0">
|
||||
@@ -2005,12 +2014,17 @@ p.MsoNormal {
|
||||
|
||||
<p>AkzoNobel Amsterdam</p>
|
||||
|
||||
<p>E-mail:
|
||||
<p>
|
||||
<table border="0" cellpadding="1" cellspacing="0" width="100%">
|
||||
<tr><td width="100">E-mail:</td><td>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">mailto:NL_AMB_Service_Center@akzonobel.com</xsl:attribute>
|
||||
<xsl:attribute name="title">email us</xsl:attribute>
|
||||
NL_AMB_Service_Center@akzonobel.com</xsl:element><br/>
|
||||
Telephone: +31 88 969 7974</p>
|
||||
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>
|
||||
</html>
|
||||
</xsl:when>
|
||||
@@ -2056,7 +2070,7 @@ p.MsoNormal {
|
||||
<p>BOOKING DETAILS</p>
|
||||
|
||||
<p>
|
||||
<table border="0" width="100%">
|
||||
<table border="0" cellpadding="1" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td width="200">Booking reference number:</td>
|
||||
<td>
|
||||
|
||||
@@ -259,6 +259,9 @@
|
||||
<xsl:choose>
|
||||
<xsl:when test="bestelopdrachtitem/bestelitem/srtdeel/srtgroep/discipline/key=784">
|
||||
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:otherwise>
|
||||
<xsl:value-of select="afleveradres/plaats/regio/district/locatie/kenmerk[@key='1001']"/>
|
||||
@@ -1006,4 +1009,8 @@
|
||||
</xsl:choose>
|
||||
</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>
|
||||
-->
|
||||
@@ -5,4 +5,5 @@
|
||||
#headerblok
|
||||
{
|
||||
background: url(fac_logo.png) no-repeat;
|
||||
background-position: top 4px right 360px;
|
||||
}
|
||||
|
||||
@@ -1,4 +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 AASI
|
||||
cscript ..\..\..\utils\gen_notify\gen_notify.js ../oracle.udl HCAS
|
||||
BIN
CUST/HCAS/banner.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
CUST/HCAS/oracle.udl
Normal file
BIN
CUST/HCAS/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
0
CUST/HCAS/xsl/.gitignore
vendored
Normal file
@@ -316,6 +316,7 @@ as defined in our General Terms and Conditions.<br/>
|
||||
}
|
||||
</style>
|
||||
<xsl:choose>
|
||||
<!-- ubw opdrachten (key 221) -->
|
||||
<xsl:when test="melding/discipline/srtdiscipline/key=221">
|
||||
<table border="0" width="100%" cellpadding="2" style="padding-left:40px">
|
||||
<tr>
|
||||
@@ -389,7 +390,7 @@ as defined in our General Terms and Conditions.<br/>
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -402,6 +403,11 @@ as defined in our General Terms and Conditions.<br/>
|
||||
<td class="label" colspan="1">Uiterlijk voor:</td>
|
||||
<td class="value" colspan="3"><xsl:value-of select="einddatum/datum"/></td>
|
||||
</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>
|
||||
<td colspan="4" height="20px"/>
|
||||
</tr>
|
||||
|
||||
@@ -1638,6 +1638,7 @@
|
||||
<xsl:when test="kenmerk[@key=58] != ''">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'), 'sleutel')">Sleutel</xsl:when>
|
||||
<xsl:otherwise>Laptop</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
@@ -1731,6 +1732,18 @@
|
||||
</xsl:choose>
|
||||
</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:when>
|
||||
<xsl:when test="$v_type_overeenkomst = 'Laptop'">
|
||||
@@ -1752,6 +1765,20 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
</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:choose>
|
||||
|
||||
|
||||
8
CUST/KFHT/export/ftp_opdr2htc.scr
Normal file
@@ -0,0 +1,8 @@
|
||||
open csmftp01.hightechcampus.nl
|
||||
user Facilitor
|
||||
hH5Aqj3
|
||||
pasv
|
||||
hash
|
||||
lcd Import
|
||||
put EXACT*.xml
|
||||
bye
|
||||
@@ -2,7 +2,7 @@ REM GEN_EXPORT_EXACT
|
||||
REM
|
||||
REM KFHT
|
||||
REM
|
||||
REM Exporteert verplichtingen als XML tbv. Exact.
|
||||
REM Exporteert opdrachtgegevens (afgemeld) uit FACILITOR.
|
||||
REM
|
||||
REM Context : roep deze file aan indien nodig, of schedule deze
|
||||
REM Vereist : de randvoorwaarde voor het gebruik van gen_export
|
||||
@@ -18,4 +18,7 @@ copy .\Exact\EXACT*.xml .\Exact\Backup
|
||||
del .\Exact\EXACT*.xml
|
||||
|
||||
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
|
||||
|
||||
13
CUST/KFHT/import/exact.xsl
Normal 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="'
'"/>
|
||||
|
||||
<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>
|
||||
9
CUST/KFHT/import/ftp_htc2opdr.scr
Normal file
@@ -0,0 +1,9 @@
|
||||
open csmftp01.hightechcampus.nl
|
||||
user Facilitor
|
||||
hH5Aqj3
|
||||
pasv
|
||||
hash
|
||||
lcd Export
|
||||
mget *.xml
|
||||
mdelete *.xml
|
||||
bye
|
||||
25
CUST/KFHT/import/gen_import_exact.bat
Normal 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
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
</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="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:value-of select="concat(melding/discipline/srtdiscipline/prefix, melding/key)"/>/<xsl:value-of select="bedrijfopdr_volgnr"/>
|
||||
</xsl:element>
|
||||
|
||||
@@ -939,6 +939,99 @@
|
||||
</table>
|
||||
</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"/> <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"/>&height=50&narrow=1&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"/> 
|
||||
<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 -->
|
||||
<!--===================================================================================================-->
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
<b>MAYFIELD SERVICEDESK</b>
|
||||
</td>
|
||||
<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 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>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -366,7 +366,7 @@ zijn dan vindt u deze in bijlage van deze aanvraag.
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<?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:variable name="Rev">
|
||||
<!-- Revision van deze cust.xsl -->
|
||||
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
||||
</xsl:variable>
|
||||
|
||||
|
||||
<xsl:template match="opdracht" mode="include">
|
||||
<xsl:choose>
|
||||
<!-- "opdrachten bij melding "Incidentele bestelling (key=1)" -->
|
||||
@@ -369,14 +370,9 @@
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
Beste heer/mevrouw,<br/><br/>
|
||||
Voor bovenstaande locatie hebben wij de volgende aanvraag ontvangen: <br/><br/>
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
<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/>
|
||||
Afdeling Facilitaire Zaken<br/><br/><br/>
|
||||
@@ -538,13 +534,37 @@
|
||||
</td>
|
||||
<td align="left" colspan="3">
|
||||
Beste heer/mevrouw,<br/><br/>
|
||||
Hierbij het verzoek om een offerte op te stellen voor bovengenoemde locatie: <br/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(opmerking) = 0">
|
||||
<!-- Dan tonen we NIET omschrijving, en de afhandelingstekst -->
|
||||
<tr>
|
||||
<td align="right" valign="top"> </td>
|
||||
<td colspan="3">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
<br/><br/>
|
||||
De offerte voor <xsl:value-of select="datumgereed/datum"/> graag mailen naar facilitair@medux.nl. <br/>
|
||||
Wij zullen de offerte beoordelen en aangeven of wij al dan niet gebruik zullen maken van uw aanbieding.<br/>
|
||||
</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/>
|
||||
Afdeling Facilitaire Zaken<br/><br/><br/>
|
||||
@@ -685,22 +705,6 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</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%">
|
||||
<TR>
|
||||
<TD WIDTH="40" ROWSPAN="30" ID="LINKERMARGE"></TD>
|
||||
@@ -954,8 +958,6 @@
|
||||
<TD WIDTH="30" ROWSPAN="30" ID="RECHTERMARGE"/>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
@@ -1206,7 +1208,7 @@
|
||||
<hr/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:if test="opmerking!=''">
|
||||
|
||||
<tr>
|
||||
<td colspan="4" align="right" valign="top">
|
||||
<b><xsl:value-of select="//lcl/MLD/afhandeling"/></b><br/><br/>
|
||||
@@ -1217,6 +1219,27 @@
|
||||
Beste melder,<br/><br/><br/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(opmerking) = 0">
|
||||
<!-- Dan tonen we de laatste notitie die voor aanvrager melding (vinkje notitie) bedoeld is -->
|
||||
<xsl:for-each select="notes/note[flag='1']">
|
||||
<xsl:sort select="aanmaak/timestamp" order="descending"/>
|
||||
<tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = 1">
|
||||
<td colspan="4">
|
||||
<xsl:call-template name="linebreaks">
|
||||
<xsl:with-param name="string" select="omschrijving"/>
|
||||
</xsl:call-template>
|
||||
</td>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<!-- Dan tonen we 'gewoon' de afhandelingstekst -->
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<xsl:call-template name="linebreaks">
|
||||
@@ -1224,21 +1247,86 @@
|
||||
</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 en 5526)
|
||||
T: 088 – 654 08 25 (intern 5525, 5526 of 5527)
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</table>
|
||||
</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>€ <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>
|
||||
|
||||
@@ -196,14 +196,7 @@
|
||||
<b>Telefoon / Telephone:</b>
|
||||
</td>
|
||||
<td align="left" style="border-bottom:#000 1px solid">
|
||||
<xsl:choose>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -480,7 +473,7 @@
|
||||
<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;">
|
||||
<tr>
|
||||
<td style="text-align:right">2014-2015
|
||||
<td style="text-align:right">2015-2016
|
||||
</td>
|
||||
<td style="text-align:center">campus@nyenrode.nl
|
||||
</td>
|
||||
@@ -504,7 +497,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<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%">
|
||||
<xsl:choose>
|
||||
<xsl:when test="kenmerk[@naam='Extra cleaning']!=''">
|
||||
@@ -612,7 +605,7 @@
|
||||
<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;">
|
||||
<tr>
|
||||
<td style="text-align:right">2014-2015
|
||||
<td style="text-align:right">2015-2016
|
||||
</td>
|
||||
<td style="text-align:center">campus@nyenrode.nl
|
||||
</td>
|
||||
|
||||
@@ -116,10 +116,9 @@
|
||||
<td>E-mail address:</td>
|
||||
<td><xsl:value-of select="EMAIL"/></td>
|
||||
</tr><tr>
|
||||
<td>(Mobile) phone:</td>
|
||||
<td>Mobile phone:</td>
|
||||
<td>
|
||||
<xsl:if test="MOBIEL!=''"><xsl:value-of select="MOBIEL"/><br/></xsl:if>
|
||||
<xsl:if test="TELEFOONNR!=''"><xsl:value-of select="TELEFOONNR"/></xsl:if><br/><br/></td>
|
||||
<xsl:if test="MOBIEL!=''"><xsl:value-of select="MOBIEL"/><br/></xsl:if><br/><br/></td>
|
||||
</tr><tr>
|
||||
<td>IBAN:</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.
|
||||
</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>
|
||||
Should you have any further questions, you can reach us through the contact info underneath.
|
||||
|
||||
@@ -5,18 +5,52 @@
|
||||
*/
|
||||
|
||||
/* Titelbalk */
|
||||
|
||||
#headerblok {
|
||||
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 {
|
||||
color: #dd0000
|
||||
#mywelcometitle strong{
|
||||
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;
|
||||
}
|
||||
BIN
CUST/QUAW/banner.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
CUST/QUAW/oracle.udl
Normal file
4
CUST/QUAW/tasks/gen_notify.bat
Normal 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
|
||||
4
CUST/QUAW/tasks/gen_scheduler.bat
Normal 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
|
||||
1
CUST/QUAW/tasks/putOrders.bat
Normal file
@@ -0,0 +1 @@
|
||||
call ..\..\..\utils\putOrders\putOrders.bat
|
||||
BIN
CUST/QUAW/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
8
CUST/QUAW/xsl/cust.xsl
Normal 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>
|
||||
4
CUST/RTWE/Tasks/gen_notify.bat
Normal 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
|
||||
4
CUST/RTWE/Tasks/gen_scheduler.bat
Normal 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
|
||||
3
CUST/RTWE/Tasks/putOrders.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
..\..\..\utils\putOrders\putOrders.bat
|
||||
|
||||
|
||||
11
CUST/RTWE/cust.css
Normal 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
|
After Width: | Height: | Size: 16 KiB |
BIN
CUST/RTWE/oracle.udl
Normal file
BIN
CUST/RTWE/tmpl_logo.gif
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
402
CUST/RTWE/xsl/cust.xsl
Normal 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"/> <xsl:value-of select="beheerder/tussenvoegsel"/> <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"/> (<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"/> <xsl:value-of select="beheerder/tussenvoegsel"/> <xsl:value-of select="beheerder/naam"/>,
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<br/>U bent beheerder van contract <xsl:value-of select="nummer_intern"/> (<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>
|
||||
 <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"/> 
|
||||
<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!=''"> 
|
||||
- <xsl:value-of select="bedrijf/bezoek_plaats"/></xsl:if>
|
||||
<xsl:if test="bedrijf/leverancier_nr!=''"> 
|
||||
(<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"/> 
|
||||
<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
14
CUST/SORO/Import/AFASOnline.bat
Normal 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
|
||||
130
CUST/SORO/Import/AFASOnline.js
Normal 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);
|
||||
}
|
||||
|
||||
20
CUST/SORO/Import/AFASOnline.xsl
Normal 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>
|
||||
16
CUST/SORO/xsl/AFAS2FCLT.xsl
Normal 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"; </xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -45,7 +45,7 @@
|
||||
<xsl:attribute name="addressID"><xsl:value-of select='bedrijf/overeenkomst_nr'/></xsl:attribute>
|
||||
<Name xml:lang="NL">(<xsl:value-of select="afleveradres/naam"/>)</Name>
|
||||
<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"/> </xsl:if><xsl:value-of select="bestelling/voor/naam"/></DeliverTo>
|
||||
<DeliverTo><xsl:value-of select="bestelling/plaats"/></DeliverTo>
|
||||
<Street><xsl:value-of select="afleveradres/bezoek_adres"/></Street>
|
||||
<City><xsl:value-of select="afleveradres/bezoek_plaats"/></City>
|
||||
@@ -72,7 +72,7 @@
|
||||
</BillTo>
|
||||
<Contact>
|
||||
<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"/> </xsl:if><xsl:value-of select="bestelling/voor/naam"/>
|
||||
</Name>
|
||||
<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.
|
||||
<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>
|
||||
-->
|
||||
@@ -271,19 +271,44 @@ Voor eventuele vragen of opmerkingen graag een mail naar <a href="mailto:inkoop@
|
||||
<xsl:variable name="prefix">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$lev5!=''">
|
||||
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/parent/parent/naam < 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 test="$lev4!=''">
|
||||
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/parent/naam < 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 test="$lev3!=''">
|
||||
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/parent/naam < 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 test="$lev2!=''">
|
||||
<xsl:choose><xsl:when test="bestelling/voor/afdeling/parent/naam < 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 test="$lev1!=''">
|
||||
<xsl:choose><xsl:when test="bestelling/voor/afdeling/naam < 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:otherwise>999</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -669,19 +694,44 @@ Voor eventuele vragen of opmerkingen graag een mail naar <a href="mailto:inkoop@
|
||||
<xsl:variable name="prefix">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$lev5!=''">
|
||||
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/parent/parent/naam < 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 test="$lev4!=''">
|
||||
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/parent/naam < 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 test="$lev3!=''">
|
||||
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/parent/naam < 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 test="$lev2!=''">
|
||||
<xsl:choose><xsl:when test="melding/voor/afdeling/parent/naam < 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 test="$lev1!=''">
|
||||
<xsl:choose><xsl:when test="melding/voor/afdeling/naam < 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:otherwise>999</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
11
CUST/VGLD/xsl/fin_factuur_od.xsl
Normal 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"/>; </xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
BIN
CUST/WEHK/Oracle.udl
Normal file
@@ -32,7 +32,11 @@
|
||||
</To>
|
||||
<Sender>
|
||||
<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>
|
||||
<UserAgent/>
|
||||
</Sender>
|
||||
@@ -124,3 +128,8 @@
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
|
||||
<metaInformation>
|
||||
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\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>
|
||||
-->
|
||||
@@ -1,4 +1,4 @@
|
||||
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
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
<xsl:variable name="logo_file">../../cust/aaxx/aafm_banner.gif</xsl:variable>
|
||||
|
||||
<xsl:template name="customer">Zorgcombinatie Noorderboog </xsl:template>
|
||||
<xsl:template name="customer_code">ZCN</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="customer">ISALA Diaconessenhuis </xsl:template>
|
||||
<xsl:template name="customer_code">ISALA</xsl:template>
|
||||
<xsl:template name="customer_email">servicedeskisala-diac@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="opdracht_qr_bookmark">xfYlCbvfAzdUDHhj</xsl:template>
|
||||
|
||||
|
||||