diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-03-28 00:20:52 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-03-28 00:20:52 +0000 |
commit | 9941434d2690d04e04e720f26874ff349c3dc971 (patch) | |
tree | e531d59fabcfb1367330f6a3da7a6de49e91497d /scripts | |
parent | ed583d044015d3e76d52ce22dd36df7854c622da (diff) |
Correcting issues with payment:
1) paying against negative transactions causes *positive* payments
2) payment screen is corrupted on return
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2120 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/payment.pl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/payment.pl b/scripts/payment.pl index 5b56e1f3..d50eb15b 100644 --- a/scripts/payment.pl +++ b/scripts/payment.pl @@ -247,13 +247,7 @@ sub post_payments_bulk { format => 'HTML', ); } else { - $template = LedgerSMB::Template->new( - user => $request->{_user}, - locale => $request->{_locale}, - path => 'UI/payments', - template => 'payments_filter', - format => 'HTML', - ); + payments($request); } $template->render($payment); } |