Netsis Fatura Dizaynında Hesaplanan Ötv Ekleme
Xml içine Eklenecek kod
<tr id="budgetContainerTr" align="right">
<td id="lineTableBudgetTd" width="200px" align="right">
<span style="font-weight:bold; ">
<xsl:text>Hesaplanan ÖTV</xsl:text>
</span>
</td>
<td id="lineTableBudgetTd" style="width:82px; " align="right">
<xsl:for-each select="n1:Invoice">
<xsl:for-each select="cac:TaxTotal">
<xsl:for-each select="cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme">
<xsl:if test="cbc:TaxTypeCode='0071' or cbc:TaxTypeCode='0073' or cbc:TaxTypeCode='0074' or cbc:TaxTypeCode='0075' or cbc:TaxTypeCode='0076' ">
<xsl:text> </xsl:text>
<xsl:value-of select="format-number(../../cbc:TaxAmount, '###.##0,00', 'european')"/>
<xsl:text></xsl:text>
<xsl:if test="../../cbc:TaxAmount/@currencyID">
<xsl:text> </xsl:text>
<xsl:if test="../../cbc:TaxAmount/@currencyID = 'TRL' or ../../cbc:TaxAmount/@currencyID = 'TRY'">
<xsl:text>TL</xsl:text>
</xsl:if>
<xsl:if test="../../cbc:TaxAmount/@currencyID != 'TRL' and ../../cbc:TaxAmount/@currencyID != 'TRY'">
<xsl:value-of select="../../cbc:TaxAmount/@currencyID"/>
</xsl:if>
</xsl:if>
<br/>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</td>
</tr>
Destek için: Onem Bilişim İletişim Ltd. Şti.
Tel: 533 680 1155