summaryrefslogtreecommitdiff
path: root/bin/aa.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-05-25 18:27:28 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-05-25 18:27:28 +0000
commitdd779e7ff888ad90d0cefff239b5e77fc80d991e (patch)
tree4cea8b5691ba1bccbdbe092f1cec15527b42cefa /bin/aa.pl
parent6bff0e985bd6e56bf31184df4d5ca460d5545f34 (diff)
Fixes to per-transaction separation of duties
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2155 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/aa.pl')
-rw-r--r--bin/aa.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/aa.pl b/bin/aa.pl
index b02d69a8..9d4d5ed1 100644
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -889,6 +889,11 @@ sub form_footer {
{ ndx => 8, key => 'D', value => $locale->text('Delete') },
);
+ if ($form->{separate_duties}){
+ $button{post}->{value} = $locale->text('Save');
+ $form->hide_form('separate_duties');
+ }
+
if ( $form->{id} ) {
if ( $form->{locked} || ( $transdate && $transdate <= $closedto ) )