summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pos.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index 66e6e93f..690dc741 100755
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -893,8 +893,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' );
}
@@ -907,6 +905,8 @@ sub print {
&update;
exit;
}
+ open_drawer();
+ sleep 1;
for $i ( 1 .. $rc - 1 ) {
if ( $form->{"qty_$i"} != $form->{"oldqty_$i"} ) {
&update;