PCHD#30428 -- Klantspecifieke aanpassingen voor XD-portal

svn path=/Website/branches/v5.4.2/; revision=22764
This commit is contained in:
Arthur Egberink
2014-10-02 14:19:31 +00:00
parent 11175644c9
commit 67bbc7aa13
62 changed files with 506 additions and 416 deletions

View File

@@ -1,422 +1,7 @@
<?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:import href="../../pchx/xsl/default.xsl"/>
<xsl:template match="opdracht" mode="include">
<table border="0" width="100%" cellpadding="2">
<tr>
<td colspan="4" class="caption" style="padding-top:20px;padding-bottom:20px">
<b>
<xsl:choose>
<xsl:when test="opdrachttype/key=5">Opdracht volgens contract</xsl:when>
<xsl:when test="opdrachttype/key=701">Interne opdracht</xsl:when>
<xsl:when test="opdrachttype/key=702">Opdracht</xsl:when>
<xsl:when test="opdrachttype/key=721">Offerte</xsl:when>
</xsl:choose>&#xA0;
<xsl:value-of select="melding/stdmelding/discipline/srtdiscipline/prefix"/>
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/></b>
</td>
</tr>
<tr>
<td width="16%"/>
<td width="34%"/>
<td width="16%" align="right">
<b>
<xsl:value-of select="//lcl/FAC/bedrijf"/>:</b>
</td>
<td width="34%">
<xsl:value-of select="uitvoerende/bedrijf/naam"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/contactpersoon"/>:</b>
</td>
<td>
<xsl:value-of select="contactpersoon/naam_full"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td>
<xsl:value-of select="contactpersoon/telefoon1"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/adres"/>:</b>
</td>
<td>
<xsl:value-of select="uitvoerende/bedrijf/post_adres"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/plaats"/>:</b>
</td>
<td>
<xsl:value-of select="uitvoerende/bedrijf/post_plaats"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/aanvrager"/>:</b>
</td>
<td align="left" width="34%">
<xsl:value-of select="melding/voor/naam_full"/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/voor/afdeling//bedrijf/naam = 'Extern'">088-1861010</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="melding/voor/telefoonnr != ''">
<xsl:value-of select="melding/voor/telefoonnr"/>
</xsl:when>
<xsl:when test="melding/voor/mobiel != ''">
<xsl:if test="melding/voor/telefoonnr != ''">
<br/>
</xsl:if>
<xsl:value-of select="melding/voor/mobiel"/>
</xsl:when>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td align="right" colspan="4">
<i>Graag voor vragen m.b.t. tot de uitvoering van deze opdracht contact opnemen via:</i>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>Emailadres:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/voor/afdeling//bedrijf/naam = 'Extern'">
<a href="mailto:fsb@pch-fm.nl">fsb@pch-fm.nl</a>
</xsl:when>
<xsl:otherwise>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="melding/voor/email"/>
</xsl:attribute>
<xsl:value-of select="melding/voor/email"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td align="right" colspan="4">
<i>Het betreft onze locatie:</i>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/locatie"/>:</b>
</td>
<td align="left">
<xsl:value-of select="melding/plaats/regio/district/locatie/code"/>&#xA0;
<xsl:if test="melding/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="melding/plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/adres"/>&#xA0;
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/postcode"/>&#xA0;&#xA0;
<xsl:value-of select="melding/plaats/regio/district/locatie/plaats"/>
</td>
<td align="right">
<b>Opdrachtdatum:</b>
</td>
<td align="left">
<xsl:value-of select="datumbegin/datum"/>
</td>
</tr>
<tr>
<xsl:choose>
<xsl:when test="plaats/@type='T'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/terrein"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/></td>
</xsl:when>
<xsl:otherwise>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/gebouw"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/><br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1000']"/>
<br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1001']"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1002']"/><br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1003']"/>
</td>
</xsl:otherwise>
</xsl:choose>
<td align="right">
<b>Gewenste uitvoering voor:</b>
</td>
<td align="left">
<xsl:value-of select="einddatum/datum"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
<td colspan="2"/>
</xsl:if>
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
</tr>
<tr>
<xsl:if test="plaats/@type='R'">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/ruimte"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<xsl:if test="plaats/@type!='R'">
<td colspan="2"/>
</xsl:if>
<td colspan="2"/>
</tr>
<tr>
<td align="right">
<b>Contactpersoon op de locatie:</b>
</td>
<td align="left">
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/naam_full"/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr != ''">
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr"/>
</xsl:when>
<xsl:when test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/mobiel != ''">
<xsl:if test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr != ''">
<br/>
</xsl:if>
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/mobiel"/>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td colspan="4" height="30px" valign="center">
<hr/>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/stdmelding"/>:</b>
</td>
<td align="left">
<xsl:if test="melding/stdmelding/omschrijving=''">-</xsl:if>
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/vakgroep"/>:</b>
</td>
<td align="left">
<xsl:if test="melding/discipline/omschrijving=''">-</xsl:if>
<xsl:value-of select="melding/discipline/omschrijving"/>
</td>
</tr>
<tr>
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/omschrijving"/>:</b>
</td>
<td align="left" colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
<xsl:if test="opdrachttype/key != 721">
<tr>
<td colspan="4" align="left">
<br/>Graag zien wij een bevestiging van de opdracht tegemoet en vernemen wij de uitvoerdatum van de werkzaamheden.</td>
</tr>
</xsl:if>
<xsl:if test="opdrachttype/kosten = '1'">
<tr>
<td colspan="4" height="30px" valign="center">
<hr/>
</td>
</tr>
<xsl:variable name="uurloon">
<xsl:choose>
<xsl:when test="uurloon">
<xsl:value-of select="uurloon"/>
</xsl:when>
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="arbeid" select="uren*$uurloon"/>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/uren"/>:</b>
</td>
<td>
<xsl:value-of select="format-number(uren, '0,00', 'european')"/>
<b>&#xA0;à&#xA0;</b>&#x20AC;&#xA0;<xsl:value-of select="format-number($uurloon, '0,00', 'european')"/></td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/arbeid"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number($arbeid, '0,00', 'european')"/></td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/materiaal"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number(materiaal, '0,00', 'european')"/></td>
</tr>
<xsl:variable name="correctie0" select="$arbeid + materiaal"/>
<xsl:variable name="correctie" select="kosten - $correctie0"/>
<xsl:if test="$correctie!=0">
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/correctie"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number($correctie, '0,00', 'european')"/></td>
</tr>
</xsl:if>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/totaal"/>
<xsl:if test="kenmerk[@key=41] = 'Ja'">&#xA0;(indicatief)</xsl:if>:</b>
</td>
<td style="width:1in;text-align:right">
<b>&#x20AC;&#xA0;<xsl:value-of select="format-number(kosten, '0,00', 'european')"/></b>
</td>
</tr>
<tr>
<td colspan="4" align="left">
<xsl:if test="kenmerk[@key=41] = 'Ja'">
<br/>Het bovenstaande bedrag is indicatief. Indien het bedrag hoger wordt, dient eerst contact opgenomen te worden met het Facilitair Service Bureau.<br/></xsl:if>
<br/>De factuur dient (inclusief werkbon en kopie opdrachtbevestiging) onder vermelding van
opdrachtnummer <xsl:value-of select="melding/stdmelding/discipline/srtdiscipline/prefix"/>
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/> gezonden te
worden naar:<br/><br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1060]"/>
<br/>Postbus 4358<br/>
7320&#xA0;AJ&#xA0;&#xA0;Apeldoorn<br/>
<br/>Facturen zonder referentie, kopie zullen worden geretourneerd. De factuur <b>uiterlijk 3 weken na oplevering</b> toezenden.</td>
</tr>
</xsl:if>
<tr>
<td colspan="4" height="30px" valign="center">
</td>
</tr>
<xsl:if test="opdrachttype/key = 5 or opdrachttype/key = 702">
</xsl:if>
</table>
</xsl:template>
<xsl:template match="melding" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:call-template name="pageheader"/>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'MLDKTO'">
<xsl:apply-templates select="." mode="kto"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="include"/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="opdracht" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ OPDRACHTEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for opdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

BIN
CUST/PCHH/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

View File

0
CUST/PCHH/flexfiles/.gitignore vendored Normal file
View File

View File

@@ -0,0 +1,6 @@
REM Import van factuurbestandsnamen naar FACILITOR
move d:\Apps\Facilitor\Webdav\Pchd\*.csv .
cscript ..\..\..\utils\gen_import\gen_import.wsf PCHD FACTUUR >>genimport.log 2>>&1

0
CUST/PCHH/photos/.gitignore vendored Normal file
View File

View File

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

View File

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

View File

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

BIN
CUST/PCHH/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

7
CUST/PCHH/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,7 @@
<?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:import href="../../pchx/xsl/default.xsl"/>
</xsl:stylesheet>

BIN
CUST/PCHP/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

View File

0
CUST/PCHP/flexfiles/.gitignore vendored Normal file
View File

View File

@@ -0,0 +1,6 @@
REM Import van factuurbestandsnamen naar FACILITOR
move d:\Apps\Facilitor\Webdav\Pchd\*.csv .
cscript ..\..\..\utils\gen_import\gen_import.wsf PCHD FACTUUR >>genimport.log 2>>&1

0
CUST/PCHP/photos/.gitignore vendored Normal file
View File

View File

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

View File

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

View File

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

BIN
CUST/PCHP/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

7
CUST/PCHP/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,7 @@
<?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:import href="../../pchx/xsl/default.xsl"/>
</xsl:stylesheet>

BIN
CUST/PCHS/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

View File

0
CUST/PCHS/flexfiles/.gitignore vendored Normal file
View File

View File

@@ -0,0 +1,6 @@
REM Import van factuurbestandsnamen naar FACILITOR
move d:\Apps\Facilitor\Webdav\Pchd\*.csv .
cscript ..\..\..\utils\gen_import\gen_import.wsf PCHD FACTUUR >>genimport.log 2>>&1

0
CUST/PCHS/photos/.gitignore vendored Normal file
View File

View File

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

View File

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

View File

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

BIN
CUST/PCHS/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

7
CUST/PCHS/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,7 @@
<?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:import href="../../pchx/xsl/default.xsl"/>
</xsl:stylesheet>

417
CUST/PCHX/xsl/default.xsl Normal file
View File

@@ -0,0 +1,417 @@
<?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:template match="opdracht" mode="include">
<table border="0" width="100%" cellpadding="2">
<tr>
<td colspan="4" class="caption" style="padding-top:20px;padding-bottom:20px">
<b>
<xsl:choose>
<xsl:when test="opdrachttype/key=5">Opdracht volgens contract</xsl:when>
<xsl:when test="opdrachttype/key=701">Interne opdracht</xsl:when>
<xsl:when test="opdrachttype/key=702">Opdracht</xsl:when>
<xsl:when test="opdrachttype/key=721">Offerte</xsl:when>
</xsl:choose>&#xA0;
<xsl:value-of select="//facilitor/header/custId"/>&#xA0;
<xsl:value-of select="melding/stdmelding/discipline/srtdiscipline/prefix"/>
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/></b>
</td>
</tr>
<tr>
<td width="16%"/>
<td width="34%"/>
<td width="16%" align="right">
<b>
<xsl:value-of select="//lcl/FAC/bedrijf"/>:</b>
</td>
<td width="34%">
<xsl:value-of select="uitvoerende/bedrijf/naam"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/contactpersoon"/>:</b>
</td>
<td>
<xsl:value-of select="contactpersoon/naam_full"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td>
<xsl:value-of select="contactpersoon/telefoon1"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/adres"/>:</b>
</td>
<td>
<xsl:value-of select="uitvoerende/bedrijf/post_adres"/>
</td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/plaats"/>:</b>
</td>
<td>
<xsl:value-of select="uitvoerende/bedrijf/post_plaats"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/aanvrager"/>:</b>
</td>
<td align="left" width="34%">
<xsl:value-of select="melding/voor/naam_full"/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/voor/afdeling//bedrijf/naam = 'Extern'">088-1861010</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="melding/voor/telefoonnr != ''">
<xsl:value-of select="melding/voor/telefoonnr"/>
</xsl:when>
<xsl:when test="melding/voor/mobiel != ''">
<xsl:if test="melding/voor/telefoonnr != ''">
<br/>
</xsl:if>
<xsl:value-of select="melding/voor/mobiel"/>
</xsl:when>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td align="right" colspan="4">
<i>Graag voor vragen m.b.t. tot de uitvoering van deze opdracht contact opnemen via:</i>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>Emailadres:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/voor/afdeling//bedrijf/naam = 'Extern'">
<a href="mailto:fsb@pch-fm.nl">fsb@pch-fm.nl</a>
</xsl:when>
<xsl:otherwise>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="melding/voor/email"/>
</xsl:attribute>
<xsl:value-of select="melding/voor/email"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td align="right" colspan="4">
<i>Het betreft onze locatie:</i>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/locatie"/>:</b>
</td>
<td align="left">
<xsl:value-of select="melding/plaats/regio/district/locatie/code"/>&#xA0;
<xsl:if test="melding/plaats/regio/district/locatie/omschrijving!=''">(<xsl:value-of select="melding/plaats/regio/district/locatie/omschrijving"/>)</xsl:if>
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/adres"/>&#xA0;
<br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/postcode"/>&#xA0;&#xA0;
<xsl:value-of select="melding/plaats/regio/district/locatie/plaats"/>
</td>
<td align="right">
<b>Opdrachtdatum:</b>
</td>
<td align="left">
<xsl:value-of select="datumbegin/datum"/>
</td>
</tr>
<tr>
<xsl:choose>
<xsl:when test="plaats/@type='T'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/terrein"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/terrein/code"/>-<xsl:value-of select="plaats/regio/district/locatie/terrein/naam"/></td>
</xsl:when>
<xsl:otherwise>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/gebouw"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/code"/>-<xsl:value-of select="plaats/regio/district/locatie/gebouw/naam"/><br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1000']"/>
<br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1001']"/>&#xA0;&#xA0;<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1002']"/><br/>
<xsl:value-of select="plaats/regio/district/locatie/gebouw/kenmerk[@key='1003']"/>
</td>
</xsl:otherwise>
</xsl:choose>
<td align="right">
<b>Gewenste uitvoering voor:</b>
</td>
<td align="left">
<xsl:value-of select="einddatum/datum"/>
</td>
</tr>
<tr>
<xsl:if test="plaats/@type='T' or plaats/@type='G'">
<td colspan="2"/>
</xsl:if>
<xsl:if test="plaats/@type!='T' and plaats/@type!='G'">
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/bouwlaag"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/code"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
</tr>
<tr>
<xsl:if test="plaats/@type='R'">
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/ruimte"/>:</b>
</td>
<td align="left">
<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/nr"/>&#xA0;
<xsl:if test="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving!=''">(<xsl:value-of select="plaats/regio/district/locatie/gebouw/verdieping/ruimte/omschrijving"/>)</xsl:if>
</td>
</xsl:if>
<xsl:if test="plaats/@type!='R'">
<td colspan="2"/>
</xsl:if>
<td colspan="2"/>
</tr>
<tr>
<td align="right">
<b>Contactpersoon op de locatie:</b>
</td>
<td align="left">
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/naam_full"/>
</td>
</tr>
<tr>
<td align="right" width="16%">
<b>
<xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td align="left" width="34%">
<xsl:choose>
<xsl:when test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr != ''">
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr"/>
</xsl:when>
<xsl:when test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/mobiel != ''">
<xsl:if test="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/telefoonnr != ''">
<br/>
</xsl:if>
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1000]/perslid/mobiel"/>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td colspan="4" height="30px" valign="center">
<hr/>
</td>
</tr>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/stdmelding"/>:</b>
</td>
<td align="left">
<xsl:if test="melding/stdmelding/omschrijving=''">-</xsl:if>
<xsl:value-of select="melding/stdmelding/omschrijving"/>
</td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/vakgroep"/>:</b>
</td>
<td align="left">
<xsl:if test="melding/discipline/omschrijving=''">-</xsl:if>
<xsl:value-of select="melding/discipline/omschrijving"/>
</td>
</tr>
<tr>
<td align="right" valign="top">
<b>
<xsl:value-of select="//lcl/FAC/omschrijving"/>:</b>
</td>
<td align="left" colspan="3">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
<xsl:if test="opdrachttype/key != 721">
<tr>
<td colspan="4" align="left">
<br/>Graag zien wij een bevestiging van de opdracht tegemoet en vernemen wij de uitvoerdatum van de werkzaamheden.</td>
</tr>
</xsl:if>
<xsl:if test="opdrachttype/kosten = '1'">
<tr>
<td colspan="4" height="30px" valign="center">
<hr/>
</td>
</tr>
<xsl:variable name="uurloon">
<xsl:choose>
<xsl:when test="uurloon">
<xsl:value-of select="uurloon"/>
</xsl:when>
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="arbeid" select="uren*$uurloon"/>
<tr>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/uren"/>:</b>
</td>
<td>
<xsl:value-of select="format-number(uren, '0,00', 'european')"/>
<b>&#xA0;à&#xA0;</b>&#x20AC;&#xA0;<xsl:value-of select="format-number($uurloon, '0,00', 'european')"/></td>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/arbeid"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number($arbeid, '0,00', 'european')"/></td>
</tr>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/materiaal"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number(materiaal, '0,00', 'european')"/></td>
</tr>
<xsl:variable name="correctie0" select="$arbeid + materiaal"/>
<xsl:variable name="correctie" select="kosten - $correctie0"/>
<xsl:if test="$correctie!=0">
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/MLD/correctie"/>:</b>
</td>
<td style="width:1in;text-align:right">&#x20AC;&#xA0;<xsl:value-of select="format-number($correctie, '0,00', 'european')"/></td>
</tr>
</xsl:if>
<tr>
<td colspan="2"/>
<td align="right">
<b>
<xsl:value-of select="//lcl/FAC/totaal"/>
<xsl:if test="kenmerk[@key=41] = 'Ja'">&#xA0;(indicatief)</xsl:if>:</b>
</td>
<td style="width:1in;text-align:right">
<b>&#x20AC;&#xA0;<xsl:value-of select="format-number(kosten, '0,00', 'european')"/></b>
</td>
</tr>
<tr>
<td colspan="4" align="left">
<xsl:if test="kenmerk[@key=41] = 'Ja'">
<br/>Het bovenstaande bedrag is indicatief. Indien het bedrag hoger wordt, dient eerst contact opgenomen te worden met het Facilitair Service Bureau.<br/></xsl:if>
<br/>De factuur dient (inclusief werkbon en kopie opdrachtbevestiging) onder vermelding van
opdrachtnummer <xsl:value-of select="//facilitor/header/custId"/>&#xA0;<xsl:value-of select="melding/stdmelding/discipline/srtdiscipline/prefix"/>
<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/> gezonden te
worden naar:<br/><br/>
<xsl:value-of select="melding/plaats/regio/district/locatie/kenmerk[@key=1060]"/>
<br/>Postbus 4358<br/>
7320&#xA0;AJ&#xA0;&#xA0;Apeldoorn<br/>
<br/>Facturen zonder referentie, kopie zullen worden geretourneerd. De factuur <b>uiterlijk 3 weken na oplevering</b> toezenden.</td>
</tr>
</xsl:if>
<tr>
<td colspan="4" height="30px" valign="center">
</td>
</tr>
<xsl:if test="opdrachttype/key = 5 or opdrachttype/key = 702">
</xsl:if>
</table>
</xsl:template>
<xsl:template match="melding" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:call-template name="pageheader"/>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'MLDKTO'">
<xsl:apply-templates select="." mode="kto"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="include"/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="opdracht" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ OPDRACHTEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for opdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

BIN
CUST/PCHY/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

View File

0
CUST/PCHY/flexfiles/.gitignore vendored Normal file
View File

View File

@@ -0,0 +1,6 @@
REM Import van factuurbestandsnamen naar FACILITOR
move d:\Apps\Facilitor\Webdav\Pchd\*.csv .
cscript ..\..\..\utils\gen_import\gen_import.wsf PCHD FACTUUR >>genimport.log 2>>&1

0
CUST/PCHY/photos/.gitignore vendored Normal file
View File

View File

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

View File

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

View File

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

BIN
CUST/PCHY/tmpl_logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

7
CUST/PCHY/xsl/cust.xsl Normal file
View File

@@ -0,0 +1,7 @@
<?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:import href="../../pchx/xsl/default.xsl"/>
</xsl:stylesheet>