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

SF.net SVN: ledger-smb:[6415] branches/1.3



Revision: 6415
          http://sourceforge.net/p/ledger-smb/code/6415
Author:   einhverfr
Date:     2014-01-07 09:49:32 +0000 (Tue, 07 Jan 2014)
Log Message:
-----------
Merging 'To pay' vs 'Received' fix from trunk

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/scripts/payment.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-01-07 09:46:50 UTC (rev 6414)
+++ branches/1.3/Changelog	2014-01-07 09:49:32 UTC (rev 6415)
@@ -11,6 +11,7 @@
 * Deleted broken pricematrix check on existing rows in POS (Chris T)
 * Fixing manually entered tax amounts ignored printing invoice (Chris T, 864)
 * Fixing deleting gl draft via gl screen fails (Chris T, 871)
+* Fixing receipts listing "to pay" for amount (Chris T, 892)
 
 Chris T is Chris Travers
 Nick P is Nick Prater

Modified: branches/1.3/scripts/payment.pl
===================================================================
--- branches/1.3/scripts/payment.pl	2014-01-07 09:46:50 UTC (rev 6414)
+++ branches/1.3/scripts/payment.pl	2014-01-07 09:49:32 UTC (rev 6415)
@@ -950,8 +950,13 @@
                        };
   }
 # FINALLY WE ADD TO THE COLUMN HEADERS A LAST FIELD TO PRINT THE CLOSE INVOICE CHECKBOX TRICK :)
+if ($request->{account_class} == 1){
  push @column_headers, {text => $locale->text('To pay').$currency_text}, 
                        {text => 'X'};
+} else {
+ push @column_headers, {text => $locale->text('Received').$currency_text}, 
+                       {text => 'X'};
+}
 # WE NEED TO QUERY THE DATABASE TO CHECK FOR OPEN INVOICES
 # WE WONT DO ANYTHING IF WE DONT FIND ANY INVOICES, THE USER CAN STILL POST A PREPAYMENT
 my @invoice_data;

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


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits