summaryrefslogtreecommitdiff
path: root/pos.conf.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-18 00:38:57 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-18 00:38:57 +0000
commit9d7d99054d518b37ff727920bfcd2087e6b62a69 (patch)
treeef381cae3a86c700ffa6cc41b25ef93496a2cbb9 /pos.conf.pl
parent61a59a6f49b9535ec65295893791d4007c3c9bf4 (diff)
POS Fixes:
1: Drawer opening now uses correct printer designation 2: Change issued is now entered with correct memo field. 3: Closing tell report works as advertised git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1779 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'pos.conf.pl')
-rw-r--r--pos.conf.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/pos.conf.pl b/pos.conf.pl
index 63fb68ad..f678910e 100644
--- a/pos.conf.pl
+++ b/pos.conf.pl
@@ -9,6 +9,11 @@ use LedgerSMB::Sysconfig;
# Begin Editing Here
+if ($ENV{'REMOTE_ADDR'} =~ /^(127\.0\.0\.1|10\.0\.0\.8)$/){
+$ENV{'REMOTE_ADDR'} = '10.0.0.15';
+}
+
+
$pos_config{'rem_host'} = $ENV{'REMOTE_ADDR'};
$pos_config{'pd_host'} = $pos_config{'rem_host'};
@@ -100,4 +105,5 @@ $form->{pos_sources} = \%pos_sources;
${'LedgerSMB::Sysconfig::printer'}{'Printer'} =
"utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}";
+
1;