[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6408] branches/1.3
- Subject: SF.net SVN: ledger-smb:[6408] branches/1.3
- From: ..hidden..
- Date: Tue, 7 Jan 2014 09:19:13 +0000
Revision: 6408
http://sourceforge.net/p/ledger-smb/code/6408
Author: einhverfr
Date: 2014-01-07 09:19:09 +0000 (Tue, 07 Jan 2014)
Log Message:
-----------
Fixing 864, manually entered tax amount ignored printing invoice, merged from trunk
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/LedgerSMB/IS.pm
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2014-01-07 09:15:22 UTC (rev 6407)
+++ branches/1.3/Changelog 2014-01-07 09:19:09 UTC (rev 6408)
@@ -9,6 +9,7 @@
* Fixed update forgetting creditor (Nick P)
* Fixed invoices rounding and printing differently (Giovanni B)
* Deleted broken pricematrix check on existing rows in POS (Chris T)
+* Fixing manually entered tax amounts ignored printing invoice (Chris T, 864)
Chris T is Chris Travers
Nick P is Nick Prater
Modified: branches/1.3/LedgerSMB/IS.pm
===================================================================
--- branches/1.3/LedgerSMB/IS.pm 2014-01-07 09:15:22 UTC (rev 6407)
+++ branches/1.3/LedgerSMB/IS.pm 2014-01-07 09:19:09 UTC (rev 6408)
@@ -468,6 +468,10 @@
foreach my $item (@taxaccounts) {
push @taxrates, 100 * $item->rate;
+ if ($form->{"mt_amount_" . $item->account}){
+ $taxaccounts{ $item->account } += $form->{"mt_amount_" . $item->account};
+ next;
+ }
$taxaccounts{ $item->account } += $item->value;
if ( $form->{taxincluded} ) {
$taxbase{ $item->account } += $taxbase;
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