summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-23 19:51:03 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-23 19:51:03 +0000
commitaf66021ef163a3f51895db8eb89c957d292f8997 (patch)
tree250a5a54fc24816f3e5ee730288b37047cefbb52
parentaeebfdb93c0fe6cae8346564f243bc78b4f6ec0a (diff)
Moved io lineitem column list to LedgerSMB::Sysconfig;
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@263 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--Changelog1
-rw-r--r--LedgerSMB/Sysconfig.pm2
-rwxr-xr-xbin/io.pl3
3 files changed, 4 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index 0d3e746d..721d8264 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,6 @@
Changelog for LedgerSMB 1.2.0
+* Moved IS/IR/OE the linitem column list to the LedgerSMB::Sysconfig Chris T)
* Removed back-translation of function names for i18n (Seneca)
* Invoice now has an Onhand column (Chris T)
* Added logging module (Jason R)
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index 983675ff..7d0f56fe 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -7,7 +7,7 @@ package LSMBConfig;
$session='DB';
$logging=0; # No logging on by default
-
+@io_lineitem_columns = qw(unit onhand sellprice discount linetotal);
1;
diff --git a/bin/io.pl b/bin/io.pl
index 263058a8..c2245c15 100755
--- a/bin/io.pl
+++ b/bin/io.pl
@@ -39,6 +39,7 @@
#######################################################################
use LedgerSMB::Tax;
+use LedgerSMB::Sysconfig;
# any custom scripts for this one
if (-f "bin/custom/io.pl") {
@@ -120,7 +121,7 @@ sub display_row {
}
- push @column_index, qw(unit onhand sellprice discount linetotal);
+ push @column_index, @{LSMBConfig::io_lineitem_columns};
my $colspan = $#column_index + 1;