diff options
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | LedgerSMB/Sysconfig.pm | 2 | ||||
-rwxr-xr-x | bin/io.pl | 3 |
3 files changed, 4 insertions, 2 deletions
@@ -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; @@ -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; |