summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 02:23:24 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 02:23:24 +0000
commitdd6bf02ae35fdc0f1c836bb38fe93060d124d713 (patch)
treed749c4e8c304105d2b2aa593cc61eb66f467bf27
parent3a3f7e479ce9e1899065cf198002e42c5a4ea180 (diff)
Fixing errors posting transactions
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@970 4979c152-3d1c-0410-bac9-87ea11338e46
-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});