diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-02 17:35:06 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-02 17:35:06 +0000 |
commit | c1f06b98f4cbce55c14c014b12f3c127ce8d4a44 (patch) | |
tree | b5a2a0a7e741ad786329849da8aa223027a64c35 /bin | |
parent | 20c324814f67054484cb5d01669db1165812bd95 (diff) |
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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pos.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -904,8 +904,6 @@ qq|<td><input name="description_$i" size=48 value="$form->{"description_$i"}"></ sub print { - open_drawer(); - sleep 1; if ( !$form->{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; |