fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11405] property: invoice update ajax values in form


From: Sigurd Nes
Subject: [Fmsystem-commits] [11405] property: invoice update ajax values in form
Date: Tue, 29 Oct 2013 10:24:22 +0000

Revision: 11405
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11405
Author:   sigurdne
Date:     2013-10-29 10:24:21 +0000 (Tue, 29 Oct 2013)
Log Message:
-----------
property: invoice update ajax values in form

Modified Paths:
--------------
    trunk/property/js/portico/ajax_invoice.js
    trunk/property/templates/base/invoice2.xsl

Modified: trunk/property/js/portico/ajax_invoice.js
===================================================================
--- trunk/property/js/portico/ajax_invoice.js   2013-10-29 08:52:25 UTC (rev 
11404)
+++ trunk/property/js/portico/ajax_invoice.js   2013-10-29 10:24:21 UTC (rev 
11405)
@@ -38,7 +38,7 @@
                $("#oppsynsmannid").html( '' );
                $("#saksbehandlerid").html( '' );
                $("#budsjettansvarligid").html( '' );
-               $("#remark").html( '' );
+//             $("#remark").html( '' );
                $("#process_log").html( '' );
                $("#dim_a").val('' );
                $("#dim_b").html( "<option>Velg</option>" );
@@ -302,18 +302,14 @@
                                $("#dim_a").val( voucher[0].dim_a );
                                $("#currency").html( voucher[0].currency );
                                
-                               $("#process_log").html( 
data['generic'].process_log );
 
-/*
-                               if(data['generic'].process_log != null)
+                               $("#process_log").val( '' );
+
+                               if(data['generic'].process_log)
                                {
-                                       $("#process_log").html( 
data['generic'].process_log );
+                                       $("#process_log").val( 
data['generic'].process_log );
                                }
-                               else
-                               {
-                                       $("#process_log").html( '' );
-                               }
-*/
+
                                $("#my_initials").val( 
data['generic'].my_initials );
                                $("#sign_orig").val( data['generic'].sign_orig 
);
                                $("#line_text").val( voucher[0].line_text );
@@ -554,7 +550,7 @@
                                $("#oppsynsmannid").html( '' );
                                $("#saksbehandlerid").html( '' );
                                $("#budsjettansvarligid").html( '' );
-                               $("#remark").html( '' );
+                       //      $("#remark").html( '' );
                                $("#process_log").html( '' );
                                $("#dim_a").val('' );
                                $("#dim_b").html( "<option>Velg</option>" );

Modified: trunk/property/templates/base/invoice2.xsl
===================================================================
--- trunk/property/templates/base/invoice2.xsl  2013-10-29 08:52:25 UTC (rev 
11404)
+++ trunk/property/templates/base/invoice2.xsl  2013-10-29 10:24:21 UTC (rev 
11405)
@@ -522,7 +522,7 @@
                                        <xsl:attribute name="title">
                                                <xsl:value-of 
select="php:function('lang', 'voucher process log')"/>
                                        </xsl:attribute>
-                                       <xsl:value-of 
select="voucher_info/generic/process_log"/>
+                                       <!--xsl:value-of 
select="voucher_info/generic/process_log"/-->
                                </textarea>
                        </td>
                </tr>




reply via email to

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