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

SF.net SVN: ledger-smb:[5831] trunk/UI/Contact/divs/credit.html



Revision: 5831
          http://sourceforge.net/p/ledger-smb/code/5831
Author:   ehuelsmann
Date:     2013-05-19 14:34:18 +0000 (Sun, 19 May 2013)
Log Message:
-----------
Small step at improving the interface: group functional fields together
in the entity credit account entry screen.

Modified Paths:
--------------
    trunk/UI/Contact/divs/credit.html

Modified: trunk/UI/Contact/divs/credit.html
===================================================================
--- trunk/UI/Contact/divs/credit.html	2013-05-19 08:39:53 UTC (rev 5830)
+++ trunk/UI/Contact/divs/credit.html	2013-05-19 14:34:18 UTC (rev 5831)
@@ -120,6 +120,14 @@
             </td>
         </tr>
         <tr id="credit-row">
+          <td> <?lsmb INCLUDE input element_data = {
+			name = "threshold"
+			value = credit_act.threshold
+			type = "text"
+			size = "20"
+			label = text('Threshold')
+			class = "numeric"
+               } ?></td>
             <td>
 		<?lsmb INCLUDE input element_data = {
 			label = text('Credit Limit'),
@@ -129,6 +137,8 @@
 			size = "20"
 		} #' ?>
             </td>
+	</tr>
+	<tr id="discount-gifi-row">
             <td><span id="terms-span">
 		<?lsmb INCLUDE input element_data = {
 			label = text('Payment Terms'),
@@ -138,8 +148,6 @@
 			size = "5"
 		} ?> <?lsmb text('days') ?></span>
             </td>
-	</tr>
-	<tr id="discount-gifi-row">
             <td>
 		<?lsmb INCLUDE input element_data = {
 			label = text('Discount'),
@@ -157,6 +165,15 @@
 			maxlength = 3
 		} ?> <?lsmb text('days') ?>
             </td>
+           <td> <?lsmb INCLUDE select element_data = {
+                        name = "discount_account_id"
+                        default_values = [credit_act.discount_account_id]
+                        options = discount_acc_list
+                        label = text('Account')
+                        text_attr = "text"
+                        value_attr = "id"
+                } ?>
+           </td>
         </tr>
         <tr id="account-link-row">
            <td> <?lsmb INCLUDE select element_data = {
@@ -177,14 +194,14 @@
 			value_attr = "id"
                 } ?>
            </td>
-           <td> <?lsmb INCLUDE select element_data = {
-                        name = "discount_account_id"
-                        default_values = [credit_act.discount_account_id]
-                        options = discount_acc_list
-                        label = text('Discount')
-                        text_attr = "text"
-                        value_attr = "id"
-                } ?>
+          <td> <?lsmb INCLUDE select element_data = {
+                        name = 'curr'
+                        options = all_currencies
+                        text_attr = 'text'
+                        value_attr = 'text'
+                        default_values = [credit_act.curr]
+                        label = text('Currency')
+               } ?>
            </td>
         </tr>
         <tr id="business-threshold-row">
@@ -200,14 +217,6 @@
 			} ?> 
                 <?lsmb END ?>
 	  </td>
-          <td> <?lsmb INCLUDE input element_data = {
-			name = "threshold"
-			value = credit_act.threshold
-			type = "text"
-			size = "20"
-			label = text('Threshold')
-			class = "numeric"
-               } ?></td>
           <td><?lsmb IF pricegroups.size > 0 ?>
               <div id="pricegroup-div"><?lsmb pricegroups.unshift({});
                 INCLUDE select element_data = {
@@ -243,16 +252,6 @@
 		value_attr = "code"
                 } ?>
         </td>
-          <td> <?lsmb INCLUDE select element_data = {
-                        name = 'curr'
-                        options = all_currencies
-                        text_attr = 'text'
-                        value_attr = 'text'
-                        default_values = [credit_act.curr]
-                        label = text('Currency')
-               } ?>
-           </td>
-
         </tr>
 
         </table>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.