summaryrefslogtreecommitdiff
path: root/bin/pos.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-04 20:15:17 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-04 20:15:17 +0000
commit8c0545736ca0d25bb326aec79ac5833069eabb3f (patch)
tree509bfabb788c61094b74c20f72d7fe527b6370f8 /bin/pos.pl
parent5c3a962f492011bebe096a5a4b007062152df2d7 (diff)
Removed LedgerSMB::format_fields since this should be done by the template engine
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1029 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/pos.pl')
-rw-r--r--bin/pos.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index 939ab0e0..8c28bf41 100644
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -124,8 +124,8 @@ sub add {
sub openinvoices {
- undef %column_data;
- undef %column_heading;
+ undef $column_data;
+ undef $column_heading;
$ENV{REMOTE_ADDR} =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/;
$form->{till} = $4;
@@ -139,7 +139,7 @@ sub openinvoices {
}
$form->{title} = $locale->text('Open');
- transactions;
+ &transactions;
}
@@ -582,7 +582,7 @@ sub form_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
-
+
if ($form->{partsgroup}) {
$form->{partsgroup} =~ s/\r//g;
$form->{partsgroup} = $form->quote($form->{partsgroup});