diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-23 19:51:03 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-23 19:51:03 +0000 |
commit | af66021ef163a3f51895db8eb89c957d292f8997 (patch) | |
tree | 250a5a54fc24816f3e5ee730288b37047cefbb52 | |
parent | aeebfdb93c0fe6cae8346564f243bc78b4f6ec0a (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-- | 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; |