MARX#51794: Factuur/statusbericht response bericht volgens ketenstandaard MessageService
svn path=/Website/branches/v2017.2/; revision=37091
This commit is contained in:
@@ -966,6 +966,167 @@
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<!-- ****************************************************************************************************************** -->
|
||||
<!-- Hier komen de USER-rapportage functies -->
|
||||
<!-- ****************************************************************************************************************** -->
|
||||
|
||||
<xsl:template match="rapport">
|
||||
<xsl:if test="@view = 'mar_v_udr_show_mypremium'">
|
||||
<xsl:variable name="MARXP">MARX</xsl:variable>
|
||||
<xsl:variable name="MARXA">MARX_TEST</xsl:variable>
|
||||
<xsl:variable name="ISPREMIUM"><xsl:value-of select="//facilitor/rapport/rapport_data/data_row/PRS_PERSLID_KEY"/></xsl:variable>
|
||||
<xsl:call-template name="htmlhead"/>
|
||||
<xsl:call-template name="pageheader"/>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="$ISPREMIUM != ''">
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
|
||||
<xsl:for-each select="//facilitor/rapport/rapport_data/data_row">
|
||||
<xsl:sort select="OPDRACHTGEVER_NAAM"/>
|
||||
<xsl:sort select="JAAR" data-type="number"/>
|
||||
<xsl:sort select="KWARTAAL" data-type="number"/>
|
||||
<xsl:if test="position() = 1">
|
||||
|
||||
<tr><td colspan="6" style="text-align:center"><b>ALGEMENE GEGEVENS</b></td></tr>
|
||||
<tr height="25px"/>
|
||||
<tr><td colspan="2" width="40%">Opdrachtnemer:</td> <td colspan="5" style="text-align:left"><xsl:value-of select="OPDRACHTNEMER_NAAM"/></td></tr>
|
||||
<tr><td colspan="2">GLN:</td> <td colspan="5" style="text-align:left"><xsl:value-of select="OPDRACHTNEMER_GLN"/></td></tr>
|
||||
|
||||
<tr><td colspan="6" height="25px" valign="center"><hr style="border-style: dashed;"/></td></tr>
|
||||
|
||||
<tr><td colspan="6" style="text-align:center"><b>AANSLUITGEGEVENS</b></td></tr>
|
||||
<tr height="25px"/>
|
||||
|
||||
|
||||
<tr><th colspan="2" style="text-align:left"><b>Berichttype</b></th>
|
||||
<th colspan="4" style="text-align:left"><b>Endpoint/url</b></th>
|
||||
</tr>
|
||||
<tr height="10px"/>
|
||||
<tr><td colspan="2"><u>Opdrachtbericht</u>:</td> <td colspan="4" style="text-align:left"><xsl:value-of select="PRS_BEDRIJFADRES_URL"/></td></tr>
|
||||
<tr height="25px"/>
|
||||
<tr><td colspan="6"><u>Statusbericht</u>:</td> </tr>
|
||||
<tr><td colspan="2">Standaard SALES005:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=MLD_OPDR_SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=MLD_OPDR_SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 2.4 icm SALES005:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=MLD_OPDR_MS24SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=MLD_OPDR_MS24SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 3.0 icm SALES005:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=MLD_OPDR_MS30SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=MLD_OPDR_MS30SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 3.1 icm SALES005:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=MLD_OPDR_MS31SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=MLD_OPDR_MS31SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr height="25px"/>
|
||||
<tr><td colspan="6"><u>Factuurbericht</u>:</td> </tr>
|
||||
<tr><td colspan="2">Standaard INSBOU003:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">Standaard INSBOU004:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_SIDB4&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_SIDB4&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 2.4 icm INSBOU003 of INSBOU004:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_MS24SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_MS24SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 3.0 icm INSBOU003 of INSBOU004:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_MS30SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_MS30SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">MessageService 3.1 icm INSBOU003 of INSBOU004:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_MS31SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_MS31SIDB&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
<tr><td colspan="2">UBL 2.0 / 2.1:</td> <td colspan="4" style="text-align:left">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//facilitor//header/user = $MARXP">https://marx.mareon.nl/?API=FIN_FACTUUR_UBL&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:when test="//facilitor//header/user = $MARXA">https://marx.mareon-test.nl/?API=FIN_FACTUUR_UBL&APIKEY=<xsl:value-of select="PRS_PERSLID_APIKEY"/></xsl:when>
|
||||
<xsl:otherwise>-</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="position() = 1">
|
||||
<tr><td colspan="6" height="25px" valign="center"><hr style="border-style: dashed;"/></td></tr>
|
||||
<tr><td colspan="6" style="text-align:center"><b>PREMIUM ABONNEMENT</b></td></tr>
|
||||
<tr height="25px"/>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:if test="position() = 1">
|
||||
<tr><th style="text-align:left">Opdrachtgever</th>
|
||||
<th style="text-align:left">GLN</th>
|
||||
<th style="text-align:left">Jaar-kwartaal</th>
|
||||
<th style="text-align:left">Aantal opdrachten</th>
|
||||
<th style="text-align:left">Tarief</th>
|
||||
<th style="text-align:left">Bedrag</th>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
<tr><td><xsl:value-of select="OPDRACHTGEVER_NAAM"/></td>
|
||||
<td><xsl:value-of select="OPDRACHTGEVER_GLN"/></td>
|
||||
<td><xsl:value-of select="JAAR"/>-Q<xsl:value-of select="KWARTAAL"/></td>
|
||||
<td><xsl:value-of select="AANTAL_PREMIUM_OPDR"/></td>
|
||||
<td>€ <xsl:value-of select="format-number(PRS_BEDRIJF_PREMIUM_TARIEF, '0,00', 'european')"/></td>
|
||||
<td>€ <xsl:value-of select="format-number(PREMIUM_BEDRAG, '0,00', 'european')"/></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
<tr><td colspan="6" height="25px" valign="center"><hr style="border-style: dashed;"/></td></tr>
|
||||
|
||||
</table>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
||||
<table border="0" width="100%" cellpadding="2">
|
||||
<tr><td colspan="6" style="text-align:center"><b>INFO OVER MAREON PREMIUM</b></td></tr>
|
||||
<tr><td colspan="6" style="text-align:center"><b><a target="_new" href="https://marx.mareon.nl/cust/MARX/flexfiles/menu/GebruiksvoorwaardenMareon%20sep2017.pdf">Klik hier</a></b></td></tr>
|
||||
|
||||
</table>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
|
||||
|
||||
<xsl:call-template name="pagefooter"/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
Reference in New Issue
Block a user