|
|
@@ -33,6 +33,8 @@
|
|
|
<xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_FAKTURY.data_sprzedazy" select="'data_sprzedazy'"/>
|
|
|
<xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_FAKTURY.Kwota_netto" select="'Kwota_netto'"/>
|
|
|
|
|
|
+ <xsl:param name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person.print" select="'no'"/><!-- 'yes' -->
|
|
|
+
|
|
|
<!-- duze roznice
|
|
|
<Data_zawarcia>29.04.2008</Data_zawarcia>
|
|
|
<Okres_obowiazywania_umowy>Bezterminowa</Okres_obowiazywania_umowy>
|
|
|
@@ -1936,8 +1938,6 @@
|
|
|
</xsl:for-each>
|
|
|
<stentry>Suma</stentry>
|
|
|
</sthead>
|
|
|
-
|
|
|
-
|
|
|
<xsl:for-each select="$Osoba_merytoryczna___nazwisko_i_imie//Osoba_merytoryczna___nazwisko_i_imie ">
|
|
|
<xsl:variable name="Osoba" select="."/>
|
|
|
<strow>
|
|
|
@@ -2158,6 +2158,7 @@
|
|
|
<xsl:variable name="refpos" select="concat($group_name,'_', position())"/>
|
|
|
<xsl:variable name="context" select="."/>
|
|
|
<topicref > <!-- XX7 {system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))} --> <!-- {$group_name}/{$refpos}.dita --> <!-- {system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[position() = last()]/*[1]/local-name(),parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[position() = last()]/*[1]/@fid,$position)}.dita -->
|
|
|
+ <xsl:attribute name="print" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_person.print"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.key.title.context.href(current(),'map',$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keys(.,$title)" copy-namespaces="no"/>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keydef(.,'map',$title)" copy-namespaces="no"/>
|
|
|
@@ -2169,7 +2170,6 @@
|
|
|
<xsl:result-document href="{system_cache__dita:files.key.href.write.topic.title.context(.,$title)}" ><!-- XX7 href="{system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href.write(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,'','',$position))}" --><!-- {$temp}/{$uuid}/{$group_name}/{$refpos}.dita --> <!-- system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(@fid,ancestor::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[1]/local-name(),ancestor::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[1]/@fid,$position) --><!-- {$temp}/{$uuid}/{$group_name}/{$refpos}.dita XXS -->
|
|
|
<topic id="{$uuid}topic_simpletable_person_{$group_name}_{position()}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
|
|
|
-
|
|
|
<xsl:variable name="count">
|
|
|
<count>
|
|
|
<!--<xsl:for-each-group select="current-group()/../../." group-by="concat(parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid , parent::BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid)">
|
|
|
@@ -2206,7 +2206,6 @@
|
|
|
<xsl:value-of select="pesel"/><xsl:text> </xsl:text> <xsl:value-of select="nazwa"/><xsl:text> </xsl:text>
|
|
|
<xsl:text> </xsl:text> <xsl:value-of select="A_miejscowosc"/><xsl:text> </xsl:text>
|
|
|
<xsl:text> </xsl:text> <xsl:value-of select="A_ulica"/><xsl:text> </xsl:text>
|
|
|
-
|
|
|
</title>-->
|
|
|
<!--<curr><xsl:copy-of select="current-group()"></xsl:copy-of></curr>-->
|
|
|
<!--<curr_parrent><xsl:copy-of select="current-group()/../../."></xsl:copy-of></curr_parrent>-->
|
|
|
@@ -2240,22 +2239,15 @@
|
|
|
<!--<xsl:for-each-group select="current-group()/../../.[ position() = 1 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-\- firmy do -\->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/>
|
|
|
-
|
|
|
<xsl:for-each-group select="$current_group_person[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[position()=1]/@fid = $firma_do_id and position() = 1] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid"> <!-\- pracownicy -\-> <!-\- X11 -\->
|
|
|
<xsl:call-template name="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA.ends.desc.table">
|
|
|
- <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
|
|
|
-
|
|
|
+ <xsl:with-param name="row_obj_first" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ 1]/*[1]"/>
|
|
|
<xsl:with-param name="row_obj_last" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]/*[1]"/>
|
|
|
-
|
|
|
<xsl:with-param name="context" select="."/>
|
|
|
</xsl:call-template>
|
|
|
- </xsl:for-each-group>
|
|
|
-
|
|
|
-
|
|
|
+ </xsl:for-each-group>
|
|
|
</xsl:for-each-group>-->
|
|
|
-
|
|
|
- <draft-comment author="a.binder">#2253 - testing </draft-comment>
|
|
|
-
|
|
|
+ <draft-comment author="a.binder">#2253 - testing </draft-comment>
|
|
|
<!--<xsl:for-each-group select="current-group()/../../.[ position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-\- firmy do -\->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/> <!-\- X11 -\->
|
|
|
@@ -2273,8 +2265,6 @@
|
|
|
|
|
|
</xsl:for-each-group>
|
|
|
</xsl:for-each-group>-->
|
|
|
-
|
|
|
-
|
|
|
<simpletable frame="all" relcolwidth="1* 3* 3*" id="{$uuid}simpletable_rows__child_person_{$group_name}_{$refpos}">
|
|
|
<strow>
|
|
|
<stentry>Lp</stentry>
|
|
|
@@ -2282,44 +2272,33 @@
|
|
|
<stentry> od</stentry>
|
|
|
<!--<stentry> w</stentry>-->
|
|
|
<stentry> do</stentry>
|
|
|
-
|
|
|
- </strow>
|
|
|
-
|
|
|
-
|
|
|
+ </strow>
|
|
|
<!--<debug.1444>
|
|
|
<xsl:copy-of select="current-group()"/>
|
|
|
</debug.1444>-->
|
|
|
-
|
|
|
<!-- <xsl:for-each select="current-group()[ position() < 10 ] ">-->
|
|
|
<xsl:variable name="current_group_person" select="current-group()/../../."/>
|
|
|
<!--<debug.current_group_person>
|
|
|
<xsl:copy-of select="$current_group_person"></xsl:copy-of>
|
|
|
</debug.current_group_person>-->
|
|
|
<xsl:message>#2425 current-group()/../../.[ position() < 10 ] = <xsl:value-of select="count(current-group()/../../.[ position() < 10 ]) "/></xsl:message>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<xsl:for-each-group select="current-group()/../../.[ position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"><!-- firmy do -->
|
|
|
<xsl:variable name="position_1" select="position()"/>
|
|
|
<xsl:variable name="firma_do_id" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/> <!-- X11 -->
|
|
|
<xsl:comment>#278 $firma_do_id=<xsl:value-of select="$firma_do_id"/>; $position_1=<xsl:value-of select="$position_1"/>; do <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/></xsl:comment>
|
|
|
<xsl:message>#278 $firma_do_id=<xsl:value-of select="$firma_do_id"/>; $position_1=<xsl:value-of select="$position_1"/>; do <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ position() = 1]/@fid"/></xsl:message>
|
|
|
-
|
|
|
<xsl:for-each-group select="$current_group_person[ BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[position()=1]/@fid = $firma_do_id and position() < 10 ] " group-by="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = 1]/*[ position() = 1]/@fid"> <!-- pracownicy --> <!-- X11 -->
|
|
|
<xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.middle_ref" select=".">
|
|
|
<xsl:with-param name="position_1" select="$position_1"/>
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
<xsl:with-param name="context" select="$context"/>
|
|
|
<xsl:with-param name="title" select="$title"/>
|
|
|
+
|
|
|
</xsl:apply-templates>
|
|
|
</xsl:for-each-group>
|
|
|
</xsl:for-each-group>
|
|
|
-
|
|
|
-
|
|
|
<!--</xsl:for-each>-->
|
|
|
</simpletable>
|
|
|
-
|
|
|
-
|
|
|
</body>
|
|
|
</topic>
|
|
|
</xsl:result-document>
|
|
|
@@ -2461,8 +2440,8 @@
|
|
|
<stentry><xsl:value-of select="$position_1"/> / <!--<xsl:value-of select="$position"/> / --><xsl:value-of select="$position"/> </stentry>
|
|
|
<!--<stentry>-->
|
|
|
<!--<xsl:choose>
|
|
|
- <xsl:when test="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 2]/BI_audit_KRS_person/pesel[ //]"></xsl:when>
|
|
|
- </xsl:choose>-->
|
|
|
+ <xsl:when test="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 2]/BI_audit_KRS_person/pesel[ //]"></xsl:when>
|
|
|
+ </xsl:choose>-->
|
|
|
<!--</stentry>-->
|
|
|
<stentry>
|
|
|
<xref > <!-- href="../{ system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.href(system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.DETECT.key(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/*[1]/@fid ,BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/name(),BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = last()]/*[ position() = 1]/@fid,@pos))}" -->
|
|
|
@@ -2499,7 +2478,6 @@
|
|
|
<xref>
|
|
|
<xsl:copy-of select="system_cache__dita:files.context.title.keyref(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[last()]/*[1],'BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_LISTA')" copy-namespaces="no"/>
|
|
|
link
|
|
|
-
|
|
|
</xref>
|
|
|
<xsl:apply-templates mode="system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.body" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[position() = last()]/*[ 1]"/>
|
|
|
<!--<xsl:choose>
|
|
|
@@ -2622,6 +2600,7 @@
|
|
|
<xsl:with-param name="position" select="position()"/>
|
|
|
<xsl:with-param name="title" select="''"/>
|
|
|
<xsl:with-param name="context" select="."/>
|
|
|
+ <xsl:with-param name="print" select="'no'"/>
|
|
|
</xsl:apply-templates>
|
|
|
<!--<xsl:variable name="group_name_refpos" select="../../BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ position() = 1]/BI_audit_ENERGA_PRACOWNICY/system_cache__appinfo:truncate_special_and_do_uppercase(concat(imiona,'_',nazwisko,'_',nip))"/>
|
|
|
<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)),'1_DO')"/>
|