Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titlee-İrsaliye belgeleri için 2.kod bloku

<td width="40%" align="center" valign="middle" >

                    <div id="qrcode" style="width:140px;"/>

                    <div id="qrvalue" style="visibility: hidden;position:absolute;">

                        {

                        "vkntckn":"<xsl:value-of select="n1:DespatchAdvice/cac:DespatchSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",

                        "avkntckn":"<xsl:value-of select="n1:DespatchAdvice/cac:DeliveryCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",

                        "senaryo":"<xsl:value-of select="n1:DespatchAdvice/cbc:ProfileID"/>",

                        "tip":"<xsl:value-of select="n1:DespatchAdvice/cbc:DespatchAdviceTypeCode"/>",

                        "tarih":"<xsl:value-of select="n1:DespatchAdvice/cbc:IssueDate"/>",

                        "no":"<xsl:value-of select="n1:DespatchAdvice/cbc:ID"/>",

                        "ettn":"<xsl:value-of select="n1:DespatchAdvice/cbc:UUID"/>",

                        "sevktarihi":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:Despatch/cbc:ActualDespatchDate"/>",

                        "sevkzamani":"<xsl:value-of select="substring(n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:Despatch/cbc:ActualDespatchTime, 0,9)"/>",

                        "tasiyicivkn":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:CarrierParty/cac:PartyIdentification/cbc:ID"/>",

                        "plaka":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:ShipmentStage/cac:TransportMeans/cac:RoadTransport/cbc:LicensePlateID"/>"

                        }

                    </div>

                    <script  type="text/javascript">

                        var qrcode = new QRCode(document.getElementById("qrcode"), {

                        width : 140,

                        height : 140,

                        correctLevel: QRCode.CorrectLevel.L

                        });

                        var minifiedValues = document.getElementById("qrvalue").innerHTML.replace(/\s/g, '');

                        qrcode.makeCode(minifiedValues)

                    </script>

                </td>

                           

Expand
titlee-Müstahsil belgeleri için 2.kod bloku

<div id="qrcode" style="width:140px;"/>

                                    <div id="qrvalue" style="visibility: hidden;position:absolute;">

                                        {

                                        "vkntckn":"<xsl:value-of select="n1:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",

                                        "avkntckn":"<xsl:value-of select="n1:CreditNote/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",

                                        "senaryo":"<xsl:value-of select="n1:CreditNote/cbc:ProfileID"/>",

                                        "tip":"MUHTAHSILMAKBUZU",

                                        "tarih":"<xsl:value-of select="n1:CreditNote/cbc:IssueDate"/>",

                                        "no":"<xsl:value-of select="n1:CreditNote/cbc:ID"/>",

                                        "ettn":"<xsl:value-of select="n1:CreditNote/cbc:UUID"/>",

                                        "parabirimi":"<xsl:value-of select="n1:CreditNote/cbc:DocumentCurrencyCode"/>",

                                        "malhizmettoplam":"<xsl:value-of select="n1:CreditNote/cac:LegalMonetaryTotal/cbc:LineExtensionAmount"/>",

                                        <xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '0003']">

                                            "gvstopaj":"<xsl:value-of select="cbc:TaxAmount"/>",

                                        </xsl:for-each>

                                        <xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '9040']">

                                            "merafonu":"<xsl:value-of select="cbc:TaxAmount"/>",

                                        </xsl:for-each>

                                        <xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '8001']">

                                            "borsatescilucreti":"<xsl:value-of select="cbc:TaxAmount"/>",

                                        </xsl:for-each>

                                        <xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = 'SGK_PRIM']">

                                            "sgkprimkesintisi":"<xsl:value-of select="cbc:TaxAmount"/>",

                                        </xsl:for-each>

                                        "odenecek":"<xsl:value-of select="n1:CreditNote/cac:LegalMonetaryTotal/cbc:PayableAmount"/>"

                                        }

                                    </div>

                                    <script  type="text/javascript">

                                        var qrcode = new QRCode(document.getElementById("qrcode"), {

                                        width : 140,

                                        height : 140,

                                        correctLevel: QRCode.CorrectLevel.L

                                        });

                                        var minifiedValues = document.getElementById("qrvalue").innerHTML.replace(/\s/g, '');

                                        qrcode.makeCode(minifiedValues)

                                    </script> 

...