a.binder пре 7 година
родитељ
комит
e4222f255d

+ 3 - 3
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.universal.xsl

@@ -627,12 +627,12 @@
                                 <sup>status VAT</sup>
                             <!--</dt>-->
                             <!--<dd>-->
-                                <sup><xsl:value-of select="BI_audit_taxpayer/taxpayer_status"/></sup>
+                                <!--<sup><xsl:value-of select="BI_audit_taxpayer/taxpayer_status"/></sup>-->
                             <!--</dd>-->
                         <!--</dlentry>-->
                         <!--<dlentry>-->
                             <!--<dt>-->
-                                <sup>informacja</sup>
+                                <!--<sup>informacja</sup>-->
                             <!--</dt>-->
                             <!--<dd>-->
                                 <sup><xsl:value-of select="BI_audit_taxpayer/taxpayer_status_info"/></sup>
@@ -640,7 +640,7 @@
                         <!--</dlentry>-->
                         <!--<dlentry>-->
                             <!--<dt>-->
-                                <sup>data</sup>
+                                <sup>stan na dzień</sup>
                             <!--</dt>-->
                             <!--<dd>-->
                                 <sup><xsl:value-of select="BI_audit_taxpayer/taxpayer_status_date"/></sup>

+ 1 - 1
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_4UA.xsl

@@ -201,7 +201,7 @@
                                             <xsl:with-param name="system_cache__dita:element__x3A__surrounding">xref</xsl:with-param>
                                         </xsl:call-template>
                                         <xsl:call-template name="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__resolve__key">
-                                            <xsl:with-param name="end_fid" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed.current/@default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.end.attrs"/>
+                                            <xsl:with-param name="end_fid" select="$system_cache__dita:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.values.fixed.current/@default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.end.attrs[1]"/>
                                             <xsl:with-param name="fid" select="@fid"/>
                                             <xsl:with-param name="link__x3A__title"> do APT </xsl:with-param>
                                             <xsl:with-param name="system_cache__dita:element__x3A__surrounding">xref</xsl:with-param>

+ 12 - 2
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_context.path.keyrefs.xsl

@@ -42,6 +42,7 @@
         <xsl:param name="system_cache__dita:element__x3A__surrounding.title">ph</xsl:param>
         <xsl:param name="link__x3A__title"/>
         
+        <xsl:variable name="end_fid" select="tokenize($end_fid,' ')[1]"/>
         
         <xsl:choose>
             <xsl:when test="string-length($fid)&gt;0">
@@ -53,8 +54,17 @@
                                 <xsl:attribute name="keyref" select="concat($fid,'...',$end_fid)"/>
                             </xsl:when>
                             <xsl:otherwise>
-                                
-                                <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>   
+                                <xsl:choose>
+                                    <xsl:when test="$system_cache__dita:element__x3A__surrounding='xref'">
+                                        <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>
+                                    </xsl:when>
+                                    <xsl:otherwise>
+                                        <xref>
+                                            <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>
+                                        </xref>
+                                    </xsl:otherwise>
+                                </xsl:choose>
+                                   
                             
                             </xsl:otherwise>
                         </xsl:choose>