You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
848 lines
50 KiB
848 lines
50 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<xsl:stylesheet version="2.0" |
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
xmlns:memtext="http://www.memtext.de/namespace" |
|
xmlns:saxon="http://saxon.sf.net/" |
|
xmlns:dyn="http://xalan.apache.org/" |
|
xmlns:fo="http://www.w3.org/1999/XSL/Format" |
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
|
|
|
<!--Definition der globalen Variablen--> |
|
<!--einfaches Anführungszeichen wird zum ersetzen benötigt--> |
|
<xsl:variable name="apos">'</xsl:variable> |
|
<!--Datum des Kontostandes wird in der Abfrage unter Ebene 101 geliefert--> |
|
<xsl:variable name="kontostand" select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level'][wert='101']]/col[f_name='kommentar']/substring(wert,1,13) "> |
|
</xsl:variable> |
|
|
|
<!--europaeisches Zahlenformat--> |
|
<xsl:decimal-format decimal-separator="," grouping-separator="." name="german" NaN="" zero-digit="0"/> |
|
|
|
<!--Beginn der Haupttemplate--> |
|
<xsl:template match="/"> |
|
|
|
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
|
|
|
<!--Definition des Seitenlayouts, kann beliebig oft verwendet werden--> |
|
<fo:layout-master-set> |
|
<fo:simple-page-master master-name="A4" |
|
page-height="21cm" page-width="29.7cm" |
|
margin-top="1.5cm" |
|
margin-bottom="0.5cm" |
|
margin-left="2cm" |
|
padding-right="2cm"> |
|
<fo:region-body margin-bottom="1.1cm" margin-top="2cm"/> |
|
<fo:region-before extent="3.0cm"/> |
|
<fo:region-after extent="1cm"/> |
|
|
|
</fo:simple-page-master> |
|
</fo:layout-master-set> |
|
|
|
<!--wenn ein Fehler enstanden ist, wird dieser als Ebene -999 geliefert und ausgegeben--> |
|
<xsl:choose> |
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row/col[f_name='level']/wert='-999'"> |
|
<fo:page-sequence master-reference="A4"> |
|
<fo:flow flow-name="xsl-region-body"> |
|
<fo:block font-size="12pt" font-family="sans-serif"><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row/col[f_name='kommentar']/wert"/> |
|
</fo:block> |
|
</fo:flow> |
|
</fo:page-sequence> |
|
</xsl:when> |
|
|
|
<xsl:otherwise> |
|
|
|
<!--wenn kein Fehler in der Abfrage, beginnt hier die Schleife über alle ausgewaehlten BAs--> |
|
<!--Schleife ueber alle BAs--> |
|
<xsl:for-each-group select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert='1']/col[f_name='buchungsab_fb']" group-by="wert"> |
|
<xsl:sort select="wert"/> |
|
|
|
<fo:page-sequence master-reference="A4" initial-page-number="1"> |
|
<!-- Kopfzeile, wird auf jeder Seite wiederholt |
|
da wir in der Schleife sind, muss immer vom Wurzelknoten ausgegangen werden! also /ergebnisse --> |
|
<fo:static-content flow-name="xsl-region-before"> |
|
|
|
<fo:block> |
|
<!--erste Zeile der Kopfzeile--> |
|
<fo:table border="none"> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="3.0cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="1.0cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="1.5cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
|
|
<fo:table-body> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="12pt" font-family="sans-serif" font-weight="bold">Hül nach Inst/Proj</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">Zeitraum von:</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"> |
|
<!--Datum, aber ohne die einfachen Anfuehrungszeichen--> |
|
<xsl:value-of select="substring-before(substring(/ergebnisse/ergebnis/felder/feld[@varname='Datum (von)']/value,2),$apos)" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">bis</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><xsl:value-of select="substring-before(substring(/ergebnisse/ergebnis/felder/feld[@varname='Datum (bis)']/value,2),$apos)" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" >Datum:</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" ><xsl:value-of select="/ergebnisse/@datum"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" ><!--Zeit:--></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" ><!--<xsl:value-of select="/ergebnisse/@zeit"/>--></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" >Seite <fo:page-number/><!--aus performance Gruenden wieder entfernt--><!-- von <fo:page-number-citation ref-id="letzteSeite"/>--></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
<!--zweite Zeile der Kopfzeile--> |
|
<fo:block> |
|
<fo:table> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="9.0cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
<fo:table-column column-width="8.0cm"/> |
|
<fo:table-body> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold">Haushaltsjahr:</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><xsl:value-of select="substring(substring-after(substring-after(/ergebnisse/ergebnis/felder/feld[@varname='Datum (von)']/value,'.'),'.'),1,4)" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"><!--Institution:--></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold"> |
|
<!-- <xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level'][wert='99']][col[f_name='buchungsab_fb']/wert=current-grouping-key()]/col[f_name='kommentar']/substring(wert,13) "/>--> |
|
<!--<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Kostenstelle']/value_caption" />--></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
<!--dritte Zeile der Kopfzeile--> |
|
<fo:block> |
|
<fo:table> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="9.0cm"/> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="8.0cm"/> |
|
<fo:table-body> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm">FB/Projekt:</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><!--<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Buchungsab_fb']/value_caption" />--><xsl:value-of select="current-grouping-key()"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><!--Projektleiter:--></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"> |
|
<!--<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level'][wert='100']][col[f_name='buchungsab_fb']/wert=current-grouping-key()]/col[f_name='kommentar']/substring(wert, 15)"/>--> |
|
</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
|
|
<fo:block> |
|
<fo:leader leader-length="92%" rule-thickness="0.5pt" leader-pattern="rule"/> |
|
</fo:block> |
|
|
|
</fo:static-content> |
|
|
|
<!--Anmerkungen als Fusszeile--> |
|
<!--<fo:static-content flow-name="xsl-region-after"> |
|
<fo:block font-size="8pt" font-family="sans-serif" padding-before="0.5cm"> |
|
* |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='HÜL-Nr']/value_caption!='' or /ergebnisse/ergebnis/felder/feld[@varname='Auswert-KZ']/value_caption!=''"> |
|
Es werden nur Buchungen |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='HÜL-Nr']/value_caption!=''"> |
|
mit der HÜL-Nr. |
|
<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='HÜL-Nr']/value_caption"/> |
|
und |
|
</xsl:if> |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Auswert-KZ']/value_caption!=''"> |
|
mit dem Auswertungskennzeichen |
|
<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Auswert-KZ']/value_caption"/> |
|
</xsl:if> |
|
angezeigt. |
|
</xsl:if> |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Betrag (von)']/value!='' or /ergebnisse/ergebnis/felder/feld[@varname='Betrag (bis)']!=''"> |
|
Es werden nur Buchungen mit Beträgen |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Betrag (von)']/value!=''"> |
|
ab |
|
<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Betrag (von)']/value_caption"/> |
|
</xsl:if> |
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Betrag (bis)']/value!=''"> |
|
bis |
|
<xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Betrag (bis)']/value_caption"/> |
|
</xsl:if> Euro angezeigt. |
|
</xsl:if> |
|
</fo:block> |
|
</fo:static-content> |
|
--> |
|
<!--Aufruf der Template Deckungsring, geschieht also fuer jeden BA. der BA wird als Parameter uebergeben--> |
|
<fo:flow flow-name="xsl-region-body"> |
|
<xsl:call-template name="deckungsring"> |
|
<xsl:with-param name="ba" select="current-grouping-key()"/> |
|
</xsl:call-template> |
|
</fo:flow> |
|
|
|
</fo:page-sequence> |
|
|
|
</xsl:for-each-group> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:root> |
|
</xsl:template> |
|
<!--Ende der Haupttemplate--> |
|
|
|
<!--Template Deckungsring, empfaengt Parameter ba--> |
|
<xsl:template name="deckungsring"> |
|
<xsl:param name="ba"/> |
|
|
|
<!-- Schleife über alle DRs, die zu dem aktuellen BA gehören --> |
|
<xsl:for-each-group select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert='1'][col[f_name='buchungsab_fb']/wert=$ba]/col[f_name='dr']" group-by="wert"> |
|
<xsl:sort select="wert"/> |
|
<xsl:if test="current-grouping-key()!='-'"> |
|
<!--Übersicht Ebene 1--> |
|
<!--wieder muss von der Wurzel begonnen werden. die Werte müssen zum BA und zum DR gehören--> |
|
<fo:block padding-before="0.5cm"> |
|
<fo:table border="0.5pt solid"> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="3.0cm"/> |
|
<fo:table-column column-width="3.5cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="3.5cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
|
|
<fo:table-body> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" margin-left="0.2cm">Kontostand vom</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" > |
|
<xsl:copy-of select="$kontostand" /> |
|
</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Ansatz</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='hhans']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='hhans']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Vorj.Rest</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='vorjahrrest']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='vorjahrrest']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Kapitel</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><!--kann direkt aus dem Feld geholt werden--><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Kapitel']/value" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Rest</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='rest']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='rest']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" >Angeordnet(E)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" text-align="right" font-family="sans-serif" padding-before="0.1cm" margin-right="1.0cm" ><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='angeordnet_e']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='angeordnet_e']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Titelgruppe</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><!--aktueller DR--><xsl:value-of select="current-grouping-key()"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sperre</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sperre']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sperre']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Off.Sollst(E)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='offsolle']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='offsolle']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sonst.Zuweisg</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sonst_zuwei']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='sonst_zuwei']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Angeordnet(A)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='angeordnet_a']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='angeordnet_a']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Aktuell.Soll</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='aktsoll']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='aktsoll']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Off.Sollst(A)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='offsolla']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='offsolla']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
|
|
</fo:table-row> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.2cm">Verfüg. (g.A.)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='verfuegbar']/wert!=''"><xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='verfuegbar']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
|
|
</fo:table-row> |
|
<!-- neu 2017/08 verfügbar g. geldeingang--> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" margin-left="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.2cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-after="0.2cm">Verfüg. (g.G)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"> |
|
<xsl:choose> |
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='verfuegbar_g']/wert!=''"> |
|
<xsl:value-of select="format-number(/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=1][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='verfuegbar_g']/wert,'#.###.##0,00','german')"/> |
|
</xsl:when> |
|
</xsl:choose> |
|
</fo:block> |
|
</fo:table-cell> |
|
<!-- bis hier--> |
|
</fo:table-row> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
</xsl:if> |
|
<!-- <fo:block break-before="page"></fo:block>--> |
|
|
|
<!--Übersicht Ebene 2--> |
|
<!--Schleife über alle Titel/Ut die zum Paar BA/DR passen. Wir sind hier schon immer an der richtigen Stelle im Baum, also kann vom aktuellen Titel aus navigiert werden--> |
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=2][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()]/col[f_name='tit_ut']/wert"> |
|
<fo:block break-before="page"> |
|
<fo:block padding-before="0.5cm"> |
|
<fo:table border="0.5pt solid"> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="3.0cm"/> |
|
<fo:table-column column-width="3.5cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
<fo:table-column column-width="4.0cm"/> |
|
<fo:table-column column-width="2.5cm"/> |
|
<fo:table-column column-width="3.5cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
|
|
<fo:table-body> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" margin-left="0.2cm">Kontostand vom</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.2cm" ><xsl:copy-of select="$kontostand" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Ansatz</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm" ><xsl:if test="../../col[f_name='hhans']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='hhans']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) != '1' and substring(current(),1,1) != '2' and substring(current(),1,1) != '3'"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Vorj.Rest</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='vorjahrrest']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='vorjahrrest']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Angeordnet(E)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='angeordnet_e']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='angeordnet_e']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:table-row> |
|
<fo:table-row keep-with-previous="always"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Kapitel</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Kapitel']/value" /></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Sperre</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='sperre']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='sperre']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<!--Einnahme oder Ausgabe-Titel?--> |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) != '1' and substring(current(),1,1) != '2' and substring(current(),1,1) != '3'"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Angeordnet(A)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='angeordnet_a']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='angeordnet_a']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" >Off.Sollst.</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm" > |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) = '1' or substring(current(),1,1) = '2' or substring(current(),1,1) = '3'"> |
|
<xsl:if test="../../col[f_name='offsolle']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='offsolle']/wert,'#.###.##0,00','german')"/></xsl:if> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:if test="../../col[f_name='offsolla']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='offsolla']/wert,'#.###.##0,00','german')"/></xsl:if> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:block> |
|
</fo:table-cell> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:table-row> |
|
<fo:table-row keep-with-previous="always"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" margin-left="0.2cm">Titel</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="../../col[f_name='titel']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Aktuell.Soll</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='aktsoll']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='aktsoll']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) != '1' and substring(current(),1,1) != '2' and substring(current(),1,1) != '3'"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" >Off.Sollst.</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm" > |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) = '1' or substring(current(),1,1) = '2' or substring(current(),1,1) = '3'"> |
|
<xsl:if test="../../col[f_name='offsolle']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='offsolle']/wert,'#.###.##0,00','german')"/></xsl:if> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:if test="../../col[f_name='offsolla']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='offsolla']/wert,'#.###.##0,00','german')"/></xsl:if> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:block> |
|
</fo:table-cell> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Verfüg. (g.A.)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='verfuegbar']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='verfuegbar']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:table-row> |
|
<fo:table-row keep-with-previous="always"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm" padding-after="0.2cm" margin-left="0.2cm">Ut</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" font-weight="bold" padding-before="0.1cm"><xsl:value-of select="../../col[f_name='zweckbestimmung_ut']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<!-- Reste werden nur für Ausgabetitel angegeben, da in der normalen Darstellung für Drittmitteleinnahmetitel statt reste vojs ausgegeben wird--> |
|
<xsl:choose> |
|
<xsl:when test="substring(current(),1,1) != '1' and substring(current(),1,1) != '2' and substring(current(),1,1) != '3'"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Rest</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" padding-afer="0.2cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='rest']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='rest']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Verfüg. (g.A.)</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" padding-afer="0.2cm" margin-right="1.0cm"><xsl:if test="../../col[f_name='verfuegbar']/wert!=''"><xsl:value-of select="format-number(../../col[f_name='verfuegbar']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" padding-afer="0.2cm" margin-right="1.0cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.1cm" padding-afer="0.2cm" margin-right="1.0cm"></fo:block> |
|
</fo:table-cell> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</fo:table-row> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
<fo:block padding-before="0.5cm"> |
|
<!--Tabelle Einzelbuchungen--> |
|
<fo:table border="none"> |
|
<fo:table-column column-width="1.0cm"/> |
|
<fo:table-column column-width="1.2cm"/> |
|
<fo:table-column column-width="1.0cm"/> |
|
<fo:table-column column-width="2.0cm"/> |
|
<fo:table-column column-width="5.0cm"/> |
|
<fo:table-column column-width="6.0cm"/> |
|
<fo:table-column column-width="3.0cm"/> |
|
<fo:table-column column-width="1.8cm"/> |
|
<fo:table-column column-width="1.5cm"/> |
|
<fo:table-column column-width="1.0cm"/> |
|
<fo:table-column column-width="3.0cm"/> |
|
<!--jetzt kommen die Ueberschriften fuer die Einzelbuchungen--> |
|
<fo:table-header> |
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Ut</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Ausw-</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >HÜL-</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Zp-Nr</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Empfänger/</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Verwendungszweck/</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Rechnungs-/</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Buch.-D</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Bu.-</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" >Bu.-</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" padding-right="0.2cm" >Buch.-Betrag</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<fo:table-row keep-with-previous="always"> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Kz</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Nr</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Einzahler</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Grund</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Nr</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm"></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Kennz</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm">Schl.</fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.1cm" padding-right="0.2cm">in EUR</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<!--gestrichelte Trennlinie--> |
|
<fo:table-row> |
|
<fo:table-cell number-columns-spanned="11"> |
|
<fo:block padding-after="0.3cm"> |
|
<fo:leader leader-length="96%" rule-thickness="0.2pt" leader-pattern="rule" rule-style="dashed"/> |
|
</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
</fo:table-header> |
|
|
|
<fo:table-body> |
|
<!--wenn es Mittelzuweisungen gibt, werden diese als erstes ausgegeben--> |
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=4][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()][col[f_name='tit_ut']/wert=current()]"> |
|
<fo:table-row> |
|
<fo:table-cell border="none" number-columns-spanned="8"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Mittelzuweisungen</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
|
|
|
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=4][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()][col[f_name='tit_ut']/wert=current()]"> |
|
<!--<xsl:sort select="col[f_name='huelnummer']/wert" data-type="number" />--> |
|
|
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm"><xsl:value-of select="col[f_name='zweckbestimmung_ut']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='auswert_kz']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='huelnummer']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpartnernummer']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpname']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='kommentar']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='r_nr']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="concat(substring(col[f_name='buchungsdatum']/wert,1,6),substring(col[f_name='buchungsdatum']/wert,9,2))"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='buchungskzmbs']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='voa_buchschl']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.2cm" ><xsl:if test="col[f_name='betrag']/wert!=''"><xsl:value-of select="format-number(col[f_name='betrag']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
|
|
</xsl:for-each> |
|
</xsl:if> |
|
<!--jetzt die Einnahmen und Ausgaben--> |
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=3][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()][col[f_name='tit_ut']/wert=current()]"> |
|
<fo:table-row> |
|
<fo:table-cell border="none" number-columns-spanned="8"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm">Einnahmen und Ausgaben</fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row[col[f_name='level']/wert=3][col[f_name='buchungsab_fb']/wert=$ba][col[f_name='dr']/wert=current-grouping-key()][col[f_name='tit_ut']/wert=current()]"> |
|
<!--<xsl:sort select="col[f_name='huelnummer']/wert" data-type="number" />--> |
|
|
|
<fo:table-row> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm"><xsl:value-of select="col[f_name='zweckbestimmung_ut']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='auswert_kz']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='huelnummer']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpartnernummer']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='zpname']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='kommentar']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='r_nr']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="concat(substring(col[f_name='buchungsdatum']/wert,1,6),substring(col[f_name='buchungsdatum']/wert,9,2))"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='buchungskzmbs']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" padding-before="0.2cm" ><xsl:value-of select="col[f_name='voa_buchschl']/wert"/></fo:block> |
|
</fo:table-cell> |
|
<fo:table-cell border="none"> |
|
<fo:block font-size="10pt" font-family="sans-serif" text-align="right" padding-before="0.2cm" margin-right="1.2cm" ><xsl:if test="col[f_name='betrag']/wert!=''"><xsl:value-of select="format-number(col[f_name='betrag']/wert,'#.###.##0,00','german')"/></xsl:if></fo:block> |
|
</fo:table-cell> |
|
</fo:table-row> |
|
|
|
</xsl:for-each> |
|
</xsl:if> |
|
</fo:table-body> |
|
</fo:table> |
|
</fo:block> |
|
<!--<fo:block break-after="page"></fo:block>--> |
|
</fo:block> |
|
</xsl:for-each> |
|
</xsl:for-each-group> |
|
|
|
<!-- <fo:block id="letzteSeite"/>--> |
|
</xsl:template> |
|
<!--Ende Template deckungsring--> |
|
</xsl:stylesheet> |