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

SF.net SVN: ledger-smb:[5371] trunk



Revision: 5371
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5371&view=rev
Author:   einhverfr
Date:     2012-12-17 10:28:38 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
CSS fixes for payments search filter

Modified Paths:
--------------
    trunk/UI/Reports/filters/payments.html
    trunk/UI/payments/payments.css
    trunk/bin/rp.pl

Modified: trunk/UI/Reports/filters/payments.html
===================================================================
--- trunk/UI/Reports/filters/payments.html	2012-12-17 08:39:46 UTC (rev 5370)
+++ trunk/UI/Reports/filters/payments.html	2012-12-17 10:28:38 UTC (rev 5371)
@@ -6,6 +6,7 @@
 		]
 		titlebar = text('Search Payments') # '
 ?><?lsmb PROCESS 'elements.html';
+         PROCESS 'report_base.html';
          IF ! entity_class.defined; entity_class = account_class; END ?>
 <body>
 <?lsmb IF    account_class == 2 ?><?lsmb contact_type = "Customer" -?>
@@ -65,24 +66,8 @@
 		size  = "20"
 		label = text('Source')
 	} ?></div>
-<div class="input" id="date_input_div">
-	<?lsmb INCLUDE input element_data = {
-		name  = "date_from"
-		value = date_from
-		class = "date"
-		type  = "text"
-		size  = "20"
-		label = text('From Date') # '
-	} ?>
-	<?lsmb INCLUDE input element_data = {
-		name  = "date_to"
-		value = date_to
-		class = "date"
-		type  = "text"
-		size  = "20"
-		label = text('Through Date') # '
-	} ?></div>
-<?lsmb IF ! search_only ?>
+<?lsmb PROCESS date_row_div ?>
+<?lsmb IF batch_id ?>
 <div class="listtop"><?lsmb text('Payment Reversal Information') ?></div>
 <div class="input">
  	<?lsmb IF batch_id -?>
@@ -121,7 +106,7 @@
              class = 'fxrate'
       } ?>
 </div>
-<?lsmb END # if ! search_only -?>
+<?lsmb END # if batch_id -?>
 <div class="input" id="search_button_div">
 	<?lsmb INCLUDE button element_data = {
 		name  = "action"

Modified: trunk/UI/payments/payments.css
===================================================================
--- trunk/UI/payments/payments.css	2012-12-17 08:39:46 UTC (rev 5370)
+++ trunk/UI/payments/payments.css	2012-12-17 10:28:38 UTC (rev 5371)
@@ -8,3 +8,26 @@
 div.selectall {
        float: left;
 }
+
+div {
+	overflow: auto;
+}
+
+label {
+	text-align: right;
+        float: left;
+	width: 8em;
+	margin-right: 1em;
+}
+
+input {
+	float: left;
+}
+
+input[type="checkbox"], input[type="radio"]{
+	float: none;
+}
+
+select {
+	float: left;
+}

Modified: trunk/bin/rp.pl
===================================================================
--- trunk/bin/rp.pl	2012-12-17 08:39:46 UTC (rev 5370)
+++ trunk/bin/rp.pl	2012-12-17 10:28:38 UTC (rev 5371)
@@ -89,7 +89,6 @@
     my $gifi = 1;
 
     # get departments
-    $form->all_departments(\%myconfig, undef, $report{$form->{report}}->{vc});
     if ( ref $form->{all_department} eq 'ARRAY' ) {
         $form->{selectdepartment} = {
             name => 'department',
@@ -124,7 +123,6 @@
     }
 
     # get projects
-    $form->all_projects( \%myconfig );
     if (ref $form->{all_project} eq 'ARRAY') {
         $form->{selectproject} = {
             name => 'projectnumber',

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