AASA#57190 -- Bestelaanvraag voor fiattering nieuwe opzet inclusief door-klik-link

svn path=/Website/branches/v2019.1/; revision=41993
This commit is contained in:
Jos Migo
2019-04-08 09:56:49 +00:00
parent 84824feab8
commit 2ce711d7ef

View File

@@ -0,0 +1,214 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="./aasa.xsl"/>
<xsl:import href="../../aaxx/xsl/default.xsl"/>
<!--<xsl:import href="../../../appl/shared/default.xsl"/> -->
<xsl:import href="./cust_settings.xsl"/>
<xsl:import href="../../aaxx/xsl/tmp_default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="XXXsrtnotificatiecode">BESAP1</xsl:variable>
<!-- # # # Mutaties hier noteren; Datum, aangepast door, summary # # #
5-4-2019 J. Migo - ticket 57190 - bestelaanvraag inclusief voor fiatteur met door-klik-link - GEREED
! -->
<xsl:template name="stylesheet">
<style>body {
font-family: Verdana;
background-color: rgb(255, 255, 255);
margin-left:0;
margin-top:8px;
cursor: auto;
}
table {
border: 0;
}
table.details {
background-color: "#006eab";
}
th {
font-family: Verdana;
font-size: 9pt;
font-weight: normal;
color: #ffffff;
text-decoration: none;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
padding-bottom: 3px;
background-color: #006eab;
}
td {
font-family: Verdana;
font-style: normal;
font-size: 8pt;
font-weight: normal;
color: #000000;
text-align: left;
vertical-align: top;
}
td.result {
text-decoration: none;
padding-bottom: 2px;
padding-top: 2px;
padding-left: 2px;
padding-right: 2px;
background-color: #D6D8E8;
}
td.sec_heading {
font-size: 9pt;
text-decoration: none;
padding-bottom: 2px;
padding-top: 2px;
padding-left: 2px;
padding-right: 2px;
text-align: left;
background-color: #d0d0d0;
}
td.caption {
font-size: 18pt;
padding-bottom: 30px;
padding-top: 40px;
}
td.subcaption {
font-size: 10pt;
font-weight: bold;
text-decoration: underline;
}
td.label {
font-size: 10pt;
}
td.value {
font-style: italic;
font-size: 10pt;
}
td.tekst {
font-size: 10pt;
}
td.adres {
font-size: 8pt;
text-align: right;
}
td.tekstkop {
font-weight: bold;
font-size: 10pt;
}
td.tiny {
font-size: 6pt;
text-align: right;
}
span.tekstkop {
font-weight: bold;
font-size: 9pt;
}
span.tekstkopsmall {
font-weight: bold;
font-size: 8pt;
}</style>
</xsl:template>
<xsl:template match="bestelling" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>============================== BESTELAANVRAGEN SABIC =============================</xsl:comment>
<xsl:comment>template voor SABIC inclusief fiatterings-deel. </xsl:comment>
<xsl:comment>voor bestelling-opzet valt het terug op default bestelling uit AAXX.</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:variable name="customer_code">
<xsl:call-template name="customer_code"/>
</xsl:variable>
<xsl:variable name="customer">
<xsl:call-template name="customer"/>
</xsl:variable>
<xsl:if test="$srtnotificatiecode='BESAP1'">
<p>
Beste Budgethouder, <br/>
Er staat een bestelaanvraag voor u klaar om te fiatteren. Klik op onderstaande link om direct naar de bestelling te gaan.
</p>
<p>
<xsl:element name="a">
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>?
<xsl:value-of select="../bookmarks/bestelling"/><xsl:value-of select="key"/>&amp;sso=SABIC
</xsl:attribute>
<xsl:value-of select="concat($customer_code,' bestelaanvraag ', '/', key)"/>
</xsl:element>
</p>
</xsl:if>
<p>
<xsl:call-template name="pageheader_aaxx">
<xsl:with-param name="opdr_type" select="opdrachttype/omschrijving"/>
<xsl:with-param name="cust_id" select="$customer_code"/>
</xsl:call-template>
</p>
<p>
<xsl:apply-templates select="." mode="include"/>
</p>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios>
<scenario default="yes" name="Bestelling_66" userelativepaths="yes" externalpreview="no" url="..\..\..\TEMP\AASA_files\bestelling66_20190407233330_344.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0"
profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no"
validator="internal" customvalidator="">
<advancedProp name="bSchemaAware" value="true"/>
<advancedProp name="xsltVersion" value="2.0"/>
<advancedProp name="schemaCache" value="||"/>
<advancedProp name="iWhitespace" value="0"/>
<advancedProp name="bWarnings" value="true"/>
<advancedProp name="bXml11" value="false"/>
<advancedProp name="bUseDTD" value="false"/>
<advancedProp name="bXsltOneIsOkay" value="true"/>
<advancedProp name="bTinyTree" value="true"/>
<advancedProp name="bGenerateByteCode" value="true"/>
<advancedProp name="bExtensions" value="true"/>
<advancedProp name="iValidation" value="0"/>
<advancedProp name="iErrorHandling" value="fatal"/>
<advancedProp name="sInitialTemplate" value=""/>
<advancedProp name="sInitialMode" value=""/>
</scenario>
</scenarios>
<MapperMetaTag>
<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
<MapperBlockPosition></MapperBlockPosition>
<TemplateContext></TemplateContext>
<MapperFilter side="source"></MapperFilter>
</MapperMetaTag>
</metaInformation>
-->