|
|
@@ -724,6 +724,7 @@
|
|
|
<xsl:message>#673 navtitle="Powiązania innych niż pracownicy obiektów wejściowych (1e) - grupowanie po źródłach" </xsl:message>
|
|
|
<topichead navtitle="Powiązania innych niż pracownicy obiektów wejściowych (1e) - grupowanie po źródłach">
|
|
|
<xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
<topichead >
|
|
|
<xsl:attribute name="props">mode__ditamap__root</xsl:attribute>
|
|
|
<xsl:choose>
|
|
|
@@ -740,13 +741,13 @@
|
|
|
<xsl:variable name="refpos" select="concat(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/* [ position() = 1]/@fid,'_', position())"/><!-- XX1 -->
|
|
|
<!--<topichead navtitle="{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*/concat(imiona,' ',nazwisko,' ',nip)} powiązań ({ count( current-group())}) ">-->
|
|
|
<!--<topicref href="{$group_name}/{$refpos}.dita">-->
|
|
|
- <xsl:message>#831 ROW current-grouping-key=<xsl:value-of select="current-grouping-key()"/>; count(current_group=<xsl:value-of select="count(current-group())"/>); $group_name = <xsl:value-of select="$group_name"/>;</xsl:message>
|
|
|
+ <xsl:message>#831 ROW $source=<xsl:value-of select="$source"/>; current-grouping-key=<xsl:value-of select="current-grouping-key()"/>; count(current_group=<xsl:value-of select="count(current-group())"/>); $group_name = <xsl:value-of select="$group_name"/>;</xsl:message>
|
|
|
<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA" select=".">
|
|
|
<xsl:sort select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/> <!-- XX1 -->
|
|
|
- <xsl:with-param name="group_name" select="$group_name"/>
|
|
|
+ <xsl:with-param name="group_name" select="concat($group_name,$source)"/>
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
<xsl:with-param name="current-grouping-key" select="current-grouping-key()"/>
|
|
|
- <xsl:with-param name="title" select="'1e_inni_niz_pracownicy'"/>
|
|
|
+ <xsl:with-param name="title" select="concat('1e_inni_niz_pracownicy',$source)"/>
|
|
|
<!--<xsl:with-param name="refpos" select="$refpos"/>-->
|
|
|
</xsl:apply-templates>
|
|
|
<!--</topicref>-->
|
|
|
@@ -762,6 +763,7 @@
|
|
|
<xsl:when test="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/BI_audit_ENERGA_PRACOWNICY">
|
|
|
<topichead navtitle="Powiązania do Podmiotów (nie kontrahentow) - lista odnośników (źródła) (1kh) - grupowanie po źródłach">
|
|
|
<xsl:for-each select="$sources/sources/source">
|
|
|
+ <xsl:variable name="source" select="."/>
|
|
|
<topichead >
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="string-length(.) > 0">
|
|
|
@@ -783,7 +785,7 @@
|
|
|
<xsl:with-param name="group_name" select="$group_name"/>
|
|
|
<xsl:with-param name="current-grouping-key" select="current-grouping-key()"/>
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
- <xsl:with-param name="title" select="'pracownicy'"/>
|
|
|
+ <xsl:with-param name="title" select="concat('pracownicy',$source)"/>
|
|
|
<!--<xsl:with-param name="refpos" select="$refpos"/>-->
|
|
|
</xsl:apply-templates>
|
|
|
<!--</topicref>-->
|
|
|
@@ -838,7 +840,7 @@
|
|
|
<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA" select=".">
|
|
|
<xsl:with-param name="group_name" select="$group_name"/>
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
- <xsl:with-param name="title" select="'_1o_'"/>
|
|
|
+ <xsl:with-param name="title" select="concat('_1o_',$source)"/>
|
|
|
<xsl:with-param name="current-grouping-key" select="current-grouping-key()"/>
|
|
|
</xsl:apply-templates>
|
|
|
<xsl:comment>#386 EOF add lista</xsl:comment>
|
|
|
@@ -846,7 +848,7 @@
|
|
|
<xsl:sort select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/ID"/>
|
|
|
<!--<xsl:with-param name="group_name" select="$group_name"/>-->
|
|
|
<xsl:with-param name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA" select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.pesel"/>
|
|
|
- <xsl:with-param name="title" select="'1o_inne_niz_kontrah'"/>
|
|
|
+ <xsl:with-param name="title" select="concat('1o_inne_niz_kontrah',$source)"/>
|
|
|
</xsl:apply-templates>
|
|
|
</topichead>
|
|
|
</xsl:for-each-group>
|
|
|
@@ -3192,7 +3194,7 @@
|
|
|
<xsl:param name="system_cache__dita:bocian-graph-2-html.read.group" select="'src'"/>
|
|
|
<xsl:variable name="group_name.ref_prac" select="system_cache__appinfo:truncate_special_and_do_uppercase(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1] /concat(imiona,'_',nazwisko,'_',nip))"/>
|
|
|
<xsl:variable name="refpos.ref_prac" select="concat(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/* [ position() = 1]/concat(name(),ID),'_', position())"/>
|
|
|
- <xsl:message>#3405 awaria <xsl:value-of select="@fid"/> ; for $current-grouping-key=<xsl:value-of select="$current-grouping-key"/>; $position = <xsl:value-of select="$position"/>; $title=<xsl:value-of select="$title"/>; </xsl:message>
|
|
|
+ <xsl:message>#3405 awaria <xsl:value-of select="@fid"/> ; for $current-grouping-key=<xsl:value-of select="$current-grouping-key"/>; $position = <xsl:value-of select="$position"/>; $title=<xsl:value-of select="$title"/>; position()="<xsl:value-of select="position()"/>"; row_obj_fisrt/*/@f="<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1]/@fid"/>"; row_obj_last/*/@f="<xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[last()]/*[1]/@fid"/>"; </xsl:message>
|
|
|
|
|
|
<!--<xsl:variable name="group_name_refpos.kon" select="concat(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last() ]/*[ position() = 1]/system_cache__appinfo:truncate_special_and_do_uppercase(concat(ID,Pelna_nazwa_kontrahenta)),'KONTR_DO')"/>-->
|
|
|
<xsl:variable name="group_name_refpos.kon" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last() ]/*[ position() = 1]/system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'KONTR_DO','',position())"/><!-- XX1 sure -->
|