lv:procedures
Atšķirības
Norādītais vecais variants no patreizējās lapas atšķiras ar.
Abās pusēs iepriekšējo versijuIepriekšējā versijaNākamā versija | Iepriekšējā versija | ||
lv:procedures [2020/10/27 18:21] – AL_0610_2 marija | lv:procedures [2020/10/27 19:06] (patlaban) – ALG_rek_0610 marija | ||
---|---|---|---|
Rinda 7: | Rinda 7: | ||
xmlns: | xmlns: | ||
exclude-result-prefixes=" | exclude-result-prefixes=" | ||
- | < | + | < |
- | | + | <xsl:decimal-format name="N" |
- | < | + | <xsl:template match="/"> |
- | | + | |
- | <xsl:value-of select="pross"/> | + | < |
- | </xsl:for-each> | + | |
- | </ | + | |
- | < | + | |
< | < | ||
< | < | ||
Rinda 24: | Rinda 21: | ||
< | < | ||
0.702804 | 0.702804 | ||
+ | </ | ||
+ | < | ||
+ | < | ||
</ | </ | ||
</ | </ | ||
Rinda 43: | Rinda 43: | ||
</ | </ | ||
</ | </ | ||
- | + | < | |
- | < | + | < |
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | if (document.getElementById(' | ||
+ | | ||
+ | } else { | ||
+ | | ||
+ | } | ||
+ | | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | < | ||
+ | body { | ||
+ | text-align: | ||
+ | font-family: | ||
+ | font-size: | ||
+ | } | ||
+ | |||
+ | .container { | ||
+ | display: | ||
+ | text-align: | ||
+ | width: | ||
+ | margin: | ||
+ | } | ||
+ | |||
+ | .main_table { | ||
+ | width: | ||
+ | border-collapse: | ||
+ | } | ||
+ | |||
+ | .main_table th { | ||
+ | font-size: | ||
+ | font-family: | ||
+ | font-weight: | ||
+ | text-align: | ||
+ | padding: | ||
+ | border:1px solid #B4B4B4; | ||
+ | } | ||
+ | |||
+ | .main_table td { | ||
+ | font-size: | ||
+ | font-family: | ||
+ | padding: | ||
+ | border:1px solid #B4B4B4; | ||
+ | } | ||
+ | |||
+ | .main_table td.nos, .main_table td.kods, .main_table th.nos, .main_table th.kods { | ||
+ | text-align: | ||
+ | } | ||
+ | |||
+ | .main_table tr.cont { | ||
+ | height: | ||
+ | } | ||
+ | |||
+ | .left { | ||
+ | float: | ||
+ | padding: | ||
+ | font-size: | ||
+ | } | ||
+ | |||
+ | .right { | ||
+ | float: | ||
+ | text-align: | ||
+ | font-size: | ||
+ | } | ||
+ | .left2 { | ||
+ | float: | ||
+ | text-align: | ||
+ | font-size: | ||
+ | } | ||
+ | |||
+ | .right_small { | ||
+ | float: | ||
+ | text-align: | ||
+ | } | ||
+ | |||
+ | .spacer { | ||
+ | height: | ||
+ | clear: | ||
+ | } | ||
+ | |||
+ | .divider { | ||
+ | clear: | ||
+ | } | ||
+ | |||
+ | .pbreak { | ||
+ | page-break-after: | ||
+ | } | ||
+ | |||
+ | h4.pb { | ||
+ | display: | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | <div class=" | ||
+ | <div style=" | ||
+ | <IMG height=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <br /> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | </ | ||
+ | < | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | <xsl:if test=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <br /> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
</ | </ | ||
- | </xsl:variable> | + | < |
- | <xsl:variable name="ridu_lk"> | + | </xsl:when> |
- | < | + | </ |
- | <xaccum> | + | </ |
- | <accum> | + | |
- | < | + | <div class=" |
- | </accum> | + | <xsl:value-of select="/ |
- | <pos>< | + | <xsl:if test="/ |
- | </xaccum> | + | < |
- | </xsl:for-each> | + | < |
- | </xsl:variable> | + | < |
- | <xsl:variable name="rsk"> | + | < |
- | < | + | < |
- | </xsl:variable> | + | </ |
- | <xsl:variable name="ridu_lk1"> | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | </ |
- | </ | + | </ |
- | </xsl:variable> | + | |
- | <xsl:variable name="ridu_lk2"> | + | <div class=" |
- | < | + | |
- | < | + | <table class=" |
- | < | + | < |
- | </ | + | <th class=" |
- | </xsl:variable> | + | < |
- | <xsl:variable name="lppsk"> | + | < |
- | <xsl:if test="$rsk > $ridu_lk1">< | + | < |
- | <xsl:if test="$rsk <= $ridu_lk1">< | + | </ |
- | </xsl:variable> | + | <th class=" |
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <th> < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <th> < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <xsl:if test=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | <tr class=" | ||
+ | | ||
+ | < | ||
+ | <td class=" | ||
+ | <td class=" | ||
+ | <td align=" | ||
+ | <td align=" | ||
+ | <xsl:if test=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <td align=" | ||
+ | <td align=" | ||
+ | </xsl:when> | ||
+ | | ||
+ | < | ||
+ | <td class=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <xsl:text disable-output-escaping=" | ||
+ | < | ||
+ | <div style=" | ||
+ | <xsl:value-of select=" | ||
+ | </ | ||
+ | < | ||
+ | |||
+ | <div class=" | ||
+ | |||
+ | | ||
+ | <div style=" | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </div> | ||
+ | < | ||
+ | <tr class=" | ||
+ | <th class=" | ||
+ | < | ||
+ | < | ||
+ | <xsl:otherwise> | ||
+ | </ | ||
+ | <th class="nos" | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <th> <xsl:choose> | ||
+ | <xsl:when test="/ | ||
+ | <xsl: | ||
+ | </xsl:choose>< | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <xsl:if test=" | ||
+ | <th><xsl:choose> | ||
+ | < | ||
+ | <xsl: | ||
+ | </ | ||
+ | </xsl:if> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </xsl:choose></ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </xsl:if> | ||
+ | |||
+ | </ | ||
+ | |||
+ | </table> | ||
+ | <table class=" | ||
+ | < | ||
+ | </ | ||
- | <xsl: | + | |
- | < | + | |
- | < | + | <td style=" |
- | <xsl:otherwise> | + | |
- | </ | + | <div style=" |
- | </xsl:variable> | + | |
- | <xsl:variable name="day" | + | <div style=" |
- | <xsl: | + | <table width="100%" |
- | <xsl: | + | |
- | <xsl:variable name=" | + | <td align="left" |
- | | + | |
- | | + | <xsl:when test="/ |
- | | + | |
- | | + | |
- | | + | <xsl:choose> |
- | | + | |
- | | + | <xsl:value-of select="js: |
- | | + | |
- | | + | </xsl:when> |
- | | + | |
- | < | + | <xsl:choose> |
- | | + | |
- | </xsl: | + | <xsl:value-of select="js: |
- | < | + | |
- | < | + | </xsl:otherwise> |
- | < | + | </xsl:choose> |
- | < | + | |
- | </ | + | <xsl:when test="/ |
- | </xsl:variable> | + | |
- | <xsl:variable name=" | + | |
- | < | + | < |
- | < | + | |
- | <xsl:otherwise>Page</ | + | |
- | </ | + | </ |
- | </xsl:variable> | + | |
- | <xsl:variable name=" | + | </xsl:when> |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang=' | + | < |
- | <xsl:otherwise> | + | |
- | </xsl: | + | < |
- | </xsl:variable> | + | |
- | < | + | </ |
- | < | + | </ |
- | < | + | </xsl:when> |
- | < | + | </xsl:choose> |
- | </ | + | |
- | </ | + | </ |
- | <xsl: | + | |
- | <xsl:choose> | + | |
- | < | + | |
- | <xsl:otherwise>Sender</xsl: | + | |
- | </xsl:choose> | + | |
- | </xsl:variable> | + | |
- | <xsl: | + | < |
- | < | + | < |
- | < | + | </ |
- | < | + | |
- | </ | + | < |
- | </ | + | &# |
- | <xsl:variable name="field5"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test=" | + | |
- | <xsl: | + | |
- | </xsl:choose> | + | </xsl:for-each> |
- | </xsl:variable> | + | |
- | <xsl: | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | </ | + | </ |
- | </xsl: | + | |
- | <xsl:variable name="field7"> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | <div style=" |
- | </xsl: | + | |
- | <xsl:variable name="field8"> | + | |
- | < | + | |
- | < | + | <td width="50%" align=" |
- | < | + | |
- | </ | + | < |
- | </xsl: | + | < |
- | <xsl:variable name="field9"> | + | </ |
- | < | + | |
- | < | + | |
- | < | + | </xsl:if> |
- | </ | + | < |
- | </xsl: | + | <td width="50%" align=" |
- | <xsl: | + | |
- | <xsl:choose> | + | < |
- | < | + | < |
- | < | + | </ |
- | </xsl:choose> | + | |
- | </ | + | </tr> |
- | <xsl: | + | |
- | < | + | < |
- | < | + | <td width=" |
- | < | + | |
- | </ | + | < |
- | </xsl: | + | < |
- | <xsl: | + | </ |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'"> | + | |
- | < | + | </xsl:for-each> |
- | </xsl:choose> | + | < |
- | </ | + | <td width="50%" align=" |
- | <xsl: | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | </ |
- | </ | + | |
- | </xsl: | + | |
- | <xsl: | + | |
- | <xsl:choose> | + | |
- | < | + | |
- | < | + | < |
- | </xsl:choose> | + | < |
- | </ | + | < |
- | <xsl:variable name="field15"> | + | </ |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'"> | + | |
- | <xsl: | + | |
- | </xsl:choose> | + | |
- | </ | + | |
- | <xsl: | + | |
- | <xsl:choose> | + | < |
- | <xsl:when test="$lang='LV'" | + | < |
- | <xsl:otherwise> | + | < |
- | </xsl:choose> | + | </ |
- | </xsl: | + | |
- | <xsl:variable name="field17"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'"> | + | |
- | <xsl: | + | |
- | </xsl:choose> | + | |
- | </ | + | <div class=" |
- | <xsl: | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'" | + | |
- | <xsl:otherwise> | + | <td width=" |
- | </xsl:choose> | + | |
- | </xsl: | + | |
- | <xsl:variable name="field19"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'"> | + | |
- | < | + | |
- | </xsl:choose> | + | |
- | </xsl:variable> | + | |
- | <xsl:variable name="field20"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'"> | + | |
- | <xsl: | + | <td width=" |
- | </xsl:choose> | + | |
- | </xsl: | + | |
- | <xsl: | + | |
- | < | + | </xsl:for-each> |
- | < | + | |
- | < | + | |
- | </ | + | <xsl:value-of select="format-number(/ |
- | </xsl:variable> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | <td width=" |
- | </ | + | <xsl:value-of select="format-number(/ |
- | </xsl:variable> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | <td width=" |
- | </ | + | <xsl:value-of select="format-number((/ |
- | <xsl:variable name="field24"> | + | |
- | <xsl:choose> | + | </tr> |
- | <xsl:when test="$lang=' | + | |
- | <xsl:otherwise> | + | |
- | </ | + | |
- | </xsl:variable> | + | |
- | <xsl: | + | <div class="spacer"></ |
- | < | + | |
- | < | + | < |
- | < | + | |
- | </ | + | < |
- | </xsl: | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | </ |
- | < | + | |
- | </ | + | |
- | </xsl: | + | <div style="float:left; width:150px; |
- | <xsl: | + | <!--<div style=" |
- | <xsl:choose> | + | |
- | <xsl:when test=" | + | |
- | <xsl:otherwise> | + | < |
- | </xsl:choose> | + | < |
- | </xsl:variable> | + | </ |
- | <xsl:variable name="field28"> | + | < |
- | <xsl:choose> | + | < |
- | < | + | < |
- | <xsl: | + | </ |
- | </xsl:choose> | + | |
- | </xsl: | + | |
- | <xsl: | + | <div class="right_small" |
- | < | + | |
- | < | + | < |
- | <xsl:otherwise> | + | <tr> |
- | </xsl:choose> | + | |
- | </xsl:variable> | + | &# |
- | <xsl:variable name="field30"> | + | |
- | <xsl:choose> | + | <td style=" |
- | < | + | <xsl:value-of select="$neapm_summa" |
- | < | + | <xsl:value-of select="$nauda" |
- | </xsl:choose> | + | |
- | </xsl: | + | |
- | <xsl:variable name="field31"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang=' | + | <td style=" |
- | < | + | &# |
- | </xsl:choose> | + | |
- | </xsl: | + | |
- | <xsl: | + | |
- | <xsl:choose> | + | < |
- | <xsl:when test=" | + | <xsl:value-of select=" |
- | <xsl:otherwise> | + | &# |
- | </xsl: | + | <xsl:value-of select=" |
- | </xsl:variable> | + | </xsl:when> |
- | < | + | <xsl:otherwise> |
- | < | + | <xsl:value-of select="format-number((/ |
- | < | + | <xsl:value-of select="$nauda" /> |
- | <xsl:otherwise> | + | </xsl: |
- | </xsl: | + | </xsl:choose> |
- | </xsl: | + | |
- | <xsl:variable name="field34"> | + | |
- | <xsl:choose> | + | |
- | <xsl:when test="$lang='LV'">< | + | <td style=" |
- | <xsl:otherwise> | + | &# |
- | <xsl:if test="/ | + | |
- | <xsl:if test="/ | + | |
- | <xsl:if test="/ | + | <xsl:value-of select="/ |
- | </xsl:otherwise> | + | |
- | </ | + | |
- | </xsl:variable> | + | |
- | <xsl:variable name=" | + | |
- | < | + | </div> |
- | < | + | |
- | <xsl:otherwise> | + | |
- | </xsl:choose> | + | <!--<xsl:if test=" |
- | </xsl:variable> | + | <div style=" |
- | + | < | |
- | | + | <xsl:when test="/ |
- | < | + | < |
- | < | + | < |
- | Invoice no&# | + | Neapmaksāto rēķinu kopsumma: <xsl:value-of select=" |
- | </title> | + | Neapmaksāto rēķinu kopsumma: |
- | <link href="https://fonts.googleapis.com/css? | + | </xsl:when> |
- | </head> | + | <xsl:when test="/ |
- | + | Neapmaksāto rēķinu kopsumma: | |
- | <style> | + | Neapmaksāto rēķinu kopsumma: |
- | .table2 | + | </xsl:when> |
- | border-collapse: collapse; | + | </ |
- | border: inset; | + | |
- | border-width: 2px 2px 0px 2px; | + | </xsl:when> |
- | } | + | <xsl:otherwise> |
- | th { | + | < |
- | border-right: | + | < |
- | } | + | Unpaid invoices total:< |
- | .table3 | + | Unpaid invoices total:< |
- | border: 2px inset; | + | </xsl:when> |
- | border-collapse: collapse; | + | <xsl:when test="/ |
- | } | + | Unpaid invoices total:<xsl:value-of select="format-number(/documents/ |
- | .td3 { | + | Unpaid invoices total:<xsl: |
- | border-right: 1px solid white; | + | </xsl:when> |
- | } | + | </xsl:choose> |
- | .divider { | + | </ |
- | clear: | + | </ |
- | height: 30px; | + | <br /> |
- | } | + | |
- | .divsmall { | + | </ |
- | clear: | + | </xsl:if>--> |
- | height: 5px; | + | < |
- | } | + | <xsl:choose> |
- | .bottom { | + | < |
- | height: 230px; | + | < |
- | } | + | </xsl:choose> |
- | .top { | + | </div> |
- | height: 380px; | + | </td> |
- | } | + | </tr> |
- | .RobotoNimi { | + | <!--< |
- | font-size: | + | < |
- | font-family: ' | + | <img SRC="http://login.directo.ee/ |
- | } | + | |
- | .Roboto10 { | + | |
- | font-size: | + | |
- | font-family: 'Roboto Condensed', sans-serif; | + | |
- | } | + | |
- | .Roboto8 { | + | |
- | font-size: 9.0pt; | + | |
- | font-family: ' | + | |
- | } | + | |
- | .PageNumbers { | + | |
- | font-size: | + | |
- | font-family: | + | |
- | padding: 1px; | + | |
- | text-align: | + | |
- | width: 660px; | + | |
- | } | + | |
- | .FooterText { | + | |
- | font-size: | + | |
- | font-weight: | + | |
- | font-family: | + | |
- | color: dimgray; | + | |
- | padding-left: | + | |
- | } | + | |
- | .HeaderText { | + | |
- | font-size: | + | |
- | font-weight: | + | |
- | font-family: | + | |
- | color: dimgray; | + | |
- | } | + | |
- | </style> | + | |
- | + | ||
- | <body> | + | |
- | | + | |
- | <div class=" | + | |
- | <div class=" | + | |
- | <table border=" | + | |
- | < | + | |
- | < | + | |
- | <xsl:if test="/documents/footer/firma_logo!=''"> | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
</ | </ | ||
- | < | ||
- | <br /> | ||
- | </ | ||
- | </ | ||
- | <tr> | ||
- | <td width=" | ||
- | <br /> | ||
- | <b> | ||
- | < | ||
- | </ | ||
- | </ | ||
- | <td width=" | ||
- | <br /> | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | <hr width=" | ||
- | <table border=" | ||
- | <tr> | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | </ | ||
- | <tr> | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | </ | ||
- | <tr> | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | </ | ||
- | <tr> | ||
- | <td width=" | ||
- | < | ||
- | |||
- | </ | ||
- | <td width=" | ||
- | < | ||
- | </ | ||
- | </ | ||
- | < | ||
- | <td width=" | ||
- | Kredītiestādes nosaukums: < | ||
- | </ | ||
- | <td width=" | ||
- | Kredītiestādes nosaukums: < | ||
- | </ | ||
- | </ | ||
- | <tr> | ||
- | <td width=" | ||
- | N/Konts: < | ||
- | </ | ||
- | <td width=" | ||
- | N/Konts: < | ||
- | </ | ||
</ | </ | ||
- | < | + | |
- | < | + | <td style=" |
- | < | + | |
- | </ | + | |
- | <td width=" | + | </ |
- | < | + | </ |
- | </ | + | </ |
- | </ | + | |
- | + | | |
- | </ | + | |
- | <hr width=" | + | |
- | <table border=" | + | |
- | < | + | </ |
- | + | ||
- | </ | + | |
- | < | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | <td width=" | + | |
- | <!--TL vadītāja vārds, uzvārds: | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <hr width=" | + | |
- | <table border=" | + | |
- | < | + | |
- | <td width=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | <td width=" | + | |
- | &# | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <xsl:if test=" | + | |
- | <table class=" | + | |
- | <tr height=" | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <th height=" | + | |
- | % | + | |
- | </ | + | |
- | <th height=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | <table class=" | + | |
- | < | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td height=" | + | |
- | < | + | |
- | </ | + | |
- | <td height=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | &# | + | |
- | </ | + | |
- | < | + | |
- | <xsl:if test=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | <xsl:if test=" | + | |
- | < | + | |
- | | + | |
- | <div class=" | + | |
- | <div class=" | + | |
- | + | ||
- | <table class=" | + | |
- | <tr height=" | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <th height=" | + | |
- | % | + | |
- | </ | + | |
- | <th height=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | < | + | |
- | </ | + | |
- | <div class=" | + | |
- | <table border=" | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | | + | |
- | <xsl:if test=" | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | <tr height=" | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | <td width=" | + | |
- | PVN tiek aprēķināts saskaņā ar likuma par PVN 7. panta 7. punktu | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <tr height=" | + | |
- | <td width=" | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <table border=" | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | <tr height=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | <div class=" | + | |
- | <hr width=" | + | |
- | <table width=" | + | |
- | < | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | </ | + | |
- | < | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | </ | + | |
- | < | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | | + | |
- | | + | |
< | < | ||
- | var cipari=['',' | ||
- | var padsmiti=[' | ||
- | var desmiti=['','',' | ||
- | function simti(str) { | ||
- | res=''; | ||
- | |||
- | // pirmais cipars no labaas | ||
- | if (str.charAt(1)==' | ||
- | res=padsmiti[parseInt(str.charAt(2))]; | ||
- | else res=cipari[parseInt(str.charAt(2))]; | ||
- | |||
- | // otrais cipars no labaas | ||
- | if (str.charAt(0)==' | ||
- | res=' | ||
- | else if (str.charAt(0)!=' | ||
- | res=' | ||
- | else // ja nav simtu | ||
- | res=desmiti[parseInt(str.charAt(1))]+res; | ||
- | |||
- | // treshais cipars no labaas | ||
- | res=cipari[parseInt(str.charAt(0))]+res; | ||
- | return res; | ||
- | } | ||
- | |||
- | function numText(skaitlis, | ||
- | fullStr=' | ||
- | tempStr=''; | ||
- | tempRes=''; | ||
- | resStr=''; | ||
- | minus=''; | ||
- | |||
- | punkts=skaitlis.indexOf(' | ||
- | if (punkts==-1) { | ||
- | pirmspStr=skaitlis; | ||
- | aizpStr=' | ||
- | } else { | ||
- | pirmspStr=skaitlis.substring(0, | ||
- | aizpStr=' | ||
- | } | ||
- | |||
- | if (pirmspStr.charAt(0)==' | ||
- | pirmspStr=pirmspStr.substring(1); | ||
- | minus=' | ||
- | } | ||
- | |||
- | for (i=pirmspStr.length-1, | ||
- | fullStr=fullStr.substring(0, | ||
- | } | ||
- | |||
- | if (fullStr.length> | ||
- | |||
- | if (nauda==' | ||
- | if ((fullStr.charAt(9)==' | ||
- | else if (parseInt(fullStr, | ||
- | } else { | ||
- | resStr+=nauda; | ||
- | } | ||
- | if (parseInt(fullStr.substring(7), | ||
- | tempStr=fullStr.substring(7); | ||
- | tempRes=simti(tempStr); | ||
- | resStr=tempRes+resStr; | ||
- | } | ||
- | |||
- | if (parseInt(fullStr.substring(4, | ||
- | tempStr=fullStr.substring(4, | ||
- | tempRes=simti(tempStr); | ||
- | if ((tempStr.charAt(2)==' | ||
- | else if (parseInt(tempStr, | ||
- | resStr=tempRes+resStr; | ||
- | } | ||
- | |||
- | if (parseInt(fullStr.substring(1, | ||
- | tempStr=fullStr.substring(1, | ||
- | tempRes=simti(tempStr); | ||
- | if ((tempStr.charAt(2)==' | ||
- | else if (parseInt(tempStr, | ||
- | resStr=tempRes+resStr; | ||
- | } | ||
- | |||
- | if (fullStr.charAt(0)!=' | ||
- | if (fullStr.charAt(0)==' | ||
- | else resStr=cipari[parseInt(fullStr.charAt(0), | ||
- | } | ||
- | |||
- | if (resStr!='' | ||
- | resStr=resStr.charAt(0).toUpperCase()+resStr.substring(1); | ||
- | } | ||
- | |||
- | aizpStr=aizpStr+' | ||
- | santimi=parseInt(aizpStr*100, | ||
- | if (santimi> | ||
- | resStr+=' | ||
- | if ((aizpStr.charAt(aizpStr.length-1)==' | ||
- | if (nauda==' | ||
- | } else { | ||
- | if (nauda==' | ||
- | } | ||
- | } else { | ||
- | if (nauda==' | ||
- | } | ||
- | |||
- | return (minus+resStr); | ||
- | } | ||
var cipariEng=['',' | var cipariEng=['',' | ||
- | var padsmitiEng=[' | + | var padsmitiEng=[' |
- | var desmitiEng=['','',' | + | var desmitiEng=['','',' |
- | function simtiEng(str) { | + | function simtiEng(str) { |
- | res=''; | + | res=''; |
+ | |||
+ | // pirmais cipars no labaas | ||
+ | if (str.charAt(1)==' | ||
+ | | ||
+ | else res=cipariEng[parseInt(str.charAt(2))]; | ||
+ | |||
+ | // otrais cipars no labaas | ||
+ | if (str.charAt(0)==' | ||
+ | | ||
+ | else if (str.charAt(0)!=' | ||
+ | | ||
+ | else // ja nav simtu | ||
+ | | ||
+ | |||
+ | // treshais cipars no labaas | ||
+ | res=cipariEng[parseInt(str.charAt(0))]+res; | ||
+ | return res; | ||
+ | } | ||
- | // pirmais cipars no labaas | + | |
- | if (str.charAt(1)==' | + | fullStr=' |
- | res=padsmitiEng[parseInt(str.charAt(2))]; | + | tempStr=''; |
- | else res=cipariEng[parseInt(str.charAt(2))]; | + | tempRes=''; |
- | + | resStr=''; | |
- | // otrais cipars no labaas | + | minus=''; |
- | if (str.charAt(0)==' | + | |
- | res='hundred | + | punkts=skaitlis.indexOf(' |
- | else if (str.charAt(0)!=' | + | if (punkts==-1) { |
- | res='hundred | + | |
- | else // ja nav simtu | + | |
- | res=desmitiEng[parseInt(str.charAt(1))]+res; | + | } else { |
- | + | | |
- | // treshais cipars no labaas | + | |
- | res=cipariEng[parseInt(str.charAt(0))]+res; | + | } |
- | return | + | |
+ | if (pirmspStr.charAt(0)=='-') { // ja ar miinus ziimi | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | for (i=pirmspStr.length-1, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (fullStr.length> | ||
+ | |||
+ | if (nauda==' | ||
+ | if (parseInt(fullStr, | ||
+ | else if (parseInt(fullStr, | ||
+ | else resStr+='Null euros'; | ||
+ | } else if (parseInt(fullStr, | ||
+ | | ||
+ | } else resStr+=' | ||
+ | |||
+ | if (parseInt(fullStr.substring(7),10)>0) { | ||
+ | | ||
+ | tempRes=simtiEng(tempStr); | ||
+ | resStr=tempRes+resStr; | ||
+ | } | ||
+ | |||
+ | if (parseInt(fullStr.substring(4, | ||
+ | | ||
+ | tempRes=simtiEng(tempStr); | ||
+ | if ((tempStr.charAt(2)==' | ||
+ | else if (parseInt(tempStr, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (parseInt(fullStr.substring(1, | ||
+ | | ||
+ | | ||
+ | if ((tempStr.charAt(2)=='1') && (tempStr.charAt(1)!=' | ||
+ | else if (parseInt(tempStr, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (fullStr.charAt(0)!=' | ||
+ | if (fullStr.charAt(0)=='1') resStr=' | ||
+ | else resStr=cipariEng[parseInt(fullStr.charAt(0),10)]+' | ||
+ | } | ||
+ | |||
+ | if (resStr!='' | ||
+ | resStr=resStr.charAt(0).toUpperCase()+resStr.substring(1); | ||
+ | } | ||
+ | |||
+ | | ||
+ | if (santimi>0) { | ||
+ | | ||
+ | if (santimi==1) { | ||
+ | resStr+=' cent'; | ||
+ | } else { | ||
+ | resStr+=' | ||
+ | } | ||
+ | } else { | ||
+ | resStr+=' | ||
+ | } | ||
+ | |||
+ | | ||
+ | |||
} | } | ||
+ | var cipari=['',' | ||
+ | var padsmiti=[' | ||
+ | var desmiti=['','',' | ||
- | function | + | function |
- | fullStr='0000000000'; | + | res=''; |
- | tempStr=''; | + | |
- | tempRes='' | + | // pirmais cipars no labaas |
- | resStr=''; | + | if (str.charAt(1)=='1') // chekojam pirmspeedeejo ciparu - ja viens tad vai nu desmit vai padsmit |
- | minus=''; | + | |
+ | else res=cipari[parseInt(str.charAt(2))]; | ||
+ | |||
+ | // otrais cipars no labaas | ||
+ | if (str.charAt(0)=='1') // ja treshais cipars no labaas ir 1 tad jaaraksta simts | ||
+ | res='simts '+desmiti[parseInt(str.charAt(1))]+res; | ||
+ | else if (str.charAt(0)!='0') // ja treshais cipars no labaas nav 1 vai 0 tad jaaraksta simti | ||
+ | | ||
+ | else // ja nav simtu | ||
+ | | ||
+ | |||
+ | // treshais cipars no labaas | ||
+ | res=cipari[parseInt(str.charAt(0))]+res; | ||
+ | return res; | ||
+ | } | ||
- | punkts=skaitlis.indexOf(' | + | |
- | if (punkts==-1) { | + | fullStr=' |
- | pirmspStr=skaitlis; | + | tempStr=''; |
- | aizpStr=' | + | tempRes=''; |
- | } else { | + | resStr=''; |
- | pirmspStr=skaitlis.substring(0, | + | minus=''; |
- | aizpStr=skaitlis.substring(punkts+1); | + | |
+ | | ||
+ | if (punkts==-1) { | ||
+ | | ||
+ | | ||
+ | } else { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (pirmspStr.charAt(0)==' | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | for (i=pirmspStr.length-1, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (fullStr.length> | ||
+ | |||
+ | if (parseInt(fullStr, | ||
+ | resStr+=nauda; | ||
+ | } else resStr+=' | ||
+ | |||
+ | if (parseInt(fullStr.substring(7), | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (parseInt(fullStr.substring(4, | ||
+ | | ||
+ | | ||
+ | if ((tempStr.charAt(2)==' | ||
+ | else if (parseInt(tempStr, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (parseInt(fullStr.substring(1, | ||
+ | | ||
+ | | ||
+ | if ((tempStr.charAt(2)==' | ||
+ | else if (parseInt(tempStr, | ||
+ | | ||
+ | } | ||
+ | |||
+ | if (fullStr.charAt(0)!=' | ||
+ | if (fullStr.charAt(0)==' | ||
+ | else resStr=cipari[parseInt(fullStr.charAt(0), | ||
+ | } | ||
+ | |||
+ | if (resStr!='' | ||
+ | | ||
+ | } | ||
+ | |||
+ | santimi=parseInt(aizpStr, | ||
+ | if (santimi> | ||
+ | | ||
+ | | ||
+ | if ((tmpSant.charAt(tmpSant.length-1)==' | ||
+ | resStr+=' | ||
+ | } else { | ||
+ | resStr+=' | ||
+ | } | ||
+ | } else { | ||
+ | resStr+=' | ||
+ | } | ||
+ | |||
+ | return (minus+resStr); | ||
} | } | ||
- | if (pirmspStr.charAt(0)==' | + | ]]></ |
- | pirmspStr=pirmspStr.substring(1); | + | |
- | minus=' | + | |
- | } | + | |
- | + | ||
- | for (i=pirmspStr.length-1, | + | |
- | fullStr=fullStr.substring(0, | + | |
- | } | + | |
- | + | ||
- | if (fullStr.length> | + | |
- | + | ||
- | if (nauda==' | + | |
- | if (parseInt(fullStr, | + | |
- | else if (parseInt(fullStr, | + | |
- | else resStr+=' | + | |
- | } else if (nauda==' | + | |
- | if (parseInt(fullStr, | + | |
- | else if (parseInt(fullStr, | + | |
- | else resStr+=' | + | |
- | } else if (parseInt(fullStr, | + | |
- | resStr+=nauda; | + | |
- | } else resStr+=' | + | |
- | + | ||
- | if (parseInt(fullStr.substring(7), | + | |
- | tempStr=fullStr.substring(7); | + | |
- | tempRes=simtiEng(tempStr); | + | |
- | resStr=tempRes+resStr; | + | |
- | } | + | |
- | + | ||
- | if (parseInt(fullStr.substring(4, | + | |
- | tempStr=fullStr.substring(4, | + | |
- | tempRes=simtiEng(tempStr); | + | |
- | if ((tempStr.charAt(2)==' | + | |
- | else if (parseInt(tempStr, | + | |
- | resStr=tempRes+resStr; | + | |
- | } | + | |
- | + | ||
- | if (parseInt(fullStr.substring(1, | + | |
- | tempStr=fullStr.substring(1, | + | |
- | tempRes=simtiEng(tempStr); | + | |
- | if ((tempStr.charAt(2)==' | + | |
- | else if (parseInt(tempStr, | + | |
- | resStr=tempRes+resStr; | + | |
- | } | + | |
- | + | ||
- | if (fullStr.charAt(0)!=' | + | |
- | if (fullStr.charAt(0)==' | + | |
- | else resStr=cipariEng[parseInt(fullStr.charAt(0), | + | |
- | } | + | |
- | + | ||
- | if (resStr!='' | + | |
- | resStr=resStr.charAt(0).toUpperCase()+resStr.substring(1); | + | |
- | } | + | |
- | + | ||
- | santimi=parseInt(aizpStr, | + | |
- | if (santimi> | + | |
- | resStr+=' | + | |
- | if (santimi==1) { | + | |
- | if (nauda==' | + | |
- | } else { | + | |
- | if (nauda==' | + | |
- | } | + | |
- | } else { | + | |
- | if (nauda==' | + | |
- | } | + | |
- | + | ||
- | return (minus+resStr); | + | |
- | } | + | |
- | ]]></ | + | |
- | </ | + | </ |
</ | </ |
lv/procedures.1603815666.txt.gz · Labota: 2020/10/27 18:21 , labojis marija