[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4689] branches/1.3
- Subject: SF.net SVN: ledger-smb:[4689] branches/1.3
- From: ..hidden..
- Date: Tue, 01 May 2012 03:59:07 +0000
Revision: 4689
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4689&view=rev
Author: einhverfr
Date: 2012-05-01 03:59:07 +0000 (Tue, 01 May 2012)
Log Message:
-----------
Tax API extended to include max values too. Tax API documentation added
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/LedgerSMB/AM.pm
branches/1.3/LedgerSMB/Taxes/Simple.pm
branches/1.3/doc/LedgerSMB-manual.pdf
branches/1.3/doc/manual/LedgerSMB-manual.tex
branches/1.3/doc/release_notes
branches/1.3/sql/Pg-database.sql
branches/1.3/sql/modules/Account.sql
branches/1.3/sql/modules/Fixes.sql
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2012-04-30 06:30:39 UTC (rev 4688)
+++ branches/1.3/Changelog 2012-05-01 03:59:07 UTC (rev 4689)
@@ -14,6 +14,7 @@
* Fixed errors about Concat() not found on Pg 8.4 (Erik H)
* Fixed can't edit templates with absolute templates path (Chris T 3516725)
* Added API for minimum value for taxes for local tax modules (Chris T)
+* Added API (but not UI) for tax max value (Chris T)
John L is John Locke
Michael R is Michael Richardson
Modified: branches/1.3/LedgerSMB/AM.pm
===================================================================
--- branches/1.3/LedgerSMB/AM.pm 2012-04-30 06:30:39 UTC (rev 4688)
+++ branches/1.3/LedgerSMB/AM.pm 2012-05-01 03:59:07 UTC (rev 4689)
@@ -1947,10 +1947,11 @@
$validto = 'infinity' if not $validto;
$form->{"pass_$i"} = 0 if not $form->{"pass_$i"};
delete $form->{"old_validto_$i"} if ! $form->{"old_validto_$i"};
-
- $sth = $dbh->prepare('select account__save_tax(?,?,?,?,?,?,?,?)');
+
+ $sth = $dbh->prepare('select account__save_tax(?,?,?,?,?,?,?,?,?)');
my @queryargs = (
- $chart_id, $validto, $rate, $form->{"minvalue_$i"},
+ $chart_id, $validto, $rate,
+ $form->{"minvalue_$i"}, $form->{"maxvalue_$i"},
$form->{"taxnumber_$i"}, $form->{"pass_$i"},
$form->{"taxmodule_id_$i"}, $form->{"old_validto_$i"}
);
Modified: branches/1.3/LedgerSMB/Taxes/Simple.pm
===================================================================
--- branches/1.3/LedgerSMB/Taxes/Simple.pm 2012-04-30 06:30:39 UTC (rev 4688)
+++ branches/1.3/LedgerSMB/Taxes/Simple.pm 2012-05-01 03:59:07 UTC (rev 4689)
@@ -37,6 +37,7 @@
account => '$',
value => 'Math::BigFloat',
minvalue => 'Math::BigFloat', #Ignored in Simple Tax rules
+ maxvalue => 'Math::BigFloat', #Ignored in Simple Tax rules
pass => '$'
};
Modified: branches/1.3/doc/LedgerSMB-manual.pdf
===================================================================
--- branches/1.3/doc/LedgerSMB-manual.pdf 2012-04-30 06:30:39 UTC (rev 4688)
+++ branches/1.3/doc/LedgerSMB-manual.pdf 2012-05-01 03:59:07 UTC (rev 4689)
@@ -1372,24 +1372,25 @@
<< /S /GoTo /D [918 0 R /Fit ] >>
endobj
933 0 obj <<
-/Length 1912
+/Length 1911
/Filter /FlateDecode
>>
stream
-x\xDA\xEDXKs\xDB6\xBE\xE7Whr 5c1x\xF0!\xB6'J\xA2e\xA6Ô$'\x93\xF4\xC0H\x8C\xCDV]\x91r\x9A\xDF],(S\x8A<u\xDAÉi/\xB0X,\xFB}\xBB\xC4:7\xD6?c\x8F\xB4\x83\xF4\xD9\xCBK);\xDC5\xB7\xADN\xFA\xB1#\x98k\xF6\xFB\xBC\xE3Ø\xC9m\xBB\x93\xAE:\xEF\x8C(_\xDD\xE4\xBBd2\xE8\xF6\x84ÍI\xB6\xDDgk\xEA\xDFw9\xE7\x86\xD9\xEDI\xCEn\xCA\xEE/\xE9+\xB2\xC9MÏ\x85\xB2i\x9B\xB3;=i\x9B\xB8 ZLosZbzXîo\xE8É\xEB #\xCF6h\xB4#\xA5É~\xA7'\xA4\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