summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/pos.pl4
1 files 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|<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;