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

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



Revision: 5655
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5655&view=rev
Author:   einhverfr
Date:     2013-02-12 14:29:14 +0000 (Tue, 12 Feb 2013)
Log Message:
-----------
More css hooks in order/quotation screens

Modified Paths:
--------------
    trunk/Changelog
    trunk/bin/oe.pl

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-02-11 11:21:15 UTC (rev 5654)
+++ trunk/Changelog	2013-02-12 14:29:14 UTC (rev 5655)
@@ -90,6 +90,7 @@
 * Fixed workflow for multiple address entry (Chris T,  3602111)
 * Fixed print and save buttons on orders (Chris T, 3602071)
 * Fixing history report blank when no fx (Chris T, 3602084)
+* More CSS hooks (Chris T)
 
 Changelog for 1.3.29
 * Added db routines for role backup and restore for shared hosting

Modified: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl	2013-02-11 11:21:15 UTC (rev 5654)
+++ trunk/bin/oe.pl	2013-02-12 14:29:14 UTC (rev 5655)
@@ -365,7 +365,7 @@
     $form->{exchangerate} =
       $form->format_amount( \%myconfig, $form->{exchangerate} );
 
-    $exchangerate = qq|<tr>|;
+    $exchangerate = qq|<tr id="exchangerate-row">|;
     $exchangerate .= qq|
                 <th align=right nowrap>| . $locale->text('Currency') . qq|</th>
 		<td><select name=currency>$form->{selectcurrency}</select></td> |
@@ -402,7 +402,7 @@
     $vclabel = $locale->text($vclabel);
 
     $terms = qq|
-                    <tr>
+                    <tr id="terms-row">
 		      <th align=right nowrap>| . $locale->text('Terms') . qq|</th>
 		      <td nowrap><input name=terms size="3" maxlength="3" value=$form->{terms}> |
       . $locale->text('days')
@@ -412,7 +412,7 @@
 
     if ( $form->{business} ) {
         $business = qq|
-	      <tr>
+	      <tr class="business-row">
 		<th align=right nowrap>| . $locale->text('Business') . qq|</th>
 		<td colspan=3>$form->{business}
 		&nbsp;&nbsp;&nbsp;|;
@@ -427,20 +427,20 @@
 
     if ( $form->{type} !~ /_quotation$/ ) {
         $ordnumber = qq|
-	      <tr>
+	      <tr class="ordnumber-row">
 		<th width=70% align=right nowrap>| . $locale->text('Order Number') . qq|</th>
                 <td><input name=ordnumber size=20 value="$form->{ordnumber}"></td>
 		<input type=hidden name=quonumber value="$form->{quonumber}">
 	      </tr>
-	      <tr>
+	      <tr class="transdate-row">
 		<th align=right nowrap>| . $locale->text('Order Date') . qq|</th>
 		<td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td>
 	      </tr>
-	      <tr>
+	      <tr class="reqdate-row">
 		<th align=right nowrap=true>| . $locale->text('Required by') . qq|</th>
 		<td><input class="date" name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td>
 	      </tr>
-	      <tr>
+	      <tr class="ponunber-row">
 		<th align=right nowrap>| . $locale->text('PO Number') . qq|</th>
 		<td><input name=ponumber size=20 value="$form->{ponumber}"></td>
 	      </tr>
@@ -452,7 +452,7 @@
 	      <tr>
 		<td></td>
 		<td colspan=3>
-		  <table>
+		  <table class="creditlimit">
 		    <tr>
 		      <th align=right nowrap>| . $locale->text('Credit Limit') . qq|</th>
 		      <td>|
@@ -466,7 +466,7 @@
 		    </tr>|;
 		if ($form->{entity_control_code}){
 			$creditremaining .= qq|
-	        <tr>
+	        <tr class="control-code-field">
 		<th align="right" nowrap>| . 
 			$locale->text('Entity Code') . qq|</th>
 		<td colspan="2">$form->{entity_control_code}</td>
@@ -489,7 +489,7 @@
           : $locale->text('Required by');
         if ( $form->{type} eq 'sales_quotation' ) {
             $ordnumber = qq|
-	      <tr>
+	      <tr class="quonumber-row">
 		<th width=70% align=right nowrap>|
               . $locale->text('Quotation Number')
               . qq|</th>
@@ -500,7 +500,7 @@
         }
         else {
             $ordnumber = qq|
-	      <tr>
+	      <tr class="rfqnumber-row">
 		<th width=70% align=right nowrap>| . $locale->text('RFQ Number') . qq|</th>
 		<td><input name=quonumber size=20 value="$form->{quonumber}"></td>
 		<input type=hidden name=ordnumber value="$form->{ordnumber}">
@@ -511,7 +511,7 @@
         }
 
         $ordnumber .= qq|
-	      <tr>
+	      <tr class="transdate-row">
 		<th align=right nowrap>| . $locale->text('Quotation Date') . qq|</th>
 		<td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td>
 	      </tr>
@@ -544,7 +544,7 @@
     }
 
     $department = qq|
-              <tr>
+              <tr class="department-row">
 	        <th align="right" nowrap>| . $locale->text('Department') . qq|</th>
 		<td colspan=3><select name=department>$form->{selectdepartment}</select>
 		<input type=hidden name=selectdepartment value="|
@@ -560,7 +560,7 @@
     if ( $form->{type} eq 'sales_order' ) {
         if ( $form->{selectemployee} ) {
             $employee = qq|
- 	      <tr>
+ 	      <tr class="employee-row">
 	        <th align=right nowrap>| . $locale->text('Salesperson') . qq|</th>
 		<td><select name=employee>$form->{selectemployee}</select></td>
 		<input type=hidden name=selectemployee value="|
@@ -572,7 +572,7 @@
     else {
         if ( $form->{selectemployee} ) {
             $employee = qq|
- 	      <tr>
+ 	      <tr class="employee-row">
 	        <th align=right nowrap>| . $locale->text('Employee') . qq|</th>
 		<td><select name=employee>$form->{selectemployee}</select></td>
 		<input type=hidden name=selectemployee value="|
@@ -637,11 +637,11 @@
 	      $business
 	      $department
 	      $exchangerate
-	      <tr>
+	      <tr class="shippingpoint-row">
 		<th align=right>| . $locale->text('Shipping Point') . qq|</th>
 		<td colspan=3><input name=shippingpoint size=35 value="$form->{shippingpoint}"></td>
 	      </tr>
-	      <tr>
+	      <tr class="shipvia-row">
 		<th align=right>| . $locale->text('Ship via') . qq|</th>
 		<td colspan=3><input name=shipvia size=35 value="$form->{shipvia}"></td>
 	      </tr>

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