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

SF.net SVN: ledger-smb:[5379] trunk/UI



Revision: 5379
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5379&view=rev
Author:   einhverfr
Date:     2012-12-18 07:27:39 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
fixes for budget screen

Modified Paths:
--------------
    trunk/UI/budgetting/budget_entry.html
    trunk/UI/lib/report_base.html

Modified: trunk/UI/budgetting/budget_entry.html
===================================================================
--- trunk/UI/budgetting/budget_entry.html	2012-12-18 06:52:33 UTC (rev 5378)
+++ trunk/UI/budgetting/budget_entry.html	2012-12-18 07:27:39 UTC (rev 5379)
@@ -5,7 +5,8 @@
 		"UI/ajax/helpers.js"]
 	stylesheet=USER.stylesheet 
         include_stylesheet = ["UI/budgetting/budgetting.css"];
-    PROCESS elements.html; ?>
+    PROCESS elements.html; 
+    PROCESS report_base.html; ?>
 <body>
 
 <form method="post" action="<?lsmb script ?>">
@@ -56,49 +57,10 @@
 </div>
 
 </div></div>
+<?lsmb PROCESS business_classes_div ?>
 
-<?lsmb FOREACH BUC IN bu_classes ?>
-<div class="inputrow"><div class="inputgroup">
-          <?lsmb PROCESS select element_data = {
-                   name = 'business_unit_' _ loop.count
-                options = b_units.${BUC.id}
-              text_attr = 'text'
-             value_attr = 'id'
-                  class = 'business_unit'
-                  label = text(BUC.label)
-              } ?>
-</div></div>
-<?lsmb END # FOREACH BUC ?>
 
-         <!-- Move notes to bottom and add subject line 
-	<tr>
-	  <th align="right"><?lsmb text('Notes') ?></th>
-	  <td colspan="3">
-			<?lsmb IF colrownotes ==1 ?>
-			      <?lsmb INCLUDE textarea element_data={
-							name = "notes"
-							rows = form.rowsnotes
-							cols = form.colsnotes
-							value = form.notes
-							id = "not_1"
-                                                 	    } 
-			       ?>
-			<?lsmb ELSE ?>
-				  <?lsmb INCLUDE input element_data = {
-						      name = "notes",
-						      value = form.notes,
-						      type = "text",
-						      size = "50",
-						      class = 'notes'
-						      id = "not_1"
-                                                          } 
-				   ?>
 
-			<?lsmb END ?>
-
-
-	  </td>
-	</tr> -->
       <table width="100%">
 	  <tr class="listheading">
 	  <th class="listheading"><?lsmb text('Account') ?></th>
@@ -208,6 +170,22 @@
 }
 ?>
 </div></div>
+<div class="input_group"><?lsmb INCLUDE input element_data = {
+     name="subject"
+     size="50"
+     type="text"
+    class="subject" 
+} ?></div>
+    
+<div class="input_group"> <?lsmb INCLUDE textarea element_data={
+							name = "notes"
+							rows = form.rowsnotes
+							cols = form.colsnotes
+							value = form.notes
+							id = "not_1"
+    							label = text('Notes')
+                                                 	    } 
+			       ?></div>
 <div class="inputrow">
 <div class="inputgroup">
 <?lsmb PROCESS button element_data = {

Modified: trunk/UI/lib/report_base.html
===================================================================
--- trunk/UI/lib/report_base.html	2012-12-18 06:52:33 UTC (rev 5378)
+++ trunk/UI/lib/report_base.html	2012-12-18 07:27:39 UTC (rev 5379)
@@ -19,6 +19,21 @@
         }; 
 END # BLOCK -?>
 
+<?lsmb BLOCK business_classes_div ?>
+<?lsmb FOREACH BUC IN bu_classes ?>
+<div class="inputrow"><div class="inputgroup">
+          <?lsmb PROCESS select element_data = {
+                   name = 'business_unit_' _ loop.count
+                options = b_units.${BUC.id}
+              text_attr = 'text'
+             value_attr = 'id'
+                  class = 'business_unit'
+                  label = text(BUC.label)
+              } ?>
+</div></div>
+<?lsmb END # FOREACH BUC ?>
+<?lsmb END # BLOCK ?>
+
 <?lsmb- BLOCK entity_class ?>
       <tr>
       <th align="right"><?lsmb text('Entity Class') ?></th>

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