summaryrefslogtreecommitdiff
path: root/pos.conf.pl
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 15:47:41 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 15:47:41 +0000
commit2da98858e16ce370ece0bd79fae96b2e6312b2b5 (patch)
treed735ea7c917f3d85a2fd0f201d654a44e1c18fc7 /pos.conf.pl
parent0677b1073ce0bd78ac0ed7af57a0506f484ce0a4 (diff)
Improve l10n support in POS till closing cash breakdown.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@207 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'pos.conf.pl')
-rw-r--r--pos.conf.pl16
1 files changed, 14 insertions, 2 deletions
diff --git a/pos.conf.pl b/pos.conf.pl
index f0981aa0..c0fa3dfa 100644
--- a/pos.conf.pl
+++ b/pos.conf.pl
@@ -41,13 +41,25 @@ $pos_sources{'cash'} = 'Cash';
$pos_sources{'gcert'} = 'Gift Cert';
${$pos_config{'source_accno_override'}{'gcert'}} = '2105';
-# Define your till accno scheme here. Current supported values are 'termina'
+# Define your till accno scheme here. Current supported values are 'terminal'
# and 'cashier'
$pos_config{'till_type'} = 'cashier';
# FLAGS: 1 = projects, 2 = departments
$pos_config{'disable_tables'} = 3;
+
+# HTML for the appropriate currency symbol for your tills
+$pos_config{'curren'} = '$';
+
+# Number format to use
+$pos_config{'numberformat'} = '1,000.00';
+
+# Units of currency to use in the till closing cash breakdown relative to
+# your base unit of currency, formatted in your chosen format
+@{$pos_config{'breakdown'}} = (
+ '100', '50', '20', '10', '5', '2', '1', '0.25', '0.10', '0.05', '0.01');
+
# Stop Editing Here
if (lc($pos_config{'till_type'}) eq 'terminal'){
@@ -66,7 +78,6 @@ $pos_config{'pd_dest'}=pack(
pack('CCCC', split(/\./, $pos_config{'pd_host'}))
);
-
$form->{pos_config} = \%pos_config;
$form->{pos_sources} = \%pos_sources;
@@ -76,4 +87,5 @@ $form->{pos_sources} = \%pos_sources;
%printer = (
'Printer' => "utils/pos/directnet.pl $pos_config{rp_host} $pos_config{rp_proto} $pos_config{rp_port}"
);
+
1;