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

SF.net SVN: ledger-smb:[5461] trunk



Revision: 5461
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5461&view=rev
Author:   einhverfr
Date:     2013-01-02 07:14:09 +0000 (Wed, 02 Jan 2013)
Log Message:
-----------
Fixing csv ar/ap transactions not showing taxes

Modified Paths:
--------------
    trunk/Changelog
    trunk/templates/demo/ap_transaction.csv
    trunk/templates/demo/ar_transaction.csv
    trunk/templates/demo_with_images/ap_transaction.csv
    trunk/templates/demo_with_images/ar_transaction.csv
    trunk/templates/xedemo/ap_transaction.csv
    trunk/templates/xedemo/ar_transaction.csv

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/Changelog	2013-01-02 07:14:09 UTC (rev 5461)
@@ -87,6 +87,7 @@
   to "postgres" db. (Chris T)
 * Added copy db utility to setup.pl for testing dbs (Chris T)
 * Fixing is_zero errors on ar/ap transaction screens w/tax incldued (Chris T)
+* Fixing csv ar transactions not showing taxes (Chris T, 3589640)
 
 Changelog for 1.3.27
 * Detect whether ledgersmb.conf exists during Makefile.PL run and create if

Modified: trunk/templates/demo/ap_transaction.csv
===================================================================
--- trunk/templates/demo/ap_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/demo/ap_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
 account,amount,description,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb tax.${loop_count} ?>,<?lsmb taxdescription.${loop_count} ?>,
 <?lsmb END ?>

Modified: trunk/templates/demo/ar_transaction.csv
===================================================================
--- trunk/templates/demo/ar_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/demo/ar_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
-account,amount,description,project
+account,description,amount,memo,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb taxdescription.${loop_count} ?>,<?lsmb tax.${loop_count} ?>,,,
 <?lsmb END ?>

Modified: trunk/templates/demo_with_images/ap_transaction.csv
===================================================================
--- trunk/templates/demo_with_images/ap_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/demo_with_images/ap_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
 account,amount,description,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb tax.${loop_count} ?>,<?lsmb taxdescription.${loop_count} ?>,
 <?lsmb END ?>

Modified: trunk/templates/demo_with_images/ar_transaction.csv
===================================================================
--- trunk/templates/demo_with_images/ar_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/demo_with_images/ar_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
-account,amount,description,project
+account,description,amount,memo,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb taxdescription.${loop_count} ?>,<?lsmb tax.${loop_count} ?>,,,
 <?lsmb END ?>

Modified: trunk/templates/xedemo/ap_transaction.csv
===================================================================
--- trunk/templates/xedemo/ap_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/xedemo/ap_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
 account,amount,description,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb tax.${loop_count} ?>,<?lsmb taxdescription.${loop_count} ?>,
 <?lsmb END ?>

Modified: trunk/templates/xedemo/ar_transaction.csv
===================================================================
--- trunk/templates/xedemo/ar_transaction.csv	2013-01-02 04:03:19 UTC (rev 5460)
+++ trunk/templates/xedemo/ar_transaction.csv	2013-01-02 07:14:09 UTC (rev 5461)
@@ -1,3 +1,5 @@
-account,amount,description,project
+account,description,amount,memo,project
 <?lsmb FOREACH amount ?><?lsmb lc = loop.count - 1 ?><?lsmb accno.${lc} ?>,<?lsmb account.${lc} ?>,<?lsmb amount.${lc} ?>,<?lsmb description.${lc} ?>,<?lsmb projectnumber.${lc} ?>
+<?lsmb END ?><?lsmb FOREACH t IN taxaccounts.split(' ') ?><?lsmb loop_count = loop.count - 1 -?>
+<?lsmb t.remove('"') ?>,<?lsmb taxdescription.${loop_count} ?>,<?lsmb tax.${loop_count} ?>,,,
 <?lsmb END ?>

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