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

SF.net SVN: ledger-smb:[5630] trunk/LedgerSMB/Report



Revision: 5630
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5630&view=rev
Author:   einhverfr
Date:     2013-01-25 15:46:35 +0000 (Fri, 25 Jan 2013)
Log Message:
-----------
Adding money designations to report columns

Modified Paths:
--------------
    trunk/LedgerSMB/Report/Aging.pm
    trunk/LedgerSMB/Report/Budget/Variance.pm
    trunk/LedgerSMB/Report/COA.pm
    trunk/LedgerSMB/Report/Contact/History.pm
    trunk/LedgerSMB/Report/Contact/Purchase.pm
    trunk/LedgerSMB/Report/Inventory/Activity.pm
    trunk/LedgerSMB/Report/Inventory/Search.pm
    trunk/LedgerSMB/Report/Invoices/Outstanding.pm
    trunk/LedgerSMB/Report/Orders.pm
    trunk/LedgerSMB/Report/Reconciliation/Summary.pm
    trunk/LedgerSMB/Report/Trial_Balance.pm
    trunk/LedgerSMB/Report/Unapproved/Batch_Detail.pm
    trunk/LedgerSMB/Report/Unapproved/Batch_Overview.pm
    trunk/LedgerSMB/Report/Unapproved/Drafts.pm
    trunk/LedgerSMB/Report/co/Balance_y_Mayor.pm
    trunk/LedgerSMB/Report/co/Caja_Diaria.pm

Removed Paths:
-------------
    trunk/LedgerSMB/Report/Margin/

Modified: trunk/LedgerSMB/Report/Aging.pm
===================================================================
--- trunk/LedgerSMB/Report/Aging.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Aging.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -121,26 +121,31 @@
     {col_id => 'c0',
        name => LedgerSMB::Report::text('Current'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
 
     {col_id => 'c30',
        name => LedgerSMB::Report::text('30'),
        type => 'text',
+      money => 1,
      pwidth => '3', },
 
     {col_id => 'c60',
        name => LedgerSMB::Report::text('60'),
        type => 'text',
+      money => 1,
      pwidth => '3', },
 
     {col_id => 'c90',
        name => LedgerSMB::Report::text('90'),
        type => 'text',
+      money => 1,
      pwidth => '3', },
 
     {col_id => 'total',
        name => LedgerSMB::Report::text('Total'),
        type => 'text',
+      money => 1,
      pwidth => '1', };
     return ..hidden..;
 }

Modified: trunk/LedgerSMB/Report/Budget/Variance.pm
===================================================================
--- trunk/LedgerSMB/Report/Budget/Variance.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Budget/Variance.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -75,14 +75,17 @@
 
       {col_id => 'budget_amount', 
          type => 'text', 
+         money => 1,
          name => LedgerSMB::Report::text('Amount Budgetted')},
 
       {col_id => 'used_amount', 
          type => 'text', 
+         money => 1,
          name => '- ' . LedgerSMB::Report::text('Used')},
 
       {col_id => 'variance', 
          type => 'text', 
+         money => 1,
          name => '= ' . LedgerSMB::Report::text('Variance')},
    ];
 }

Modified: trunk/LedgerSMB/Report/COA.pm
===================================================================
--- trunk/LedgerSMB/Report/COA.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/COA.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -101,11 +101,13 @@
     {col_id => 'debit_balance',
        name => LedgerSMB::Report::text('Debits'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
 
     {col_id => 'credit_balance',
        name => LedgerSMB::Report::text('Credits'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
 
     {col_id => 'link',

Modified: trunk/LedgerSMB/Report/Contact/History.pm
===================================================================
--- trunk/LedgerSMB/Report/Contact/History.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Contact/History.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -83,6 +83,7 @@
 
          {col_id => 'sellprice',
             type => 'text',
+           money => 1,
             name => LedgerSMB::Report::text('Sell Price') },
 
          {col_id => 'discount',

Modified: trunk/LedgerSMB/Report/Contact/Purchase.pm
===================================================================
--- trunk/LedgerSMB/Report/Contact/Purchase.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Contact/Purchase.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -76,18 +76,22 @@
         
          {col_id => 'amount',
             type => 'text',
+           money => 1,
             name => LedgerSMB::Report::text('Amount') },
 
          {col_id => 'tax',
             type => 'text',
+           money => 1,
             name => LedgerSMB::Report::text('Tax') },
 
          {col_id => 'paid',
             type => 'text',
+           money => 1,
             name => LedgerSMB::Report::text('Paid') },
 
          {col_id => 'due',
             type => 'text',
+           money => 1,
             name => LedgerSMB::Report::text('Due') },
 
          {col_id => 'date_paid',

Modified: trunk/LedgerSMB/Report/Inventory/Activity.pm
===================================================================
--- trunk/LedgerSMB/Report/Inventory/Activity.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Inventory/Activity.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -87,6 +87,7 @@
 
      {col_id => 'receivable',
         type => 'text',
+       money => 1,
         name => LedgerSMB::Report::text('Receivable'), },
 
      {col_id => 'purchased',
@@ -100,6 +101,7 @@
 
      {col_id => 'payable',
         type => 'text',
+       money => 1,
         name => LedgerSMB::Report::text('Payable'), }
     ];
 }

Modified: trunk/LedgerSMB/Report/Inventory/Search.pm
===================================================================
--- trunk/LedgerSMB/Report/Inventory/Search.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Inventory/Search.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -218,18 +218,22 @@
    
     {col_id => 'listprice',
        type => 'text',
+      money => 1,
        name => LedgerSMB::Report::text('List Price'),},
    
     {col_id => 'sellprice',
        type => 'text',
+      money => 1,
        name => LedgerSMB::Report::text('Sell Price'),},
    
     {col_id => 'lastcost',
        type => 'text',
+      money => 1,
        name => LedgerSMB::Report::text('Last Cost'),},
    
     {col_id => 'avgcost',
        type => 'text',
+      money => 1,
        name => LedgerSMB::Report::text('Avg. Cost'),},
    
     {col_id => 'markup',
@@ -290,6 +294,7 @@
  
     {col_id => 'linetotal',
        type => 'text',
+      money => 1,
        name => LedgerSMB::Report::text('Total'),},
  
     {col_id => 'serialnumber',

Modified: trunk/LedgerSMB/Report/Invoices/Outstanding.pm
===================================================================
--- trunk/LedgerSMB/Report/Invoices/Outstanding.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Invoices/Outstanding.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -208,22 +208,27 @@
         {col_id => 'amount',
            name => LedgerSMB::Report::text('Amount'),
            type => 'text', 
+          money => 1,
          pwidth => 8, },
         {col_id => 'tax',
            name => LedgerSMB::Report::text('Tax'),
            type => 'text', 
+          money => 1,
          pwidth => 8, },
         {col_id => 'netamount',
            name => LedgerSMB::Report::text('Total'),
            type => 'text', 
+          money => 1,
          pwidth => 8, },
         {col_id => 'paid',
            name => LedgerSMB::Report::text('Paid'),
            type => 'text', 
+          money => 1,
          pwidth => 8, },
         {col_id => 'due',
            name => LedgerSMB::Report::text('Amount Due'),
            type => 'text', 
+          money => 1,
          pwidth => 8, },
         {col_id => 'curr',
            name => LedgerSMB::Report::text('Curr'),

Modified: trunk/LedgerSMB/Report/Orders.pm
===================================================================
--- trunk/LedgerSMB/Report/Orders.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Orders.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -231,6 +231,7 @@
 
        {col_id => 'amount',
           name => LedgerSMB::Report::text('Amount'),
+         money => 1,
           type => 'text', },
 
        {col_id => 'curr',

Modified: trunk/LedgerSMB/Report/Reconciliation/Summary.pm
===================================================================
--- trunk/LedgerSMB/Report/Reconciliation/Summary.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Reconciliation/Summary.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -136,6 +136,7 @@
            href_base => "recon.pl?action=display_report&report_id=", },
              {col_id => 'their_total',
                 name => LedgerSMB::Report::text('Statement Balance'),
+               money => 1,
                 type => 'text', },
              {col_id => 'approved',
                 name => LedgerSMB::Report::text('Approved'),

Modified: trunk/LedgerSMB/Report/Trial_Balance.pm
===================================================================
--- trunk/LedgerSMB/Report/Trial_Balance.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Trial_Balance.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -138,18 +138,22 @@
 
       {col_id => 'starting_balance',
          type => 'text',
+         money => 1,
          name => LedgerSMB::Report::text('Starting Balance') } ,
 
       {col_id => 'debits',
          type => 'text',
+         money => 1,
          name => LedgerSMB::Report::text('Debits') } ,
 
       {col_id => 'credits',
          type => 'text',
+         money => 1,
          name => LedgerSMB::Report::text('Credits') } ,
 
       {col_id => 'ending_balance',
          type => 'text',
+         money => 1,
          name => LedgerSMB::Report::text('Ending Balance') } ,
 
     ];

Modified: trunk/LedgerSMB/Report/Unapproved/Batch_Detail.pm
===================================================================
--- trunk/LedgerSMB/Report/Unapproved/Batch_Detail.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Unapproved/Batch_Detail.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -115,6 +115,7 @@
     {col_id => 'amount',
        name => LedgerSMB::Report::text('Amount'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
     ];
 

Modified: trunk/LedgerSMB/Report/Unapproved/Batch_Overview.pm
===================================================================
--- trunk/LedgerSMB/Report/Unapproved/Batch_Overview.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Unapproved/Batch_Overview.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -106,11 +106,13 @@
     {col_id => 'transaction_total',
        name => LedgerSMB::Report::text('AR/AP/GL Amount'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
 
     {col_id => 'payment_total',
        name => LedgerSMB::Report::text('Payment Amount'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
 
 );

Modified: trunk/LedgerSMB/Report/Unapproved/Drafts.pm
===================================================================
--- trunk/LedgerSMB/Report/Unapproved/Drafts.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/Unapproved/Drafts.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -99,6 +99,7 @@
     {col_id => 'amount',
        name => LedgerSMB::Report::text('AR/AP/GL Amount'),
        type => 'text',
+      money => 1,
      pwidth => '2', },
     ];
     # TODO:  business_units int[]

Modified: trunk/LedgerSMB/Report/co/Balance_y_Mayor.pm
===================================================================
--- trunk/LedgerSMB/Report/co/Balance_y_Mayor.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/co/Balance_y_Mayor.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -74,20 +74,24 @@
     {col_id => 'starting_balance',
        name => LedgerSMB::Report::text('Starting Balance'),
        type => 'text',
+      money => 1,
      pwidth => '3', },
 
     {col_id => 'debits',
        name => LedgerSMB::Report::text('Debit'),
        type => 'text',
+      money => 1,
      pwidth => '4', },
 
     {col_id => 'credits',
        name => LedgerSMB::Report::text('Credit'),
        type => 'text',
+      money => 1,
      pwidth => '4', },
     {col_id => 'ending_balance',
        name => LedgerSMB::Report::text('Balance'),
        type => 'text',
+      money => 1,
      pwidth => '3', },
 
     );

Modified: trunk/LedgerSMB/Report/co/Caja_Diaria.pm
===================================================================
--- trunk/LedgerSMB/Report/co/Caja_Diaria.pm	2013-01-25 15:31:49 UTC (rev 5629)
+++ trunk/LedgerSMB/Report/co/Caja_Diaria.pm	2013-01-25 15:46:35 UTC (rev 5630)
@@ -80,11 +80,13 @@
     {col_id => 'debits',
        name => LedgerSMB::Report::text('Debit'),
        type => 'text',
+      money => 1,
      pwidth => '4', },
 
     {col_id => 'credits',
        name => LedgerSMB::Report::text('Credit'),
        type => 'text',
+      money => 1,
      pwidth => '4', },
     ];
 }

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