diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-05-25 18:27:28 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-05-25 18:27:28 +0000 |
commit | dd779e7ff888ad90d0cefff239b5e77fc80d991e (patch) | |
tree | 4cea8b5691ba1bccbdbe092f1cec15527b42cefa /bin | |
parent | 6bff0e985bd6e56bf31184df4d5ca460d5545f34 (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')
-rw-r--r-- | bin/aa.pl | 5 | ||||
-rw-r--r-- | bin/gl.pl | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -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 ) ) @@ -1256,6 +1256,11 @@ sub form_footer { { ndx => 8, key => 'D', value => $locale->text('Delete') }, ); + if ($form->{separate_duties}){ + $form->hide_form('separate_duties'); + $button{post}->{value} = $locale->text('Save'); + } + %a = (); if ( $form->{id} ) { |