details:   /erp/stable/2.50/rev/427cf19a3e88
changeset: 9412:427cf19a3e88
user:      Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
date:      Mon May 09 13:25:50 2011 +0200
summary:   Fixes issue 17050 Format and alignment changed in GLR and GLJR

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html         |  12 
+++++-----
 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml        |   6 
++--
 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml   |   4 
+-
 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html  |   8 
+++---
 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml |   6 
++--
 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml   |   4 
+-
 6 files changed, 20 insertions(+), 20 deletions(-)

diffs (147 lines):

diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html   Fri May 
06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html   Mon May 
09 13:25:50 2011 +0200
@@ -794,9 +794,9 @@
 
                     <tr class="DataGrid_Body_Row">
                       <th width="10%" class="DataGrid_Header_Cell">DATE</th>
-                      <th width="10%" class="DataGrid_Header_Cell">DEBIT</th>
-                      <th width="10%" class="DataGrid_Header_Cell">CREDIT</th>
-                      <th width="15%" class="DataGrid_Header_Cell">BALANCE</th>
+                      <th width="10%" 
class="DataGrid_Header_Cell_Amount">DEBIT</th>
+                      <th width="10%" 
class="DataGrid_Header_Cell_Amount">CREDIT</th>
+                      <th width="15%" 
class="DataGrid_Header_Cell_Amount">BALANCE</th>
                       <th width="75%" 
class="DataGrid_Header_Cell">DESCRIPTION</th>
                     </tr>
 
@@ -867,9 +867,9 @@
                       </tr>
                       <tr class="DataGrid_Body_Row">
                         <th width="10%" class="DataGrid_Header_Cell">DATE</th>
-                        <th width="10%" class="DataGrid_Header_Cell">DEBIT</th>
-                        <th width="10%" 
class="DataGrid_Header_Cell">CREDIT</th>
-                        <th width="15%" 
class="DataGrid_Header_Cell">BALANCE</th>
+                        <th width="10%" 
class="DataGrid_Header_Cell_Amount">DEBIT</th>
+                        <th width="10%" 
class="DataGrid_Header_Cell_Amount">CREDIT</th>
+                        <th width="15%" 
class="DataGrid_Header_Cell_Amount">BALANCE</th>
                         <th width="75%" 
class="DataGrid_Header_Cell">DESCRIPTION</th>
                       </tr>
 
diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml  Fri May 
06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml  Mon May 
09 13:25:50 2011 +0200
@@ -591,7 +591,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement>
+                                       <textElement textAlignment="Right">
                                                <font size="10"/>
                                        </textElement>
                                <text><![CDATA[Debit]]></text>
@@ -609,7 +609,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement>
+                                       <textElement textAlignment="Right">
                                                <font size="10"/>
                                        </textElement>
                                <text><![CDATA[Credit]]></text>
@@ -627,7 +627,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement>
+                                       <textElement textAlignment="Right">
                                                <font size="10"/>
                                        </textElement>
                                <text><![CDATA[Balance]]></text>
diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml     
Fri May 06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml     
Mon May 09 13:25:50 2011 +0200
@@ -305,7 +305,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#333333"/>
 </box>
-                                       <textElement>
+                                       <textElement textAlignment="Right">
                                                <font size="8"/>
                                        </textElement>
                                <text><![CDATA[Debit]]></text>
@@ -323,7 +323,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#333333"/>
 </box>
-                                       <textElement>
+                                       <textElement textAlignment="Right">
                                                <font size="8"/>
                                        </textElement>
                                <text><![CDATA[Credit]]></text>
diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html    
Fri May 06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html    
Mon May 09 13:25:50 2011 +0200
@@ -448,15 +448,15 @@
                       <tr class="DataGrid_Body_Row">
                         <th width="15%" class="DataGrid_Header_Cell">Account 
No.</th>
                         <th width="57%" class="DataGrid_Header_Cell">NAME</th>
-                        <th width="14%" class="DataGrid_Header_Cell">DEBIT</th>
-                        <th width="6%" class="DataGrid_Header_Cell">CREDIT</th>
+                        <th width="14%" 
class="DataGrid_Header_Cell_Amount">DEBIT</th>
+                        <th width="6%" 
class="DataGrid_Header_Cell_Amount">CREDIT</th>
                       </tr>
                       <div id="sectionDetail"> 
                         <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" 
id="funcEvenOddRow1xx">
                           <td width="15%"  id="fieldValue" 
class="DataGrid_Body_Cell">XX12345</td>
                           <td width="57%"  id="fieldName" 
class="DataGrid_Body_Cell">Accounts receivable - Trade</td>
-                          <td width="14%" id="fieldAmtacctdr" 
class="DataGrid_Body_Cell">xx14500.34</td>
-                          <td width="14%"  id="fieldAmtacctcr" 
class="DataGrid_Body_Cell">xx14500.34</td>
+                          <td width="14%" id="fieldAmtacctdr" 
class="DataGrid_Body_Cell_Amount">xx14500.34</td>
+                          <td width="14%"  id="fieldAmtacctcr" 
class="DataGrid_Body_Cell_Amount">xx14500.34</td>
                         </tr>
                       </div>
                     </table>
diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Fri May 06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Mon May 09 13:25:50 2011 +0200
@@ -294,7 +294,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement verticalAlignment="Middle">
+                                       <textElement textAlignment="Right" 
verticalAlignment="Middle">
                                                <font/>
                                        </textElement>
                                <text><![CDATA[DEBIT]]></text>
@@ -312,7 +312,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement verticalAlignment="Middle">
+                                       <textElement textAlignment="Right" 
verticalAlignment="Middle">
                                                <font/>
                                        </textElement>
                                <text><![CDATA[CREDIT]]></text>
@@ -637,7 +637,7 @@
                                        <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
 </box>
-                                       <textElement textAlignment="Right">
+                                       <textElement textAlignment="Left">
                                                <font/>
                                        </textElement>
                                <textFieldExpression   
class="java.lang.String"><![CDATA[$F{VALUE}]]></textFieldExpression>
diff -r 1300479b016c -r 427cf19a3e88 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml     
Fri May 06 12:36:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.xml     
Mon May 09 13:25:50 2011 +0200
@@ -78,8 +78,8 @@
     <FIELD id="fieldIdentifier" attribute="onclick" 
replace="yy">dateacct</FIELD>
     <FIELD id="fieldDateacct">dateacct</FIELD>
     <FIELD id="fieldName">name</FIELD>
-    <FIELD id="fieldAmtacctdr" format="euroEdition">amtacctdr</FIELD>
-    <FIELD id="fieldAmtacctcr" format="euroEdition">amtacctcr</FIELD>
+    <FIELD id="fieldAmtacctdr" format="euroInform">amtacctdr</FIELD>
+    <FIELD id="fieldAmtacctcr" format="euroInform">amtacctcr</FIELD>
     <FIELD id="fieldValue">value</FIELD>
     <FIELD id="fieldDescription">description</FIELD>
     <FIELD id="fieldId" attribute="onclick" replace="xx">id</FIELD>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to