From 9d7d99054d518b37ff727920bfcd2087e6b62a69 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 18 Oct 2007 00:38:57 +0000 Subject: 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 --- bin/rc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/rc.pl') diff --git a/bin/rc.pl b/bin/rc.pl index d713b03c..8f282f57 100755 --- a/bin/rc.pl +++ b/bin/rc.pl @@ -250,7 +250,7 @@ sub till_closing { foreach $source ( sort keys %pos_sources ) { $amount = 0; foreach $ref ( @{ $form->{TB} } ) { - if ( $ref->{source} eq $source ) { + if ( $ref->{memo} eq $source ) { $amount = $ref->{amount} * -1; last; } -- cgit v1.2.3