From c1f06b98f4cbce55c14c014b12f3c127ce8d4a44 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 2 Nov 2007 17:35:06 +0000 Subject: Corrected POS bug-- when print and post triggers update, it also opens the drawer. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1841 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/pos.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pos.pl b/bin/pos.pl index 5d7950e9..bf00ab0b 100644 --- a/bin/pos.pl +++ b/bin/pos.pl @@ -904,8 +904,6 @@ qq|{invnumber} ) { $form->{invnumber} = $form->update_defaults( \%myconfig, 'sinumber' ); } @@ -918,6 +916,8 @@ sub print { &update; exit; } + open_drawer(); + sleep 1; for $i ( 1 .. $rc - 1 ) { if ( $form->{"qty_$i"} != $form->{"oldqty_$i"} ) { &update; -- cgit v1.2.3