fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11788] property: fix check on boolean


From: Sigurd Nes
Subject: [Fmsystem-commits] [11788] property: fix check on boolean
Date: Thu, 06 Mar 2014 09:40:22 +0000

Revision: 11788
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11788
Author:   sigurdne
Date:     2014-03-06 09:40:21 +0000 (Thu, 06 Mar 2014)
Log Message:
-----------
property: fix check on boolean

Modified Paths:
--------------
    trunk/property/templates/base/invoice.xsl

Modified: trunk/property/templates/base/invoice.xsl
===================================================================
--- trunk/property/templates/base/invoice.xsl   2014-03-05 15:32:58 UTC (rev 
11787)
+++ trunk/property/templates/base/invoice.xsl   2014-03-06 09:40:21 UTC (rev 
11788)
@@ -1387,21 +1387,6 @@
                                                </tr>
                                        </xsl:when>
                                </xsl:choose>
-                               <tr>
-                                       <td class="th_text" align="left" 
valign="top" style="white-space: nowrap;">
-                                               <xsl:value-of 
select="php:function('lang', 'order id')"/>
-                                       </td>
-                                       <td align="left" class="th_text" 
valign="top">
-                                               <input type="text" 
name="values[order_id]" value="{order_id}">
-                                                       <xsl:attribute 
name="size">
-                                                               
<xsl:text>20</xsl:text>
-                                                       </xsl:attribute>
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="php:function('lang', 'order id')"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </td>
-                               </tr>
 
                                <xsl:for-each select="approved_list">
                                        <tr>
@@ -1418,8 +1403,23 @@
                                        </tr>
                                </xsl:for-each>                         
                                <xsl:choose>
-                                       <xsl:when test="paid = ''">
+                                       <xsl:when test="paid != 1">
                                                <tr>
+                                                       <td class="th_text" 
align="left" valign="top" style="white-space: nowrap;">
+                                                               <xsl:value-of 
select="php:function('lang', 'order id')"/>
+                                                       </td>
+                                                       <td align="left" 
class="th_text" valign="top">
+                                                               <input 
type="text" name="values[order_id]" value="{order_id}">
+                                                                       
<xsl:attribute name="size">
+                                                                               
<xsl:text>20</xsl:text>
+                                                                       
</xsl:attribute>
+                                                                       
<xsl:attribute name="title">
+                                                                               
<xsl:value-of select="php:function('lang', 'order id')"/>
+                                                                       
</xsl:attribute>
+                                                               </input>
+                                                       </td>
+                                               </tr>
+                                               <tr>
                                                        <input type="hidden" 
name="values[sign_orig]" value="{sign_orig}"/>
                                                        <input type="hidden" 
name="values[my_initials]" value="{my_initials}"/>
                                                        <td class="th_text" 
align="left" valign="top" style="white-space: nowrap;">




reply via email to

[Prev in Thread] Current Thread [Next in Thread]