summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;