summaryrefslogtreecommitdiff
path: root/bin/aa.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/aa.pl')
-rw-r--r--bin/aa.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/aa.pl b/bin/aa.pl
index 2124ccef..ef2bb82f 100644
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -541,10 +541,12 @@ qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|;
<input type=hidden name=title value="$title">
|;
-
+ if (!defined $form->{approved}){
+ $form->{approved} = 1;
+ }
$form->hide_form(
- qw(id printed emailed sort closedto locked oldtransdate audittrail
- recurring checktax reverse batch_id subtype)
+ qw(batch_id approved id printed emailed sort closedto locked
+ oldtransdate audittrail recurring checktax reverse batch_id subtype)
);
if ( $form->{vc} eq 'customer' ) {