summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/aa.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/aa.pl b/bin/aa.pl
index a9c40750..e85dc8a7 100755
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -120,6 +120,13 @@ sub display_form {
sub create_links {
+ if ($form->{script} eq 'ap.pl'){
+ $form->{ARAP} = 'AP';
+ $form->{vc} = 'vendor';
+ } elsif ($form->{script} eq 'ar.pl'){
+ $form->{ARAP} = 'AR';
+ $form->{vc} = 'customer';
+ }
$form->create_links($form->{ARAP}, \%myconfig, $form->{vc});