summaryrefslogtreecommitdiff
path: root/pos.conf.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 04:08:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 04:08:32 +0000
commit308307e013604d41e1c623e85d4c38c2c29a0597 (patch)
tree4f1dfe143d2d541826146bfcd78aee004569cd83 /pos.conf.pl
parent04fce104fb69421a95b8166750f84c184ff9d932 (diff)
Some tuning to the POS interface-- will add cc interface tomorrow.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@285 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'pos.conf.pl')
-rw-r--r--pos.conf.pl12
1 files changed, 10 insertions, 2 deletions
diff --git a/pos.conf.pl b/pos.conf.pl
index c0fa3dfa..f6190adb 100644
--- a/pos.conf.pl
+++ b/pos.conf.pl
@@ -40,6 +40,15 @@ $pos_sources{'check'} = 'Check';
$pos_sources{'cash'} = 'Cash';
$pos_sources{'gcert'} = 'Gift Cert';
+# 1 for source = memo
+# 2 for credit card handling
+%pos_source_type = {
+ visa => 2,
+ cash => 1,
+ check => 1,
+ disc => 2
+};
+
${$pos_config{'source_accno_override'}{'gcert'}} = '2105';
# Define your till accno scheme here. Current supported values are 'terminal'
# and 'cashier'
@@ -84,8 +93,7 @@ $form->{pos_sources} = \%pos_sources;
# Due to the architecture of SL, we need to use netcat to print.
# Otherwise the document gets spooled twice and this interferes with timeliness.
-%printer = (
- 'Printer' => "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}"
+%{LedgerSMB::Sysconfig::printer}{'Printer'} = "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}"
);
1;